USMT Failure 0x00004005
Please see the following thread and you will find the logs. http://social.technet.microsoft.com/Forums/en-US/configmgrosd/thread/50ea1376-754a-4bb0-86c3-853724b00ff8/Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
February 26th, 2011 7:50am

Hi, i tried to run a task sequence. this sequence works perfect without USMT. when i use USMT 4 i get a error message after one minute saying error code 0x00004005 during the running action: Release User State Storage. I tried different things but nothing helped.. See the smsts.log attatched Maybe some of you can help me Andy USMT package path = 'C:\_SMSTaskSequence\Packages\CMS0006A' OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) Initiailization succeeded OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) Building Default USMT params successful OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) Adding config files to user params successful OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) Building user defined params successful OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) Building USMT command successful OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) Successfully connected to "\\SCCM.CMSLEGAL.LOCAL\SMPSTOREC_2ADED929$\57745F80FCA34A250783A893065482B4F347C69EC44552C9CEFDBDA3ECB3F6BB" OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) Executing command line: "C:\_SMSTaskSequence\Packages\CMS0006A\scanstate.exe" "\\SCCM.CMSLEGAL.LOCAL\SMPSTOREC_2ADED929$\57745F80FCA34A250783A893065482B4F347C69EC44552C9CEFDBDA3ECB3F6BB" /o /localonly /encrypt /key:*** /c /efs:copyraw /all /l:"C:\Windows\system32\CCM\Logs\SMSTSLog\scanstate.log" /progress:"C:\Windows\system32\CCM\Logs\SMSTSLog\scanstateprogress.log" /i:"C:\_SMSTaskSequence\Packages\CMS0006A\x86\miguser.xml" /i:"C:\_SMSTaskSequence\Packages\CMS0006A\x86\migapp.xml" OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) CreateProcess failed. Code(0x800700D8) OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) Command line execution failed (800700D8) OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) Invoking ReleaseSource on USMTPackagePath C:\_SMSTaskSequence\Packages\CMS0006A OSDUSMT 21.02.2011 11:16:53 2920 (0x0B68) OSDMigrateUserState finished: 0x800700d8 OSDUSMT 21.02.2011 11:16:54 2920 (0x0B68) Process completed with exit code 2147942616 TSManager 21.02.2011 11:16:54 1604 (0x0644) !--------------------------------------------------------------------------------------------! TSManager 21.02.2011 11:16:54 1604 (0x0644) Failed to run the action: Capture User Files and Settings. Unknown error (Error: 800700D8; Source: Unknown) TSManager 21.02.2011 11:16:54 1604 (0x0644) Sending status message . . . TSManager 21.02.2011 11:16:54 1604 (0x0644) Send a task execution status message SMS_TSExecution_ActionFailError TSManager 21.02.2011 11:16:54 1604 (0x0644) Formatted header: TSManager 21.02.2011 11:16:54 1604 (0x0644) <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:4C6CBF61-3D5D-46CB-A8BB-201BD67C6E45</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2011-02-21T10:16:54Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="4288"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> TSManager 21.02.2011 11:16:54 1604 (0x0644) Set a global environment variable _SMSTSLastActionRetCode=-2147024680 TSManager 21.02.2011 11:16:54 1604 (0x0644) Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 21.02.2011 11:16:54 1604 (0x0644) Clear local default environment TSManager 21.02.2011 11:16:54 1604 (0x0644) The execution engine ignored the failure of the action (Capture User Files and Settings) and continues execution TSManager 21.02.2011 11:16:54 1604 (0x0644) Sending status message . . . TSManager 21.02.2011 11:16:54 1604 (0x0644) Send a task execution status message SMS_TSExecution_ActionIgnoreFailureWarning TSManager 21.02.2011 11:16:54 1604 (0x0644) Formatted header: TSManager 21.02.2011 11:16:54 1604 (0x0644) <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:4C6CBF61-3D5D-46CB-A8BB-201BD67C6E45</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2011-02-21T10:16:54Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2234"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> TSManager 21.02.2011 11:16:54 1604 (0x0644) Updated security on object C:\_SMSTaskSequence. TSManager 21.02.2011 11:16:54 1604 (0x0644) Set a global environment variable _SMSTSNextInstructionPointer=6 TSManager 21.02.2011 11:16:54 1604 (0x0644) Set a TS execution environment variable _SMSTSNextInstructionPointer=6 TSManager 21.02.2011 11:16:54 1604 (0x0644) Set a global environment variable _SMSTSInstructionStackString=0 3 TSManager 21.02.2011 11:16:54 1604 (0x0644) Set a TS execution environment variable _SMSTSInstructionStackString=0 3 TSManager 21.02.2011 11:16:54 1604 (0x0644) Save the current environment block TSManager 21.02.2011 11:16:54 1604 (0x0644) Start executing an instruciton. Instruction name: Release User State Storage. Instruction pointer: 6 TSManager 21.02.2011 11:16:54 1604 (0x0644) Set a global environment variable _SMSTSCurrentActionName=Release User State Storage TSManager 21.02.2011 11:16:54 1604 (0x0644) Set a global environment variable _SMSTSNextInstructionPointer=6 TSManager 21.02.2011 11:16:54 1604 (0x0644) Set a global environment variable _SMSTSLogPath=C:\Windows\system32\CCM\Logs\SMSTSLog TSManager 21.02.2011 11:16:54 1604 (0x0644) Expand a string: osdsmpclient.exe /release TSManager 21.02.2011 11:16:54 1604 (0x0644) Expand a string: TSManager 21.02.2011 11:16:54 1604 (0x0644) Start executing the command line: osdsmpclient.exe /release TSManager 21.02.2011 11:16:54 1604 (0x0644) !--------------------------------------------------------------------------------------------! TSManager 21.02.2011 11:16:54 1604 (0x0644) Expand a string: FullOS TSManager 21.02.2011 11:16:54 1604 (0x0644) Executing command line: osdsmpclient.exe /release TSManager 21.02.2011 11:16:54 1604 (0x0644) ==============================[ OSDSMPClient.exe ]============================== OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Command line: "osdsmpclient.exe" /release OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Contacting available state migration points to service RestoreStatus request OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Client joined to the CMSLEGAL domain. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Client is a member of the Wien site. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) GetAdaptersAddressess entry point is supported. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) DhcpGetOriginalSubnetMask entry point is supported. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Adapter {C71C66A2-28BA-4CC1-95A4-4BB5C99C12BF} is DHCP enabled. Checking quarantine status. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Loading client certificates. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Requesting public key information from SCCM.CMSLEGAL.LOCAL:80. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Received 1370 byte response. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Verifying certificate signature. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Failed to verify signature using SHA1, defaulting to MD5.. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Signature matches OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Successfuly retrieved public key and verified signature. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Sending SMP request to SCCM.CMSLEGAL.LOCAL:80. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Received 2609 byte response. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Found state migration point 'SCCM.CMSLEGAL.LOCAL' to serve request. OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) The previous step (either capture or restore user state) has failed, so marking the current action as failed too OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) OSDSMPClient finished: 0x00004005 OSDSMPClient 21.02.2011 11:16:54 1988 (0x07C4) Process completed with exit code 16389 TSManager 21.02.2011 11:16:54 1604 (0x0644) !--------------------------------------------------------------------------------------------! TSManager 21.02.2011 11:16:55 1604 (0x0644) Failed to run the action: Release User State Storage. Unknown error (Error: 00004005; Source: Unknown) TSManager 21.02.2011 11:16:55 1604 (0x0644) Sending status message . . . TSManager 21.02.2011 11:16:55 1604 (0x0644) Send a task execution status message SMS_TSExecution_ActionFailError TSManager 21.02.2011 11:16:55 1604 (0x0644) Formatted header: TSManager 21.02.2011 11:16:55 1604 (0x0644) <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:4C6CBF61-3D5D-46CB-A8BB-201BD67C6E45</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2011-02-21T10:16:55Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="4258"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> TSManager 21.02.2011 11:16:55 1604 (0x0644) Set a global environment variable _SMSTSLastActionRetCode=16389 TSManager 21.02.2011 11:16:55 1604 (0x0644) Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 21.02.2011 11:16:55 1604 (0x0644) Clear local default environment TSManager 21.02.2011 11:16:55 1604 (0x0644) Let the parent group (Capture User Files and Settings) decides whether to continue execution TSManager 21.02.2011 11:16:55 1604 (0x0644) Let the parent group (Capture Files and Settings) decide whether to continue execution TSManager 21.02.2011 11:16:55 1604 (0x0644) The execution of the group (Capture Files and Settings) has failed and the execution has been aborted. An action failed. Unknown error (Error: 80004004; Source: Unknown) TSManager 21.02.2011 11:16:55 1604 (0x0644) Failed to run the last action: Release User State Storage. Execution of task sequence failed. Unknown error (Error: 00004005; Source: Unknown) TSManager 21.02.2011 11:16:55 1604 (0x0644) Sending status message . . . TSManager 21.02.2011 11:16:55 1604 (0x0644) Send a task execution status message SMS_TSExecution_TaskSequenceFailError TSManager 21.02.2011 11:16:55 1604 (0x0644) Formatted header: TSManager 21.02.2011 11:16:55 1604 (0x0644) <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:4C6CBF61-3D5D-46CB-A8BB-201BD67C6E45</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2011-02-21T10:16:55Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2116"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> TSManager 21.02.2011 11:16:55 1604 (0x0644)
Free Windows Admin Tool Kit Click here and download it now
February 26th, 2011 8:10am

Hi, can you tell me where i find those log files? Thanks Andy
February 26th, 2011 8:16am

Hello - May be, you can verify scanstate.log & scanstateprogress.log for more details. Also, This topic discusses Windows® User State Migration Tool (USMT) 4.0 return codes and error messages, and it provides a table listing the most common return codes, with their associated mitigation steps, encountered in log files. http://technet.microsoft.com/en-us/library/dd823291(WS.10).aspx Anoop C Nair
Free Windows Admin Tool Kit Click here and download it now
February 26th, 2011 8:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics