Share via


SCCM 2012 OSD Task Sequence 0x80091007

Question

Thursday, July 20, 2017 4:29 PM

Hi Guys
I'm running SCCM lab on VSphere I've created a TS with MDT but I keep getting this error every time 0x80091007, I've checked my network access account, I've re-added my Packages through MDT and distributed to my DP but still no luck. any I idea I can attach my smtslog as well.

All replies (5)

Thursday, July 20, 2017 4:55 PM

<![LOG[ZTI deployment failed, Return Code = -2146889721  0x80091007]LOG]!><time="16:00:16.488-60" date="07-20-2017" component="InstallSoftware" context="" type="1" thread="524" file="runcommandline.cpp:34">
<![LOG[Command line cscript "E:\SMSTaskSequence\WDPackage\scripts\ztierrormsg.wsf" returned 2148077575]LOG]!><time="16:00:16.488-60" date="07-20-2017" component="InstallSoftware" context="" type="1" thread="524" file="runcommandline.cpp:572">
<![LOG[Process completed with exit code 2148077575]LOG]!><time="16:00:16.504-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="commandline.cpp:1124">
<![LOG[!!]LOG]!><time="16:00:16.504-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="instruction.cxx:814">
<![LOG[Failed to run the action: Error in the task sequence.
The hash value is not correct. (Error: 80091007; Source: Windows)]LOG]!><time="16:00:16.504-60" date="07-20-2017" component="TSManager" context="" type="3" thread="1376" file="instruction.cxx:921">
<![LOG[MP server http://SCCM-01.SyzygyTemp.local. Ports 80,443. CRL=false.]LOG]!><time="16:00:16.520-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="utils.cpp:6255">
<![LOG[Setting authenticator]LOG]!><time="16:00:16.535-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="utils.cpp:6277">
<![LOG[Set authenticator in transport]LOG]!><time="16:00:16.535-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:7916">
<![LOG[Sending StatusMessage]LOG]!><time="16:00:16.551-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="libsmsmessaging.cpp:4108">
<![LOG[Setting message signatures.]LOG]!><time="16:00:16.566-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:1380">
<![LOG[Setting the authenticator.]LOG]!><time="16:00:16.566-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:1410">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: SCCM-01.SyzygyTemp.local:80  CCM_POST /ccm_system/request]LOG]!><time="16:00:16.566-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="libsmsmessaging.cpp:8786">
<![LOG[Request was successful.]LOG]!><time="16:00:16.598-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:9121">
<![LOG[Set a global environment variable _SMSTSLastActionRetCode=-2146889721]LOG]!><time="16:00:16.598-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="executionenv.cxx:662">
<![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="16:00:16.598-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="executionenv.cxx:662">
<![LOG[Clear local default environment]LOG]!><time="16:00:16.598-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="executionenv.cxx:801">
<![LOG[Let the parent group (Gather Logs and StateStore on Failure) decides whether to continue execution]LOG]!><time="16:00:16.613-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="instruction.cxx:1033">
<![LOG[The execution of the group (Gather Logs and StateStore on Failure) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="16:00:16.613-60" date="07-20-2017" component="TSManager" context="" type="3" thread="1376" file="instruction.cxx:221">
<![LOG[Failed to run the last action: Error in the task sequence. Execution of task sequence failed.
The hash value is not correct. (Error: 80091007; Source: Windows)]LOG]!><time="16:00:16.613-60" date="07-20-2017" component="TSManager" context="" type="3" thread="1376" file="engine.cxx:246">
<![LOG[MP server http://SCCM-01.SyzygyTemp.local. Ports 80,443. CRL=false.]LOG]!><time="16:00:16.613-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="utils.cpp:6255">
<![LOG[Setting authenticator]LOG]!><time="16:00:16.629-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="utils.cpp:6277">
<![LOG[Set authenticator in transport]LOG]!><time="16:00:16.629-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:7916">
<![LOG[Sending StatusMessage]LOG]!><time="16:00:16.660-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="libsmsmessaging.cpp:4108">
<![LOG[Setting message signatures.]LOG]!><time="16:00:16.660-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:1380">
<![LOG[Setting the authenticator.]LOG]!><time="16:00:16.660-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:1410">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: SCCM-01.SyzygyTemp.local:80  CCM_POST /ccm_system/request]LOG]!><time="16:00:16.660-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="libsmsmessaging.cpp:8786">
<![LOG[Request was successful.]LOG]!><time="16:00:16.691-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:9121">
<![LOG[Executing command line: X:\WINDOWS\system32\cmd.exe /k]LOG]!><time="16:00:25.270-60" date="07-20-2017" component="TSBootShell" context="" type="1" thread="888" file="bootshell.cpp:1011">
<![LOG[The command completed successfully.]LOG]!><time="16:00:25.270-60" date="07-20-2017" component="TSBootShell" context="" type="1" thread="888" file="bootshell.cpp:1093">
<![LOG[Successfully launched command shell.]LOG]!><time="16:00:25.270-60" date="07-20-2017" component="TSBootShell" context="" type="1" thread="888" file="bootshell.cpp:444">
<![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,1240)]LOG]!><time="16:01:37.957-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="tsmanager.cpp:1240">
<![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="16:01:37.957-60" date="07-20-2017" component="TSManager" context="" type="3" thread="1376" file="tsmanager.cpp:1240">
<![LOG[****************************************************************************]LOG]!><time="16:01:37.957-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="tsmanager.cpp:1268">
<![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="16:01:37.957-60" date="07-20-2017" component="TSManager" context="" type="3" thread="1376" file="tsmanager.cpp:1269">
<![LOG[Cleaning Up.]LOG]!><time="16:01:37.957-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="tsmanager.cpp:790">
<![LOG[Removing Authenticator]LOG]!><time="16:01:37.973-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="tsmanager.cpp:904">
<![LOG[shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\ccmutillib\ccmutillib.cpp,1782)]LOG]!><time="16:01:37.973-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="ccmutillib.cpp:1782">
<![LOG[Cleaning up task sequence folder]LOG]!><time="16:01:37.973-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="utils.cpp:2677">
<![LOG[Unable to delete file E:\SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="16:01:38.988-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="ccmfile.cpp:1086">
<![LOG[hr, HRESULT=80070091 (e:\cm1606_rtm\sms\framework\core\ccmcore\ccmfile.cpp,1250)]LOG]!><time="16:01:39.113-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="ccmfile.cpp:1250">
<![LOG[Failed to delete directory 'E:\SMSTaskSequence']LOG]!><time="16:01:39.113-60" date="07-20-2017" component="TSManager" context="" type="2" thread="1376" file="ccmfile.cpp:1250">
<![LOG[(dwRet = ::SetNamedSecurityInfoW ((WCHAR*) pszObjectName, objectType, OWNER_SECURITY_INFORMATION, pOwnerSID, NULL, NULL, NULL)) == ERROR_SUCCESS, HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,7055)]LOG]!><time="16:01:39.113-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="utils.cpp:7055">
<![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="3" thread="1376" file="utils.cpp:7055">
<![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="3" thread="1376" file="utils.cpp:7067">
<![LOG[SetObjectOwner (szFName, SE_FILE_OBJECT, c_szAdministrators), HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,7152)]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="utils.cpp:7152">
<![LOG[RemoveFile() failed for E:\SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="3" thread="1376" file="utils.cpp:7196">
<![LOG[RemoveDirectoryW failed (0x80070091) for E:\SMSTaskSequence]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="2" thread="1376" file="utils.cpp:7280">
<![LOG[Deleting volume ID file C:\SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="resolvesource.cpp:517">
<![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,519)]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="resolvesource.cpp:519">
<![LOG[Deleting volume ID file E:\SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="resolvesource.cpp:517">
<![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,519)]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="resolvesource.cpp:519">
<![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="environmentlib.cpp:960">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="commandline.cpp:229">
<![LOG[Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="commandline.cpp:732">
<![LOG[Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="16:01:39.129-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="commandline.cpp:828">
<![LOG[==========[ TsProgressUI started in process 1420 ]==========]LOG]!><time="16:01:39.176-60" date="07-20-2017" component="TsProgressUI" context="" type="1" thread="1340" file="winmain.cpp:330">
<![LOG[Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="16:01:39.176-60" date="07-20-2017" component="TsProgressUI" context="" type="0" thread="1340" file="winmain.cpp:332">
<![LOG[Unregistering COM classes]LOG]!><time="16:01:39.176-60" date="07-20-2017" component="TsProgressUI" context="" type="1" thread="1340" file="winmain.cpp:204">
<![LOG[Unregistering class objects]LOG]!><time="16:01:39.192-60" date="07-20-2017" component="TsProgressUI" context="" type="1" thread="1340" file="winmain.cpp:495">
<![LOG[Shutdown complete.]LOG]!><time="16:01:39.192-60" date="07-20-2017" component="TsProgressUI" context="" type="1" thread="1340" file="winmain.cpp:512">
<![LOG[Process completed with exit code 0]LOG]!><time="16:01:39.192-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="commandline.cpp:1124">
<![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="16:01:39.192-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="utils.cpp:3251">
<![LOG[g_TSManager.Run(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,1016)]LOG]!><time="16:01:39.192-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="tsmanager.cpp:1016">
<![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,830)]LOG]!><time="16:01:39.207-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="utils.cpp:830">
<![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="16:01:39.207-60" date="07-20-2017" component="TSManager" context="" type="2" thread="1376" file="utils.cpp:830">
<![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="16:01:39.207-60" date="07-20-2017" component="TSManager" context="" type="2" thread="1376" file="utils.cpp:861">
<![LOG[End program: ]LOG]!><time="16:01:39.207-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="tsmanager.cpp:1055">
<![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="16:01:39.207-60" date="07-20-2017" component="TSManager" context="" type="3" thread="1376" file="tsmanager.cpp:1059">
<![LOG[Sending error status message]LOG]!><time="16:01:39.207-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="tsmanager.cpp:1060">
<![LOG[MP server http://SCCM-01.SyzygyTemp.local. Ports 80,443. CRL=false.]LOG]!><time="16:01:39.207-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="utils.cpp:6255">
<![LOG[Setting authenticator]LOG]!><time="16:01:39.223-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="utils.cpp:6277">
<![LOG[Set authenticator in transport]LOG]!><time="16:01:39.223-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:7916">
<![LOG[Sending StatusMessage]LOG]!><time="16:01:39.285-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="libsmsmessaging.cpp:4108">
<![LOG[Setting message signatures.]LOG]!><time="16:01:39.285-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:1380">
<![LOG[Setting the authenticator.]LOG]!><time="16:01:39.285-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:1410">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: SCCM-01.SyzygyTemp.local:80  CCM_POST /ccm_system/request]LOG]!><time="16:01:39.285-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="libsmsmessaging.cpp:8786">
<![LOG[Request was successful.]LOG]!><time="16:01:39.348-60" date="07-20-2017" component="TSManager" context="" type="0" thread="1376" file="libsmsmessaging.cpp:9121">
<![LOG[Finalize logging request ignored from process 1372]LOG]!><time="16:01:39.348-60" date="07-20-2017" component="TSManager" context="" type="1" thread="1376" file="tslogging.cpp:2106">
<![LOG[Process completed with exit code 2147500037]LOG]!><time="16:01:39.426-60" date="07-20-2017" component="TSPxe" context="" type="1" thread="1348" file="commandline.cpp:1124">
<![LOG[Task Sequence Manager returned code 0x80004005]LOG]!><time="16:01:39.426-60" date="07-20-2017" component="TSPxe" context="" type="1" thread="1348" file="tsmediawizardcontrol.cpp:2068">
<![LOG[ThreadToResolveAndExecuteTaskSequence returned code 0x00000000]LOG]!><time="16:01:39.426-60" date="07-20-2017" component="TSPxe" context="" type="1" thread="1176" file="tsmediaresolveprogresspage.cpp:221">
<![LOG[ResolveProgressPage::OnWizardNext()]LOG]!><time="16:01:39.426-60" date="07-20-2017" component="TSPxe" context="" type="0" thread="1176" file="tsmediaresolveprogresspage.cpp:113">
<![LOG[Activating Finish Page.]LOG]!><time="16:01:39.426-60" date="07-20-2017" component="TSPxe" context="" type="0" thread="1176" file="tsmediafinishpage.cpp:107">
<![LOG[Exiting with return code 0x00000000]LOG]!><time="16:01:39.442-60" date="07-20-2017" component="TSPxe" context="" type="1" thread="1176" file="tsmbootstrap.cpp:1270">
<![LOG[Execution complete.]LOG]!><time="16:01:39.488-60" date="07-20-2017" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:844">
<![LOG[hMap != 0, HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentscope.cpp,493)]LOG]!><time="16:01:39.504-60" date="07-20-2017" component="TSBootShell" context="" type="0" thread="908" file="environmentscope.cpp:493">
<![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentlib.cpp,335)]LOG]!><time="16:01:39.504-60" date="07-20-2017" component="TSBootShell" context="" type="0" thread="908" file="environmentlib.cpp:335">
<![LOG[this->open(), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentlib.cpp,561)]LOG]!><time="16:01:39.504-60" date="07-20-2017" component="TSBootShell" context="" type="0" thread="908" file="environmentlib.cpp:561">
<![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,830)]LOG]!><time="16:01:39.504-60" date="07-20-2017" component="TSBootShell" context="" type="0" thread="908" file="utils.cpp:830">
<![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="16:01:39.504-60" date="07-20-2017" component="TSBootShell" context="" type="2" thread="908" file="utils.cpp:830">
<![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="16:01:39.504-60" date="07-20-2017" component="TSBootShell" context="" type="2" thread="908" file="utils.cpp:861">
<![LOG[End program: ]LOG]!><time="16:01:39.504-60" date="07-20-2017" component="TSBootShell" context="" type="1" thread="908" file="bootshell.cpp:876">
<![LOG[Finalizing logging from process 884]LOG]!><time="16:01:39.504-60" date="07-20-2017" component="TSBootShell" context="" type="1" thread="908" file="tslogging.cpp:2110">
<![LOG[Finalizing logs to root of first available drive]LOG]!><time="16:01:39.504-60" date="07-20-2017" component="TSBootShell" context="" type="1" thread="908" file="tslogging.cpp:1952">
<![LOG[LOGGING: Setting log directory to "E:\SMSTSLog".]LOG]!><time="16:01:39.551-60" date="07-20-2017" component="TSBootShell" context="" type="1" thread="908" file="tslogging.cpp:2180">


Saturday, July 22, 2017 10:27 AM

Hi Dbz100 

I saw the below error in the TS logs

Failed to run the last action: Error in the task sequence. Execution of task sequence failed.
The hash value is not correct. (Error: 80091007; Source: Windows)

This happend to me before because the OSD image didn't match the version on the DP. To fix this I had to update the package from the SCCM console.  I dont see any refrence to the specific pacakge in the logs is this the full SMSTSlog. 


Saturday, July 22, 2017 2:49 PM

Thanks Geoff.phillis 

That actually fixed it, I noticed I hadn't updated the nic driver to my DP silly mistake on my part thanks mate.


Saturday, July 22, 2017 4:21 PM

No problem glad you got the issue fixed. 


Saturday, July 22, 2017 6:45 PM

Hi,

I always use the content library explorer when I change something and I want to be sure everything is updated as expected before the next test. You can also validate the content with it.

Here you can have an overview if yo don't know it.

https://www.anoopcnair.com/configmgr-sccm-2012-r2-tool-contcontentlibraryexplorerent-library-explorer/

BR