Here’s another great snippet of XML that I like to add to my USMT migrations. By default USMT will migrate desktop and start menu shortcuts. This is great if you have the item installed that the shortcut is pointing to! Often in my migrations, though, the software or file that was references by the shortcut no longer exists. Yes, the user can fix this. Yes, it’s not really a big deal. But in my opinion, it just looks messy to have a bunch of invalid shortcuts lying around in the start menu and desktop. The good news is that this is an easy fix with a little bit of XML.
Use this snippet as your config.xml, or add it to your config.xml. It will prevent any shortcuts on the desktop or start menu from being migrated. Normal files will be left alone, and shortcuts reinstalled will stick around. In your scanstate/loadstate command string, reference this config XML file like so:
scanstate.exe ……. /config:config.xml /i:migapp.xml /i:miguser.xml /c /localonly……
Hi, link to config.xml is invalid now.
All fixed now. Thanks!