You back up the user state on a client computer by using Microsoft Deployment Toolkit 2010 together with User State Migration Tool (USMT) 4.0 that is included with Windows Automated Installation Kit (AIK) for Windows 7. However, items such as mapped network drives and network printers are not migrated from the source computer.
This issue occurs because the Ztiuserstate.wsf script that is in Microsoft Deployment Toolkit 2010 uses an incorrect working directory by default.
To resolve this issue, follow these steps:
Locate the Ztiuserstate.wsf file that is located in the scripts folder that is located on the deployment share. Open this file for editing.
Locate the Ztiuserstate.wsf file that is located in the Program Files\Microsoft Deployment Toolkit\Templates\Distribution\Scripts folder that is located on the client computer. Open this file for editing.
Perform the following changes to both of the files that you have opened for editing:
Find the following two lines of code that are located at or near line 620: