The best result I can had was backup and restore the shortcut which pointed to the network drive but not the shortcuts which point to a file in network drive.
And I read below:
http://blogs.technet.com/b/mniehaus/archive/2011/08/24/troubleshooting-the-user-state-migration-tool-4-0.aspx
- Known issue, you can modify MigUser.xml to remove section with IgnoreIrrelevantLinks (but then all links are retained, even invalid ones).
To backup shortcut:
Put below script before USMT step which able to backup all users' desktop shortcut files:
cd /d %windir%/../Users
for /f "delims=*" %%i in ('dir/b') DO xcopy %%i\Desktop\"*.lnk" D:\shortcuts\%%i\ /Y /B /Z /G
To restore shortcut:
Put below script at any steps after USMT which able to restore all the user's shortcut files:
cd /d %windir%/../Users
for /f "delims=*" %%i in ('dir/b') DO xcopy D:\shortcuts\%%i\*.* %%i\Desktop\ /Y /B /Z /G
Then, remember to delete the D:\shortcuts folder after the shortcut restoration step.
The scripts worked perfectly in my Win 7 migration. I am able to migrate all the shortcuts to files on network drive (NOTE: limit to User's desktop only).
No comments:
Post a Comment