Hi,
My MDT refresh task sequence failed during the User State Restore Pass (ZTIUserState.wsf) when refreshing a 3 year old install of Windows 7 x86 with a new Windows 7 x86 WIM image. I'm using MDT 2012 on Windows 2008 SP2. I think this occurred because
some user folders were deleted manually in C:\Users and not through "User Profiles" in the Advanced System Properties tab. The user folders are still on the local hard drive in C:\Windows\Temp\StateStore\USMT\File\C$\Users. My question
is, how can I complete the User State Migration?
When ZTIUserState.wsf ranI get the following error in the CCM\Logs\SMSTSLog\smsts.log:
Start executing the command line: cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /restore TSManager 5/28/2013 2:41:40 PM 2996 (0x0BB4)
!--------------------------------------------------------------------------------------------! TSManager 5/28/2013 2:41:40 PM 2996 (0x0BB4)
Expand a string: TSManager 5/28/2013 2:41:40 PM 2996 (0x0BB4)
Executing command line: cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /restore TSManager 5/28/2013 2:41:40 PM 2996 (0x0BB4)
Process completed with exit code 71 TSManager 5/28/2013 2:42:07 PM 2996 (0x0BB4)
!--------------------------------------------------------------------------------------------! TSManager 5/28/2013 2:42:07 PM 2996 (0x0BB4)
Failed to run the action: Restore User State.
No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept. (Error: 00000047; Source: Windows) TSManager 5/28/2013 2:42:07 PM 2996 (0x0BB4)
The following error was logged in C:\Windows\Temp\StateStore\USMT\File\C$\MINNIT\SMSOSD\OSDLOGS\ZTIUserState.log
------ Performing State Restore ------ ZTIUserState 5/28/2013 2:41:46 PM 0 (0x0000)
ZTI Beginning user state restore. ZTIUserState 5/28/2013 2:41:46 PM 0 (0x0000)
About to run command: cmd /c ""C:\MININT\USMT\X86\loadstate.exe" "C:\StateStore" /v:5 /c /lac /i:"C:\MININT\USMT\X86\MigApp.xml" /i:"C:\MININT\USMT\X86\Migdocs.xml" /config:"C:\MININT\USMT\X86\ZTIUserState_Config.xml"
/hardlink /nocompress /l:C:\MININT\SMSOSD\OSDLOGS\USMTrestore.log /progress:C:\MININT\SMSOSD\OSDLOGS\USMTrestore.prg > nul 2>&1" ZTIUserState 5/28/2013 2:41:46 PM 0 (0x0000)
Return code from command = 71 ZTIUserState 5/28/2013 2:42:04 PM 0 (0x0000)
ZTI ERROR - Non-zero return code from Loadstate, RC = 71 ZTIUserState 5/28/2013 2:42:04 PM 0 (0x0000)
Moving state store directory C:\StateStore to %WINDIR%\StateStore so that it does not get deleted. ZTIUserState 5/28/2013 2:42:04 PM 0 (0x0000)
ZTI USMT LOADSTATE reported 0 errors and 0 warnings. ZTIUserState 5/28/2013 2:42:04 PM 0 (0x0000)
ZTIUserState COMPLETED. Return Value = 71 ZTIUserState 5/28/2013 2:42:04 PM 0 (0x0000)