Udostępnij za pośrednictwem


When upgrading or reinstalling Windows XP to Windows 7 using USMT 4.0 to migrate system and user state, settings like Wallpaper and Network Printer mappings are not migrated.

 

Update: MDT 2010 Update 1 addresses this issue.  

 

Frank Rojas came up with much simpler idea of just adding an extra step to the task sequence, here is how:

https://blogs.technet.com/configurationmgr/archive/2010/02/10/solution-when-using-usmt-4-in-an-sccm-2007-sp2-osd-task-sequence-files-are-captured-successfully-but-not-settings.aspx

This works both for OSD by itself and MDT+OSD.

The following content is retired.

Levi Stevens describes this issue here: https://blogs.technet.com/configmgrteam/archive/2009/12/01/known-issue-migrating-from-windows-xp-to-windows-7-with-usmt-when-used-with-configmgr-2007-sp2-os-deployment-may-not-migrate-all-settings.aspx

If your are using MDT task sequences in OSD, you can take advantage of much simpler solution. Here is how:

Find ZTIUSERSTATE.WSF script in your Scripts folder in MDT package. 

Find these lines, which will be located in the ztiuserstate.wsf script at or nearline 1198 (search for "zticopyusmt.txt"):

oUtility.RunWithHeartbeat "cmd.exe/c xcopy /iesryh """ & sUSMTPath & """""" & oUtility.LocalRootPath & "\USMT" &""" 1>> " & oLogging.LogPath &"\zticopyUSMT.txt 2>>&1 "

InstallUSMT4 = oUtility.LocalRootPath& "\USMT"

Add the following line between the two lines above:

oUtility.RunWithHeartbeat "cmd.exe/c xcopy /iesryh """ & sUSMTPath &"\DlManifests"" """ &oEnv("SystemRoot") & "\system32\DlManifests" &""" 1>> " & oLogging.LogPath &"\zticopyUSMT.txt 2>>&1 "

After inserting this line, the script should contain this logic:

oUtility.RunWithHeartbeat"cmd.exe /c xcopy /iesryh """ & sUSMTPath &""" """ & oUtility.LocalRootPath &"\USMT" & """ 1>> " & oLogging.LogPath& "\zticopyUSMT.txt 2>>&1 "

oUtility.RunWithHeartbeat"cmd.exe /c xcopy /iesryh """ & sUSMTPath &"\DlManifests"" """ &oEnv("SystemRoot") & "\system32\DlManifests" &""" 1>> " & oLogging.LogPath &"\zticopyUSMT.txt 2>>&1 "

InstallUSMT4= oUtility.LocalRootPath & "\USMT" 

Update distribution points for your MDT package. 

Thank you.