huebi Posted January 4, 2013 Report post Posted January 4, 2013 Hello together, i'm getting an error by restore my captured User State like 'OSDStateStorePath' TS environment variable is empty; Failed to construct USMT commandline (0x80004005). Here is the smsts.log entry: Content successfully downloaded at C:\_SMSTaskSequence\Packages\LL90000C]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="resolvesource.cpp:3218"> <![LOG[uSMT package path = 'C:\_SMSTaskSequence\Packages\LL90000C']LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="userstateaction.cpp:561"> <![LOG[uSMT binary = ""C:\_SMSTaskSequence\Packages\LL90000C\amd64\loadstate.exe" "]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="userstateaction.cpp:601"> <![LOG[initiailization succeeded]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="userstateaction.cpp:1074"> <![LOG[sStateStorePath.empty()==false, HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdusmt\userstateaction.cpp,271)]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="0" thread="1128" file="userstateaction.cpp:271"> <![LOG['OSDStateStorePath' TS environment variable is empty]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="3" thread="1128" file="userstateaction.cpp:271"> <![LOG[buildDefaultParams(m_sDefaultParams), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdusmt\userstateaction.cpp,1106)]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="0" thread="1128" file="userstateaction.cpp:1106"> <![LOG[Failed to construct USMT commandline (0x80004005)]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="3" thread="1128" file="userstateaction.cpp:1120"> <![LOG[usmAction.BuildUSMTCommand(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdusmt\main.cpp,309)]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="0" thread="1128" file="main.cpp:309"> <![LOG[invoking ReleaseSource on USMTPackagePath C:\_SMSTaskSequence\Packages\LL90000C]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="userstateaction.cpp:1134"> <![LOG[Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\LL90000C]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="resolvesource.cpp:3527"> <![LOG[reference count 1 for the source C:\_SMSTaskSequence\Packages\LL90000C before releasing]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="resolvesource.cpp:3534"> <![LOG[Delete source directory C:\_SMSTaskSequence\Packages\LL90000C]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="resolvesource.cpp:3557"> <![LOG[Released the resolved source C:\_SMSTaskSequence\Packages\LL90000C]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="resolvesource.cpp:3567"> <![LOG[OSDMigrateUserState finished: 0x80004005]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="OSDUSMT" context="" type="1" thread="1128" file="main.cpp:440"> <![LOG[Process completed with exit code 2147500037]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="commandline.cpp:1098"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="10:20:28.337-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="instruction.cxx:3011"> <![LOG[Failed to run the action: Restore User State. Unknown error (Error: 80004005; Source: Unknown)]LOG]!><time="10:20:28.353-60" date="01-04-2013" component="TSManager" context="" type="3" thread="2460" file="instruction.cxx:3102"> <![LOG[MP server http://sccm.dom. Ports 80,443. CRL=false.]LOG]!><time="10:20:28.353-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="utils.cpp:4855"> <![LOG[setting authenticator]LOG]!><time="10:20:28.353-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="utils.cpp:4877"> <![LOG[set authenticator in transport]LOG]!><time="10:20:28.353-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="libsmsmessaging.cpp:7592"> <![LOG[sending StatusMessage]LOG]!><time="10:20:28.369-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="libsmsmessaging.cpp:4020"> <![LOG[setting message signatures.]LOG]!><time="10:20:28.369-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="libsmsmessaging.cpp:1292"> <![LOG[setting the authenticator.]LOG]!><time="10:20:28.369-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="libsmsmessaging.cpp:1322"> <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: sccm.dom:80 CCM_POST /ccm_system/request]LOG]!><time="10:20:28.369-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="libsmsmessaging.cpp:8422"> <![LOG[Request was succesful.]LOG]!><time="10:20:28.384-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="libsmsmessaging.cpp:8758"> <![LOG[set a global environment variable _SMSTSLastActionRetCode=-2147467259]LOG]!><time="10:20:28.384-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="executionenv.cxx:668"> <![LOG[set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="10:20:28.400-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="executionenv.cxx:668"> <![LOG[Clear local default environment]LOG]!><time="10:20:28.400-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="executionenv.cxx:807"> <![LOG[Let the parent group (Restore User State) decides whether to continue execution]LOG]!><time="10:20:28.400-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="instruction.cxx:3211"> <![LOG[Let the parent group (Installation) decide whether to continue execution]LOG]!><time="10:20:28.400-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="instruction.cxx:2462"> <![LOG[The execution of the group (Installation) has failed and the execution has been aborted. An action failed. Unknown error (Error: 80004004; Source: Unknown)]LOG]!><time="10:20:28.400-60" date="01-04-2013" component="TSManager" context="" type="3" thread="2460" file="instruction.cxx:2425"> <![LOG[Failed to run the last action: Restore User State. Execution of task sequence failed. Unknown error (Error: 80004005; Source: Unknown)]LOG]!><time="10:20:28.400-60" date="01-04-2013" component="TSManager" context="" type="3" thread="2460" file="engine.cxx:214"> <![LOG[MP server http://sccm.dom. Ports 80,443. CRL=false.]LOG]!><time="10:20:28.400-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="utils.cpp:4855"> <![LOG[setting authenticator]LOG]!><time="10:20:28.400-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="utils.cpp:4877"> <![LOG[set authenticator in transport]LOG]!><time="10:20:28.400-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="libsmsmessaging.cpp:7592"> <![LOG[sending StatusMessage]LOG]!><time="10:20:28.415-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="libsmsmessaging.cpp:4020"> <![LOG[setting message signatures.]LOG]!><time="10:20:28.415-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="libsmsmessaging.cpp:1292"> <![LOG[setting the authenticator.]LOG]!><time="10:20:28.415-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="libsmsmessaging.cpp:1322"> <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: sccm.dom:80 CCM_POST /ccm_system/request]LOG]!><time="10:20:28.415-60" date="01-04-2013" component="TSManager" context="" type="1" thread="2460" file="libsmsmessaging.cpp:8422"> <![LOG[Request was succesful.]LOG]!><time="10:20:28.431-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="libsmsmessaging.cpp:8758"> <![LOG[Launching command shell.]LOG]!><time="10:21:22.735-60" date="01-04-2013" component="OSDSetupHook" context="" type="1" thread="2136" file="debugwindow.cpp:202"> <![LOG[Windows station: WinSta0]LOG]!><time="10:21:22.735-60" date="01-04-2013" component="OSDSetupHook" context="" type="1" thread="2136" file="utils.cpp:43"> <![LOG[Desktop: Default]LOG]!><time="10:21:22.735-60" date="01-04-2013" component="OSDSetupHook" context="" type="1" thread="2136" file="utils.cpp:62"> <![LOG[executing command: C:\Windows\system32\cmd.exe /k]LOG]!><time="10:21:22.735-60" date="01-04-2013" component="OSDSetupHook" context="" type="1" thread="2136" file="debugwindow.cpp:63"> <![LOG[executed command: C:\Windows\system32\cmd.exe /k]LOG]!><time="10:21:22.735-60" date="01-04-2013" component="OSDSetupHook" context="" type="1" thread="2136" file="debugwindow.cpp:80"> <![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,756)]LOG]!><time="10:21:23.140-60" date="01-04-2013" component="TSManager" context="" type="0" thread="2460" file="tsmanager.cpp:756"> <![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="10:21:23.140-60" date="01-04-2013 Did anyone knows this problem? Thanks in Advance. Huebi Quote Share this post Link to post Share on other sites More sharing options...