Quantcast
Channel: Configuration Manager 2012 - Operating System Deployment forum
Viewing all articles
Browse latest Browse all 9126

0x80004005 and 0x80070002

$
0
0

Hello,

I am having an issue since upgrading to SCCM 2012 R2 with OSD. The deployments are working okay but I can no loner capture a new image. The task sequence gets to Setup Windows and ConfigMgr and fails with error code 0x80004005. I have made sure the OSDPreserveDriveLetter=False is set. I have redone the PE boot images with the necessary drivers (storage and network). Any help would be appreciated. The smsts log shows the following;

<![LOG[****************************************************************************]LOG]!><time="15:51:35.762+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="tsmanager.cpp:953">
<![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="15:51:35.762+420" date="03-20-2014" component="TSManager" context="" type="3" thread="688" file="tsmanager.cpp:954">
<![LOG[Cleaning Up.]LOG]!><time="15:51:35.762+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="tsmanager.cpp:675">
<![LOG[Removing Authenticator]LOG]!><time="15:51:35.762+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="tsmanager.cpp:686">
<![LOG[shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\ccmutillib\ccmutillib.cpp,1660)]LOG]!><time="15:51:35.762+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="ccmutillib.cpp:1660">
<![LOG[Cleaning up task sequence folder]LOG]!><time="15:51:35.762+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="utils.cpp:2329">
<![LOG[Unable to delete file C:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="15:51:36.716+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="ccmfile.cpp:1056">
<![LOG[hr, HRESULT=80070091 (e:\nts_sccm_release\sms\framework\core\ccmcore\ccmfile.cpp,1218)]LOG]!><time="15:51:36.809+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="ccmfile.cpp:1218">
<![LOG[Failed to delete directory 'C:\_SMSTaskSequence']LOG]!><time="15:51:36.809+420" date="03-20-2014" component="TSManager" context="" type="2" thread="688" file="ccmfile.cpp:1218">
<![LOG[(dwRet = ::SetNamedSecurityInfoW ((WCHAR*) pszObjectName, objectType, OWNER_SECURITY_INFORMATION, pOwnerSID, NULL, NULL, NULL)) == ERROR_SUCCESS, HRESULT=80070005 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,6675)]LOG]!><time="15:51:36.809+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="utils.cpp:6675">
<![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="15:51:36.809+420" date="03-20-2014" component="TSManager" context="" type="3" thread="688" file="utils.cpp:6675">
<![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="15:51:36.809+420" date="03-20-2014" component="TSManager" context="" type="3" thread="688" file="utils.cpp:6687">
<![LOG[SetObjectOwner (szFName, SE_FILE_OBJECT, c_szAdministrators), HRESULT=80070005 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,6772)]LOG]!><time="15:51:36.809+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="utils.cpp:6772">
<![LOG[RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="15:51:36.809+420" date="03-20-2014" component="TSManager" context="" type="3" thread="688" file="utils.cpp:6816">
<![LOG[RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence]LOG]!><time="15:51:36.825+420" date="03-20-2014" component="TSManager" context="" type="2" thread="688" file="utils.cpp:6900">
<![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="15:51:36.825+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="resolvesource.cpp:506">
<![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="15:51:36.825+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="resolvesource.cpp:508">
<![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="15:51:36.825+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="environmentlib.cpp:910">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="15:51:36.825+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="commandline.cpp:228">
<![LOG[Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="15:51:36.825+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="commandline.cpp:731">
<![LOG[Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="15:51:36.825+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="commandline.cpp:827">
<![LOG[==========[ TsProgressUI started in process 1776 ]==========]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TsProgressUI" context="" type="1" thread="1780" file="winmain.cpp:330">
<![LOG[Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TsProgressUI" context="" type="0" thread="1780" file="winmain.cpp:332">
<![LOG[Unregistering COM classes]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TsProgressUI" context="" type="1" thread="1780" file="winmain.cpp:204">
<![LOG[Unregistering class objects]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TsProgressUI" context="" type="1" thread="1780" file="winmain.cpp:495">
<![LOG[Shutdown complete.]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TsProgressUI" context="" type="1" thread="1780" file="winmain.cpp:512">
<![LOG[Process completed with exit code 0]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="commandline.cpp:1123">
<![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="utils.cpp:2903">
<![LOG[g_TSManager.Run(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,766)]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="tsmanager.cpp:766">
<![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,811)]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="utils.cpp:811">
<![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="2" thread="688" file="utils.cpp:811">
<![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="2" thread="688" file="utils.cpp:842">
<![LOG[End program: ]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="tsmanager.cpp:805">
<![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="3" thread="688" file="tsmanager.cpp:809">
<![LOG[Sending error status message]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="tsmanager.cpp:810">
<![LOG[MP server http://MAG9017.AZMAG.local. Ports 80,443. CRL=false.]LOG]!><time="15:51:36.841+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="utils.cpp:5881">
<![LOG[Setting authenticator]LOG]!><time="15:51:36.856+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="utils.cpp:5903">
<![LOG[Set authenticator in transport]LOG]!><time="15:51:36.856+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="libsmsmessaging.cpp:7734">
<![LOG[Sending StatusMessage]LOG]!><time="15:51:36.919+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="libsmsmessaging.cpp:4023">
<![LOG[Setting message signatures.]LOG]!><time="15:51:36.919+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="libsmsmessaging.cpp:1295">
<![LOG[Setting the authenticator.]LOG]!><time="15:51:36.919+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="libsmsmessaging.cpp:1325">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: MAG9017.AZMAG.local:80  CCM_POST /ccm_system/request]LOG]!><time="15:51:36.919+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="libsmsmessaging.cpp:8604">
<![LOG[Request was successful.]LOG]!><time="15:51:36.950+420" date="03-20-2014" component="TSManager" context="" type="0" thread="688" file="libsmsmessaging.cpp:8939">
<![LOG[Finalize logging request ignored from process 772]LOG]!><time="15:51:36.966+420" date="03-20-2014" component="TSManager" context="" type="1" thread="688" file="tslogging.cpp:1737">
<![LOG[Process completed with exit code 2147500037]LOG]!><time="15:51:36.966+420" date="03-20-2014" component="TSPxe" context="" type="1" thread="512" file="commandline.cpp:1123">
<![LOG[Task Sequence Manager returned code 0x80004005]LOG]!><time="15:51:36.966+420" date="03-20-2014" component="TSPxe" context="" type="1" thread="512" file="tsmediawizardcontrol.cpp:2182">
<![LOG[ThreadToResolveAndExecuteTaskSequence returned code 0x00000000]LOG]!><time="15:51:36.966+420" date="03-20-2014" component="TSPxe" context="" type="1" thread="428" file="tsmediaresolveprogresspage.cpp:221">
<![LOG[ResolveProgressPage::OnWizardNext()]LOG]!><time="15:51:36.966+420" date="03-20-2014" component="TSPxe" context="" type="0" thread="428" file="tsmediaresolveprogresspage.cpp:113">
<![LOG[Activating Finish Page.]LOG]!><time="15:51:36.966+420" date="03-20-2014" component="TSPxe" context="" type="0" thread="428" file="tsmediafinishpage.cpp:107">
<![LOG[Exiting with return code 0x00000000]LOG]!><time="15:51:36.981+420" date="03-20-2014" component="TSPxe" context="" type="1" thread="428" file="tsmbootstrap.cpp:1238">
<![LOG[Execution complete.]LOG]!><time="15:51:36.981+420" date="03-20-2014" component="TSBootShell" context="" type="1" thread="740" file="bootshell.cpp:693">
<![LOG[hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493)]LOG]!><time="15:51:36.981+420" date="03-20-2014" component="TSBootShell" context="" type="0" thread="740" file="environmentscope.cpp:493">
<![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335)]LOG]!><time="15:51:36.981+420" date="03-20-2014" component="TSBootShell" context="" type="0" thread="740" file="environmentlib.cpp:335">
<![LOG[this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,553)]LOG]!><time="15:51:36.981+420" date="03-20-2014" component="TSBootShell" context="" type="0" thread="740" file="environmentlib.cpp:553">
<![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,811)]LOG]!><time="15:51:36.981+420" date="03-20-2014" component="TSBootShell" context="" type="0" thread="740" file="utils.cpp:811">
<![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="15:51:36.981+420" date="03-20-2014" component="TSBootShell" context="" type="2" thread="740" file="utils.cpp:811">
<![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="15:51:36.997+420" date="03-20-2014" component="TSBootShell" context="" type="2" thread="740" file="utils.cpp:842">
<![LOG[End program: ]LOG]!><time="15:51:36.997+420" date="03-20-2014" component="TSBootShell" context="" type="1" thread="740" file="bootshell.cpp:725">
<![LOG[Finalizing logging from process 732]LOG]!><time="15:51:36.997+420" date="03-20-2014" component="TSBootShell" context="" type="1" thread="740" file="tslogging.cpp:1741">
<![LOG[Finalizing logs to root of first available drive]LOG]!><time="15:51:36.997+420" date="03-20-2014" component="TSBootShell" context="" type="1" thread="740" file="tslogging.cpp:1583">
<![LOG[LOGGING: Setting log directory to "C:\SMSTSLog".]LOG]!><time="15:51:36.997+420" date="03-20-2014" component="TSBootShell" context="" type="1" thread="740" file="tslogging.cpp:1808">

Thanks,
David


Viewing all articles
Browse latest Browse all 9126

Trending Articles