User State Migration Tool (USMT) scanstate deletes two "Send to" right-click mouse options in Windows Vista and later


Symptoms


User State Migration Tool (USMT) scanstate.exe deletes two "Send to" right-click mouse options when executed on Windows Vista or later operating systems.  "Send to" options for "Desktop (create shortcut)" and "Desktop (Mail Recipient)" are affected.

Cause


USMT scanstate calls an older migration API during scanstate, which deletes two "send to" link when determining "Send to" registry location.

Resolution


To work around the issue, you can use the Fix it solution or any of the methods under Let me fix it myself:

Fix it for me

To fix this problem automatically, click the Fix this problem link. Then, click Run in the File Download dialog box and follow the steps in this wizard.

Microsoft Fix it
Fix this problem
Microsoft Fix it 50567

Note this automatic fix works for all languages, however for some languages the wizard text may be in English.

Let me fix it myself

To fix this problem yourself, choose one of the following solutions:
  1. Mark two the two files read only prior to running scanstate.exe
    • "%AppData%\Microsoft\Windows\SendTo\Desktop (create shortcut).DeskLink"
    • "%AppData%\Microsoft\Windows\SendTo\Mail Recipient.MAPIMail"

    OR
  2. After scanstate, copy above two files from default profile path located in "%SystemDrive%\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo"

    OR
  3. After scanstate, recreate the two files by running the following:
    "echo desktop >  "%AppData%\Microsoft\Windows\SendTo\Desktop (create shortcut).DeskLink""
    "echo mail > "%AppData%\Microsoft\Windows\SendTo\Mail Recipient.MAPIMail""

    OR
  4. Run a script with following content:
    if not exist "%appdata%\Microsoft\Windows\SendTo\Desktop (create shortcut).DeskLink" (
    echo Desktop > "%appdata%\Microsoft\Windows\SendTo\Desktop (create shortcut).DeskLink")
    if not exist "%appdata%\Microsoft\Windows\SendTo\Mail Recipient.MAPIMail" (
    echo Mail > "%appdata%\Microsoft\Windows\SendTo\Mail Recipient.MAPIMail"
    )

More Information


The content in this article also applies to Windows Easy Transfer (WET) when executed on Windows Vista or later operating systems.