Tuesday, October 1, 2013

Step:1.14: USMT – State restore for Rebuild


We will be restoring the user data and settings which were captured in State store Rebuild step.
Create a new group USMT – State Restore for Rebuild same level as USMT – State Restore for Migration step.
USMT – State Restore for Rebuild  will be initiated when following conditions are met;
Add Set Task Sequence Variable step then re-name it to Additional Restore Options;
                  Task Sequence Variable:  OSDMigrateAdditionalRestoreOptions
                  Value:  /nocompress /hardlink /ue:%computername%\*

 Add Restore User State step; Then add User state Migration tool package which we have created in State Store Migration or Rebuild step.
 
Select Customize how user profiles are restored, Select a configuration file by clicking click here to select configuration files then add miguser.xml file.

 We can also select;
Continue I some files cannot be restored and
Enable verbose logging

Add Restart Computer step then choose “The currently installed default operating system”.


After using Restore User State step, C:\USMTOffline location will be left alone on root of the C drive (This folder was created as part of the USMT state capture). To delete the USMTOffline  folder we need to use USMTUtil utility, which is part of the USMT.

Add Run Command Line step, Rename it to Copy USMT Source, and on the command line add
xcopy %_SMSTSLAB00028%* %systemdrive%\USMTSource\ /herciy (replace the package ID to the correct package), then browse to the USMT package which we have created earlier.


Add another Run Command Line and rename it to RUN USMTUtil.
On the command line
cmd.exe /c echo Y | usmtutils.exe  /rd C:\USMTOffline
On Start in;
                %systemdrive%\USMTSource\amd64
On package;
Browse to USMT package which was created earlier
 
Add Restart Computer step then choose “The currently installed default operating system”.


Click here for complete list of tasks for SCCM OSD All in one task sequence.
Click here for SCCM OSD All in one task sequence Visio diagram.

No comments:

Post a Comment