Post Upgrade to R2: Task Sequence Fails with 0x80070057

one SCCM 2012 server for a while now (June/July of 2013) and have had no issues with OSD's and software deployments.  Today I decided to upgrade to R2 from CU3 and I thought the upgrade process went really well.  But after the upgrade
I attempted to perform an OSD & it failed with error 0x80070057 before the Task Sequence selection.
I had that problem ages ago when I first started using SCCM, but that was due to a missing boundary group.  I got that straightened out in June/July of 2013 and, OSD's & software deployments have been working fine since.
All the boundary groups are still defined
All the boundaries are still defined
The specific boundary this machine is in has a site system defined
The specific boundary group this machine is in has both an assigned site as well as a site system server defined
Verified server has full control over System Management
Verified server has been published in AD
Relevant section of %temp%\smsts\smsts.log in boot environment
Root CA Public Certs= TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Missing root CA environment variable from variables file TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Support Unknown Machines: 1 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Custom hook from X:\\TSConfig.INI is TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
No hook is found to be executed before downloading policy TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Authenticator from the environment is empty. TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Need to create Authenticator Info using PFX TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Initialized CStringStream object with string: 171D4480-4E88-4DA5-B047-C4DC4E8EF947;2014-03-11T00:55:46Z. TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Using user-defined MP locations: http://SCCMSERVER.F.Q.D.N TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Set authenticator in transport TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Set media certificates in transport TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
IP: 10.1.18.11 10.1.18.0 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
CLibSMSMessageWinHttpTransport::Send: URL: SCCMSERVER.F.Q.D.N:80 GET /SMS_MP/.sms_aut?MPLOCATION&ir=10.1.18.11&ip=10.1.18.0 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Error. Status code 500 returned TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
isSuccessful, HRESULT=80004005 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,5581) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
CCM::SMSMessaging::CLibSMSMPLocation::RequestMPLocation failed; 0x80004005 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
MPLocation.RequestMPLocation (szTrustedRootKey, sIPSubnets.c_str(), sIPAddresses.c_str(), sSiteCode, sAssignedSiteCode, sMP, sMPCertificates, sX86UnknownMachineGUID, sX64UnknownMachineGUID), HRESULT=80004005 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,9583) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
CCM::SMSMessaging::GetMPLocation failed; 0x80004005 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Failed to query http://SCCMSERVER.F.Q.D.N for MP location TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
New settings: TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
site=,, MP=, ports: http=80,https=443 TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Set authenticator in transport TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
pszSiteCode && pszSiteCode[0], HRESULT=80070057 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,580) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
TS::Policy::GetClientIdentity (&httpTransport, sSiteCode.c_str(), sMediaGuid.c_str(), sClientGUID, sNetbiosName, bUnknown, sServerName, sServerRemoteName, sImportedClientIdentity), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,965) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Exiting TSMediaWizardControl::GetPolicy. TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,303) TSMBootstrap 3/10/2014 4:55:46 PM 1124 (0x0464)
Setting wizard error: An error occurred while retrieving policy for this computer (0x80070057). For more information, contact your system administrator or helpdesk operator. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
WelcomePage::OnWizardNext() TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
Skipping Confirmation Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
Skipping Task Sequence Selection Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
Skipping Variables Selection Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
Skipping Resolve Progress Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
Activating Finish Page. TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
Loading bitmap TSMBootstrap 3/10/2014 4:55:46 PM 1112 (0x0458)
Executing command line: X:\windows\system32\cmd.exe /k TSBootShell 3/10/2014 4:55:59 PM 840 (0x0348)
The command completed successfully. TSBootShell 3/10/2014 4:55:59 PM 840 (0x0348)
<![LOG[Root CA Public Certs=]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:615">
<![LOG[Missing root CA environment variable from variables file]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:621">
<![LOG[Support Unknown Machines: 1]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:632">
<![LOG[Custom hook from X:\\TSConfig.INI is ]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:675">
<![LOG[No hook is found to be executed before downloading policy]LOG]!><time="16:55:46.225+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:699">
<![LOG[Authenticator from the environment is empty.]LOG]!><time="16:55:46.240+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:838">
<![LOG[Need to create Authenticator Info using PFX]LOG]!><time="16:55:46.240+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:850">
<![LOG[Initialized CStringStream object with string: 171D4480-4E88-4DA5-B047-C4DC4E8EF947;2014-03-11T00:55:46Z.]LOG]!><time="16:55:46.256+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="stringstream.cpp:101">
<![LOG[Using user-defined MP locations: http://SCCMSERVER.F.Q.D.N]LOG]!><time="16:55:46.256+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:911">
<![LOG[Set authenticator in transport]LOG]!><time="16:55:46.256+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:7751">
<![LOG[Set media certificates in transport]LOG]!><time="16:55:46.271+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="libsmsmessaging.cpp:9558">
<![LOG[IP: 10.1.18.11 10.1.18.0]LOG]!><time="16:55:46.271+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="libsmsmessaging.cpp:9579">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: SCCMSERVER.F.Q.D.N:80 GET /SMS_MP/.sms_aut?MPLOCATION&ir=10.1.18.11&ip=10.1.18.0]LOG]!><time="16:55:46.287+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="libsmsmessaging.cpp:8621">
<![LOG[Error. Status code 500 returned]LOG]!><time="16:55:46.349+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:8984">
<![LOG[isSuccessful, HRESULT=80004005 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,5581)]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:5581">
<![LOG[CCM::SMSMessaging::CLibSMSMPLocation::RequestMPLocation failed; 0x80004005]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="3" thread="1124" file="libsmsmessaging.cpp:5688">
<![LOG[MPLocation.RequestMPLocation (szTrustedRootKey, sIPSubnets.c_str(), sIPAddresses.c_str(), sSiteCode, sAssignedSiteCode, sMP, sMPCertificates, sX86UnknownMachineGUID, sX64UnknownMachineGUID), HRESULT=80004005 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,9583)]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:9583">
<![LOG[CCM::SMSMessaging::GetMPLocation failed; 0x80004005]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="3" thread="1124" file="libsmsmessaging.cpp:9587">
<![LOG[Failed to query http://SCCMSERVER.F.Q.D.N for MP location]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="3" thread="1124" file="tsmbootstraputil.cpp:1544">
<![LOG[New settings:]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:925">
<![LOG[ site=,, MP=, ports: http=80,https=443]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1124" file="tsmediawizardcontrol.cpp:927">
<![LOG[Set authenticator in transport]LOG]!><time="16:55:46.365+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="libsmsmessaging.cpp:7751">
<![LOG[pszSiteCode && pszSiteCode[0], HRESULT=80070057 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,580)]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="tspolicy.cpp:580">
<![LOG[TS::Policy::GetClientIdentity (&httpTransport, sSiteCode.c_str(), sMediaGuid.c_str(), sClientGUID, sNetbiosName, bUnknown, sServerName, sServerRemoteName, sImportedClientIdentity), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,965)]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="tsmediawizardcontrol.cpp:965">
<![LOG[Exiting TSMediaWizardControl::GetPolicy.]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="tsmediawizardcontrol.cpp:1378">
<![LOG[pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,303)]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1124" file="tsmediawelcomepage.cpp:303">
<![LOG[Setting wizard error: An error occurred while retrieving policy for this computer (0x80070057). For more information, contact your system administrator or helpdesk operator.]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediawizardcontrol.cpp:1547">
<![LOG[WelcomePage::OnWizardNext()]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediawelcomepage.cpp:340">
<![LOG[Skipping Confirmation Page.]LOG]!><time="16:55:46.381+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediaconfirmationpage.cpp:170">
<![LOG[Skipping Task Sequence Selection Page.]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediataskselectionpage.cpp:118">
<![LOG[Skipping Variables Selection Page.]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediavariablesselectionpage.cpp:155">
<![LOG[Skipping Resolve Progress Page.]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediaresolveprogresspage.cpp:96">
<![LOG[Activating Finish Page.]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="0" thread="1112" file="tsmediafinishpage.cpp:107">
<![LOG[Loading bitmap]LOG]!><time="16:55:46.396+480" date="03-10-2014" component="TSMBootstrap" context="" type="1" thread="1112" file="tsmbootstrap.cpp:1228">
<![LOG[Executing command line: X:\windows\system32\cmd.exe /k]LOG]!><time="16:55:59.048+480" date="03-10-2014" component="TSBootShell" context="" type="1" thread="840" file="bootshell.cpp:857">
<![LOG[The command completed successfully.]LOG]!><time="16:55:59.048+480" date="03-10-2014" component="TSBootShell" context="" type="1" thread="840" file="bootshell.cpp:939">
Could this be an IIS problem?

I've had problems after the R2 upgrade and had to reinstall PXE/WDS on Distribution Point to resolve.
Also ensure that you apply this hotfix after R2:
http://www.deploymentresearch.com/Research/tabid/62/EntryId/156/Do-not-do-OSD-in-ConfigMgr-2012-R2-without-this-hotfix.aspx
Gerry Hampson | Blog:
www.gerryhampsoncm.blogspot.ie | LinkedIn:
Gerry Hampson | Twitter:
@gerryhampson

Similar Messages

  • Task sequence failed with error code 0x80070002

    I am facing issue in OS deployment my machine PXE boot successfully but on the step of apply operating I got an error "task sequence failed with error code 0x80070002" 
    I see lot of thread describes to add Network Access Account I already added but still I receive same error please help
    Usama Arif

    i had this happen on two of my dp's the other day.  It drove me nuts,  I ended up  removing the DP Role,  removing the server from SCCM
    I then deleted all files on the  'D :'  drive
    after everything was deleted, I re-added the  Server to SCCM and gave it the DP Role back. 
    I then added the DP Back to the  DP Group to receive all packages that was on it before.    then finally once everything was re-uploaded my users were able to pxe boot again

  • Task sequence failed with error 80070002

    Dears,
    I'm trying deploy OSD, it was working since yesterday but from today I'm facing a problem it's fails with the above error, i got the log file smsts and here it is
    Set command line: "OSDApplyOS.exe" /data:BHN00018,1 /target:0,1
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    Adding logical drive: C: ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    Skipping non-local logical drive: E: ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    Adding logical drive: S: ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    Skipping non-local logical drive: X: ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    The volume S:\ exists and is a local hard drive.
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    The volume S:\ is using a valid file system.
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    Windows target partition is 0-1, driver letter is S:\
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    The machine does not have a local client cache.
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    ResolveSource flags: 0x00000000 ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    SMSTSPersistContent: . The content for package BHN00018 will be persisted
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    DownloadOnDemand flag is true. Attempting to download content locally for Package BHN00018..
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    Package Flags: 0x1000000 ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    GetDirectoryListing() entered ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    Initializing HTTP transport. ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
       Setting URL = http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018.
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
       Address=http://PRBAHVSSCCM.ARABBANKING.LOCAL, Scheme=http, Object=/SMS_DP_SMSPKG$/BHN00018, Port=80.
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
       Setting Authenticator. ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    Set authenticator in transport ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    WinHttp credentials set ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    CLibSMSMessageWinHttpTransport::Send: URL: PRBAHVSSCCM.ARABBANKING.LOCAL:80  PROPFIND /SMS_DP_SMSPKG$/BHN00018
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    401 - Authentication failure on request with anonymous access, retrying with context credentials.
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    Using thread token for request ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    401 - Authentication failure on request with context credentials, retrying with supplied credentials.
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    Request was succesful. ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
    DAV response string is: 
     <?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:"><D:response><D:href>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/sccm?/BHN00018/</D:href><D:propstat><D:status>HTTP/1.1
    200 OK</D:status><D:prop><D:getcontenttype/><D:supportedlock/><D:getetag/><D:creationdate/><D:iscollection>1</D:iscollection><D:resourcetype><D:collection/></D:resourcetype><D:ishidden>0</D:ishidden><D:displayname>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/sccm?/BHN00018/</D:displayname><D:getlastmodified></D:getlastmodified><D:getcontentlanguage/><D:getcontentlength>0</D:getcontentlength></D:prop></D:propstat></D:response><D:response><D:href>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim</D:href><D:propstat><D:status>HTTP/1.1
    200 OK</D:status><D:prop><D:getcontenttype/><D:lockdiscovery/><D:supportedlock/><D:getetag/><D:getcontentlanguage/><D:iscollection>0</D:iscollection><D:creationdate/><D:resourcetype/><D:ishidden>0</D:ishidden><D:displayname>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim</D:displayname><D:getlastmodified>Thu,
    21 Mar 2013 09:21:33 GMT</D:getlastmodified><D:getcontentlength>4984262577</D:getcontentlength></D:prop></D:propstat></D:response></D:multistatus>
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    List of files to be downloaded ApplyOperatingSystem
    3/27/2013 3:05:22 PM 1828 (0x0724)
      File: http://PRBAHVSSCCM.ARABBANKING.LOCAL:80/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    GetDirectoryListing() successfully completed
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'
    ApplyOperatingSystem 3/27/2013 3:05:22 PM
    1828 (0x0724)
    dwStatusCode >= 200 && dwStatusCode <= 299, HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1304)
    ApplyOperatingSystem 3/27/2013 3:05:23 PM
    1828 (0x0724)
    WinHttpQueryHeaders() returns status code 500 (Internal Server Error)
    ApplyOperatingSystem 3/27/2013 3:05:23 PM
    1828 (0x0724)
    SendWinHttpRequest failed. 801901f4. ApplyOperatingSystem
    3/27/2013 3:05:23 PM 1828 (0x0724)
    SendWinHttpRequest (hSession, hConnect, hRequest, sRequest.c_str(), 0, bUseSSL, ullFileSize, LastGoodCredentialsType), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1542)
    ApplyOperatingSystem 3/27/2013 3:05:23 PM
    1828 (0x0724)
    DownloadFile failed. 801901f4. ApplyOperatingSystem
    3/27/2013 3:05:23 PM 1828 (0x0724)
    DownloadFile (hSession, hConnect, sSourceFile.c_str(), sDestinationFile.c_str(), ulTotalSizeRequired, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1648)
    ApplyOperatingSystem 3/27/2013 3:05:23 PM
    1828 (0x0724)
    Error downloading file from http://PRBAHVSSCCM.ARABBANKING.LOCAL:80/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim to C:\_SMSTaskSequence\Packages\BHN00018\Win7-x86-BasicApps.wim
    ApplyOperatingSystem
    3/27/2013 3:05:23 PM 1828 (0x0724)
    DownloadFiles failed. 801901f4. ApplyOperatingSystem
    3/27/2013 3:05:23 PM 1828 (0x0724)
    DownloadFiles (setDirs, setFiles, sDestination.c_str(), bUseSSL), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2523)
    ApplyOperatingSystem 3/27/2013 3:05:23 PM
    1828 (0x0724)
    Retrying download... ApplyOperatingSystem
    3/27/2013 3:05:23 PM 1828 (0x0724)
    GetDirectoryListing() entered ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    Initializing HTTP transport. ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
       Setting URL = http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018.
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
       Address=http://PRBAHVSSCCM.ARABBANKING.LOCAL, Scheme=http, Object=/SMS_DP_SMSPKG$/BHN00018, Port=80.
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
       Setting Authenticator. ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    Set authenticator in transport ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    WinHttp credentials set ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    CLibSMSMessageWinHttpTransport::Send: URL: PRBAHVSSCCM.ARABBANKING.LOCAL:80  PROPFIND /SMS_DP_SMSPKG$/BHN00018
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    401 - Authentication failure on request with anonymous access, retrying with context credentials.
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    Using thread token for request ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    401 - Authentication failure on request with context credentials, retrying with supplied credentials.
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    Request was succesful. ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    DAV response string is: 
     <?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:"><D:response><D:href>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/sccm?/BHN00018/</D:href><D:propstat><D:status>HTTP/1.1
    200 OK</D:status><D:prop><D:getcontenttype/><D:supportedlock/><D:getetag/><D:creationdate/><D:iscollection>1</D:iscollection><D:resourcetype><D:collection/></D:resourcetype><D:ishidden>0</D:ishidden><D:displayname>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/sccm?/BHN00018/</D:displayname><D:getlastmodified></D:getlastmodified><D:getcontentlanguage/><D:getcontentlength>0</D:getcontentlength></D:prop></D:propstat></D:response><D:response><D:href>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim</D:href><D:propstat><D:status>HTTP/1.1
    200 OK</D:status><D:prop><D:getcontenttype/><D:lockdiscovery/><D:supportedlock/><D:getetag/><D:getcontentlanguage/><D:iscollection>0</D:iscollection><D:creationdate/><D:resourcetype/><D:ishidden>0</D:ishidden><D:displayname>http://PRBAHVSSCCM.ARABBANKING.LOCAL/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim</D:displayname><D:getlastmodified>Thu,
    21 Mar 2013 09:21:33 GMT</D:getlastmodified><D:getcontentlength>4984262577</D:getcontentlength></D:prop></D:propstat></D:response></D:multistatus>
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    List of files to be downloaded ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
      File: http://PRBAHVSSCCM.ARABBANKING.LOCAL:80/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    GetDirectoryListing() successfully completed
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    dwStatusCode >= 200 && dwStatusCode <= 299, HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1304)
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    WinHttpQueryHeaders() returns status code 500 (Internal Server Error)
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    SendWinHttpRequest failed. 801901f4. ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    SendWinHttpRequest (hSession, hConnect, hRequest, sRequest.c_str(), 0, bUseSSL, ullFileSize, LastGoodCredentialsType), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1542)
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    DownloadFile failed. 801901f4. ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    DownloadFile (hSession, hConnect, sSourceFile.c_str(), sDestinationFile.c_str(), ulTotalSizeRequired, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1648)
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    Error downloading file from http://PRBAHVSSCCM.ARABBANKING.LOCAL:80/SMS_DP_SMSPKG$/BHN00018/sccm?/Win7-x86-BasicApps.wim to C:\_SMSTaskSequence\Packages\BHN00018\Win7-x86-BasicApps.wim
    ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    DownloadFiles failed. 801901f4. ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    DownloadFiles (setDirs, setFiles, sDestination.c_str(), bUseSSL), HRESULT=801901f4 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2523)
    ApplyOperatingSystem 3/27/2013 3:05:26 PM
    1828 (0x0724)
    Retrying download... ApplyOperatingSystem
    3/27/2013 3:05:26 PM 1828 (0x0724)
    Tried all the available http based locations. SMB based locations will be attempted now.
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    !saSMBContentSources.empty(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2948)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    DownloadContentAndVerifyHash(pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, pszUserName, pszUserPassword ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3106)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    DownloadContentLocally(pszSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3331)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3221)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    TS::Utility::ResolveSource( this->packageID, this->packagePath ), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1483)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    resolvePkgSource(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1503)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    Apply(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1712)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    Installation of image 1 in package BHN00018 failed to complete.. 
    The system cannot find the file specified. (Error: 80070002; Source: Windows)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    installer.install(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1787)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\BHN00018
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    The user tries to release a source directory C:\_SMSTaskSequence\Packages\BHN00018 that is either already released or we have not connected to it
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_Data, g_ConfigPackageID, g_ConfigFileName, false, g_RunFromNet ), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\applyos.cpp,522)
    ApplyOperatingSystem 3/27/2013 3:05:29 PM
    1828 (0x0724)
    Process completed with exit code 2147942402
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    Failed to run the action: Apply Data Image 1. 
    The system cannot find the file specified. (Error: 80070002; Source: Windows)
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    MP server http://PRBAHVSSCCM.ARABBANKING.LOCAL. Ports 80,443. CRL=false.
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    Setting authenticator TSManager
    3/27/2013 3:05:29 PM 1456 (0x05B0)
    Set authenticator in transport TSManager
    3/27/2013 3:05:29 PM 1456 (0x05B0)
    Sending StatusMessage TSManager
    3/27/2013 3:05:29 PM 1456 (0x05B0)
    Setting message signatures. TSManager
    3/27/2013 3:05:29 PM 1456 (0x05B0)
    Setting the authenticator. TSManager
    3/27/2013 3:05:29 PM 1456 (0x05B0)
    CLibSMSMessageWinHttpTransport::Send: URL: PRBAHVSSCCM.ARABBANKING.LOCAL:80  CCM_POST /ccm_system/request
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    Request was succesful. TSManager
    3/27/2013 3:05:29 PM 1456 (0x05B0)
    Set a global environment variable _SMSTSLastActionRetCode=-2147024894
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    Set a global environment variable _SMSTSLastActionSucceeded=false
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    Clear local default environment TSManager
    3/27/2013 3:05:29 PM 1456 (0x05B0)
    Let the parent group (Install Operating System) decides whether to continue execution
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    The execution of the group (Install Operating System) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    Failed to run the last action: Apply Data Image 1. Execution of task sequence failed.
    The system cannot find the file specified. (Error: 80070002; Source: Windows)
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    MP server http://PRBAHVSSCCM.ARABBANKING.LOCAL. Ports 80,443. CRL=false.
    TSManager 3/27/2013 3:05:29 PM
    1456 (0x05B0)
    and when trying to open location from IIS of the http://localhost:80/SMS_DP_SMSPKG$
    i got the following error
    I don't know it is related or not, do you have any idea about that

    This post may be of some help..
    http://social.technet.microsoft.com/Forums/en-US/configmanagerdeployment/thread/baa2d7e0-599d-4bd0-a375-8905a7d0b2ff/
    Delphin

  • OSD Task Sequence Fails with Error 0x80091007

    Hello Everyone,
    I have a bit of a weird hash mismatch problem.  The issue is only occuring on one laptop.  The laptop was imaged successfully, new out of the box.  Computer started "acting craptacular" according to the tech, so he tried to reimage it,
    assuming one of the applications he put on the computer while setting it up for the user may have messed it up.
    From that point forward, the computer couldn't image anymore.  I can image the same model, TS, and even other models without issue.  The error logs are pointing to a hash value mismatch on the OS WIM. 
    Here are the log files - I wish there was a way to make them cleaner.  I ran some hardware tests with IBM's PCDoctor, and it came back clean.  I'm starting to run out of ideas.
    Thanks in advance!
    Log: (SMSTS.LOG)
    Download done setting progress bar to 100 ApplyOperatingSystem 5/14/2010 4:09:31 PM 840 (0x0348)
    Hash could not be matched for the downloded content. Original ContentHash = A6170DC8CFC5A443636828F093C45377B5FE2A62, Downloaded ContentHash = 7DEBC67B90C2326031EF8727238176C92A02006C ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    0L == TS::Utility::VerifyPackageHash(pszContentID, sDestination), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,2901) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    DownloadContentAndVerifyHash(pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, pszUserName, pszUserPassword ), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3000) ApplyOperatingSystem 5/14/2010
    4:09:53 PM 840 (0x0348)
    DownloadContentLocally(pszSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3128) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3029) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    TS::Utility::ResolveSource( this->packageID, this->packagePath, TS::Utility::ResolveSourceFlags::PersistContents ), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1255) ApplyOperatingSystem 5/14/2010 4:09:53
    PM 840 (0x0348)
    resolvePkgSource(), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1299) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    Installation of image 1 in package RH1000DD failed to complete..
    The hash value is not correct. (Error: 80091007; Source: Windows) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    installer.install(), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1373) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\RH1000DD ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    The user tries to release a source directory C:\_SMSTaskSequence\Packages\RH1000DD that is either already released or we have not connected to it ApplyOperatingSystem 5/14/2010 4:09:53 PM 840 (0x0348)
    InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_OS, g_ConfigPackageID, g_ConfigFileName ), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\applyos.cpp,360) ApplyOperatingSystem 5/14/2010 4:09:53 PM 840
    (0x0348)
    Process completed with exit code 2148077575 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    !--------------------------------------------------------------------------------------------! TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Failed to run the action: XP SP3 - Multi-HAL.
    The hash value is not correct. (Error: 80091007; Source: Windows) TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Sending status message . . . TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Send a task execution status message SMS_TSExecution_ActionFailError TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    MP server rh1-sccm.ritehite.com and port 80. SSL=false. CRL=false. TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Site code: RH1 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Client machine name: R842AEYa TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Client Identity: GUID:428CFC8B-1BE1-4E11-B2C4-21E31EA71572 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Advertisement ID: RH1200C2 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Package ID: RH1000DF TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Sending StatusMessage TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Formatted header: TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>56d444c9-6bf0-4ed2-86a9-5f199c90924c</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2010-05-14T21:09:53Z</SentTime><Protocol>http</Protocol><Body
    Type="ByteRange" Offset="0" Length="4246"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    CLibSMSMessageWinHttpTransport::Send: URL: sccmserver.x.com:80  CCM_POST /ccm_system/request TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    The request has succeeded. 200 OK TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Set a global environment variable _SMSTSLastActionRetCode=-2146889721 TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Clear local default environment TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Let the parent group (Apply Operating System) decides whether to continue execution TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Let the parent group (Install Operating System) decide whether to continue execution TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    The execution of the group (Install Operating System) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows) TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Failed to run the last action: XP SP3 - Multi-HAL. Execution of task sequence failed.
    The hash value is not correct. (Error: 80091007; Source: Windows) TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Sending status message . . . TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)
    Send a task execution status message SMS_TSExecution_TaskSequenceFailError TSManager 5/14/2010 4:09:53 PM 1896 (0x0768)

    Hi Guys,
    My WIM is currently sitting at 1.8 GB, so I'm not sure it is the 4 GB bug you were referring to.
    I haven't tried a re-import/update DP yet mainly because the problem is occuring on only
    one computer at this moment.  In fact, I have deployed several computers already with the same DP, same WIM and even the same model of computer.  That makes me think it isn't an issue with the WIM as
    much as it is an issue with the computer itself.
    Can you guys think of anything on the computer that would cause the failure?
    Thanks again,
    Sean

  • XP to Win7 Upgrade Task Sequence failing with the error 0x800700C1 (Already applied the Hot Fix KB 2910552)

    Hi all
    I'm having the same error that is described in this article http://support.microsoft.com/kb/2910552/en-us
    So i have applied this hot-fix to the SCCM 2012 server and update the distribution points of all boot images. and also i have deployed the hot-fix client package to my XP machines. client's Task Sequence component is now updated to 5.00.7958.1104.
    Still i'm getting the same error in SMSTS.log
    Please help me on this. 
    Asitha

    Which boot image are you using? It has to match the architecture (x86 / x64) of XP if I am not mistaken.
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2012 Export Task Sequence fails with generic error message

    We have a complex task sequence comprising of more than 50 applications\packages, 1975 drivers, 18 driver packages etc etc. Its long, it's big and it will not export with it's content.
    We have several environments for development test and live. I am attempting to export the primary task sequence with all it's dependencies from live so that I can port it over to a new development environment.
    I can export the zip file without content and it comes to 92Mb in size. The entire task sequence software set is 50Gb+. When I attempt to export with all dependencies and content the process gets about 60% of the way through and fails with the error
    "Error: The filename, directory name, or volume label syntax is incorrect"
    Googling the error roughly defines the problem as 'the export process cannot access the defined source path for one of the dependant items'
    I wrote a PowerShell script that looks as every application, package, driver, driver package, boot image, os image and software update package in the entire SCCM software library and verifies that each and every package has a valid UNC source directory
    that can be reached using test-path.
    I also wrote another tool that parsed the entire source software library on the server looking for permissions errors (permissions on the structure set at a directory level rather than inherited), directories that were too long, inaccessible or otherwise
    blocked, nothing was found.
    It will take a very long time to go through and check each and every dependency by hand - time I do not have at present.
    I looked in the TaskSequenceProvider.log as that is supposed to contain messages from the export process and found the messages in there far too high a level to use
    =======================
    <![LOG[Setting status complete:  status code = 0x0; ]LOG]!><time="13:00:41.161-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="4168" file="exterror.cpp:128">
    <![LOG[[PID: 3500] Invoking method SMS_TaskSequence.ExportXml]LOG]!><time="13:00:42.339-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="4168" file="wmiprovider.cpp:333">
    <![LOG[[PID: 3500] Done with method SMS_TaskSequence.ExportXml]LOG]!><time="13:00:42.341-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="4168" file="wmiprovider.cpp:352">
    <![LOG[Setting status complete:  status code = 0x0; ]LOG]!><time="13:00:42.341-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="4168" file="exterror.cpp:128">
    <![LOG[[1AFF658 PID:3500] Received shutdown request from WMI]LOG]!><time="13:01:36.036-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="5592" file="wmiprovider.cpp:399">
    <![LOG[[1AFF658 PID:3500] Initializing provider for namespace root\sms\site_P01]LOG]!><time="13:02:36.550-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068"
    file="wmiprovider.cpp:90">
    <![LOG[[1AFF658  PID:3500] Initialization of provider for namespace root\sms\site_P01 succeeded]LOG]!><time="13:02:36.551-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1"
    thread="7068" file="wmiprovider.cpp:107">
    <![LOG[[PID: 3500] Invoking method SMS_TaskSequence.LoadFromXml]LOG]!><time="13:02:36.554-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:333">
    <![LOG[[PID: 3500] Done with method SMS_TaskSequence.LoadFromXml]LOG]!><time="13:02:36.558-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:352">
    <![LOG[Setting status complete:  status code = 0x0; ]LOG]!><time="13:02:36.559-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="exterror.cpp:128">
    <![LOG[[PID: 3500] Invoking method SMS_TaskSequence.ExportXml]LOG]!><time="13:03:05.428-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:333">
    <![LOG[[PID: 3500] Done with method SMS_TaskSequence.ExportXml]LOG]!><time="13:03:05.431-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:352">
    <![LOG[Setting status complete:  status code = 0x0; ]LOG]!><time="13:03:05.431-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="exterror.cpp:128">
    <![LOG[[1AFF658 PID:3500] Received shutdown request from WMI]LOG]!><time="13:03:36.369-60" date="08-26-2014" component="TaskSequenceProvider" context="" type="1" thread="7068" file="wmiprovider.cpp:399">
    ====================
    Is there any way of increasing the log verbosity? I need to see what item is causing the export to fail.
    Is there another log containing the information about the export & what it is doing?
    All out builds that use the task sequence complete successfully, we can edit the sequence fine, make changes etc. so no internal corruption we can find.
    Any ideas?

    Torsten, smsprov.log did indeed prove useful, I could see every package as it was validated. Unfortunately the log was wrapping about every 4 minutes and it takes 3+ hours for the task sequence to reach the fail point so I still cannot see the offending
    package as it wraps before I can get to the log.
    I will increase the size of the log and see if I can maintain some details to investigate.
    There was nothing of note in the event logs, certainly nothing leading me to suspect that WMI might be reaching its limits.
    I will keep looking for the cause and will post here when I find it <= positive thinking :)

  • OSD Task Sequence fails with "There are no task sequences available for this computer"

    Let me preface this by saying that I have read at least 100 forum posts with people having similar issues. However, none of the solutions in those
    posts have worked for me.
    The Problem: SCCM 2012 R2 will not image unknown computers.
    The task sequence gives the error "There are no task sequences available for this computer." As soon as that error occurs, SCCM places an Unknown entry into the All Systems collection. I have been imaging unknown computers, without fail, for
    4 months and no environmental changes have been made. NOTE: I am using USB media, not PXE.
    What I've Tried:
    Checked for duplicate SMSBIOS GUIDS in the console, none.
    Checked for duplicate MAC Addresses in the console, none.
    Checked for expired certificates, none.
    Recreated Boot Media, twice.
    Deleted the Unknown entry and retried, SCCM just recreates the Unknown entry.
    Deleted all of my task sequence deployments, and then redeployed them each to All Systems (Only Boot Media and PXE) and to Unknown Systems (Only Boot Media and PXE)
    I have also ran the following in the SQL Server Management Studio;
    SELECT
    * FROM
    ResPolicyMap WHERE
    machineid = 0 and
    PADBID IN
    (SELECT
    PADBID FROM PolicyAssignment
    WHERE BodyHash
    IS NULL)
    No result
    Select
    * From
    vMacAddresses Where
    MacAddresses = '00:00:00:00:00:00'
    This displays an entry for every time that I have tried to image the unknown machine attached to the MAC Address with a different ItemKey and SMS_Unique_Identifier for each entry.
    Added the machine manually using Import Computer Information, immediately recognized the Task Sequences that I have advertised to the All Systems collection.
    Any and all assistance is welcome, I am going on the third straight day of dead ends. Below I have tried my best to post the entire SMSTS Log;

    LOGGING: Finalize process ID set to 744
    ==============================[ TSBootShell.exe ]==============================
    Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
    Debug shell is enabled
    Waiting for PNP initialization...
    RAM Disk Boot Path: MULTI(0)DISK(0)RDISK(0)PARTITION(1)\SOURCES\BOOT.WIM
    WinPE boot path: C:\SOURCES\BOOT.WIM
    Booted from removable device
    Found config path C:\
    Booting from removable media, not restoring bootloaders on hard drive
    C:\WinPE does not exist.
    C:\_SmsTsWinPE\WinPE does not exist.
    Executing command line: wpeinit.exe -winpe
    The command completed successfully.
    Starting DNS client service.
    Executing command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:C:\
    The command completed successfully.
    ==============================[ TSMBootStrap.exe ]==============================
    Command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:C:\
    Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
    Succeeded loading resource DLL 'X:\sms\bin\x64\TSRESNLC.DLL'
    Current OS version is 6.2.9200.0
    Adding SMS bin folder "X:\sms\bin\x64" to the system environment PATH
    Failed to open PXE registry key. Not a PXE boot.
    Media Root = C:\
    WinPE boot type: 'Ramdisk:SourceIdentified'
    Failed to find the source drive where WinPE was booted from
    Executing from Media in WinPE
    Verifying Media Layout.
    MediaType = BootMedia
    PasswordRequired = false
    Found network adapter "Intel(R) Ethernet Connection I217-LM" with IP Address XXX.XX.XXX.XXX.
    Running Wizard in Interactive mode
    Loading Media Variables from "C:\sms\data\variables.dat"
    no password for vars file
    Activating Welcome Page.
    Loading bitmap
    WelcomePage::OnWizardNext()
    Loading Media Variables from "C:\sms\data\variables.dat"
    no password for vars file
    Spawned thread 1008 to download policy.
    Entering TSMediaWizardControl::GetPolicy.
    Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00350031004100300031003600420036002D0046003000440045002D0034003700350032002D0042003900370043002D003500340045003600460033003800360041003900310032007D00'
    Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}
    Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00420041003300410033003900300030002D0043004100360044002D0034006100630031002D0038004300320038002D003500300037003300410046004300320032004200300033007D00'
    Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}
    Setting LogMaxSize to 1000000
    Setting LogMaxHistory to 1
    Setting LogLevel to 0
    Setting LogEnabled to 1
    Setting LogDebug to 1
    UEFI: false
    Loading variables from the Task Sequencing Removable Media.
    Loading Media Variables from "C:\sms\data\variables.dat"
    Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
    Setting SMSTSMP TS environment variable
    Setting _SMSMediaGuid TS environment variable
    Setting _SMSTSBootMediaPackageID TS environment variable
    Setting _SMSTSBootMediaSourceVersion TS environment variable
    Setting _SMSTSBrandingTitle TS environment variable
    Setting _SMSTSCertSelection TS environment variable
    Setting _SMSTSCertStoreName TS environment variable
    Setting _SMSTSDiskLabel1 TS environment variable
    Setting _SMSTSHTTPPort TS environment variable
    Setting _SMSTSHTTPSPort TS environment variable
    Setting _SMSTSIISSSLState TS environment variable
    Setting _SMSTSMediaCreatedOnCAS TS environment variable
    Setting _SMSTSMediaPFX TS environment variable
    Setting _SMSTSMediaSetID TS environment variable
    Setting _SMSTSMediaType TS environment variable
    Setting _SMSTSPublicRootKey TS environment variable
    Setting _SMSTSRootCACerts TS environment variable
    Setting _SMSTSSiteCode TS environment variable
    Setting _SMSTSSiteSigningCertificate TS environment variable
    Setting _SMSTSStandAloneMedia TS environment variable
    Setting _SMSTSSupportUnknownMachines TS environment variable
    Setting _SMSTSTimezone TS environment variable
    Setting _SMSTSUseFirstCert TS environment variable
    Setting _SMSTSx64UnknownMachineGUID TS environment variable
    Setting _SMSTSx86UnknownMachineGUID TS environment variable
    Root CA Public Certs=
    Missing root CA environment variable from variables file
    Support Unknown Machines: 1
    Custom hook from X:\\TSConfig.INI is
    No hook is found to be executed before downloading policy
    Authenticator from the environment is empty.
    Need to create Authenticator Info using PFX
    Initialized CStringStream object with string: 1F53C44B-1AE9-4CAF-8ADA-5ED28DC8FF9A;2014-07-16T18:15:39Z.
    Set media certificate in transport
    Set authenticator in transport
    CLibSMSMessageWinHttpTransport::Send: URL: XXXXXXXXX.XXXXXX.com:80  GET /SMS_MP/.sms_aut?MPKEYINFORMATIONMEDIA
    Request was successful.
    Default CSP is Microsoft Enhanced RSA and AES Cryptographic Provider
    Default CSP Type is 24
    New settings:
        site=XXX,XXX, MP=http://XXXX.XXXX.com, ports: http=80,https=443
        certificates are received from MP.
    Unknown machine GUIDs: 774b17a2-6eeb-44bc-9c94-ce9081f5fe4c 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
        MP specific X86 unknown machine GUID is received at run time
        MP specific X64 unknown machine GUID is received at run time
    Getting MP time information
    Set authenticator in transport
    Requesting client identity
    Setting message signatures.
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80  CCM_POST /ccm_system/request
    Request was successful.
    ::DecompressBuffer(65536)
    Decompression (zlib) succeeded: original size 406, uncompressed size 2460.
    -120
    Server time zone info: 300, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60
    Client Identity:
    Netbios name:
    Current time: 2014-07-16 18:15:39.787 TZ:Pacific Standard Time Bias:0480
    Current time zone info: 480, Pacific Standard Time, [0 0 0 0 0 0 0 0], 0, , [0 0 0 0 0 0 0 0], 0
    Adjusting the system time: -14400.551 seconds
    Time zone info set to: 300, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60
    New time: 2014-07-16 14:15:39.235
    Current time: 2014-07-16 14:15:39.231 TZ: Bias:0300
    Downloading policy from http://XXXX.XXXX.com.
    Initializing HTTP transport.
       Setting URL = http://XXXX.XXXX.com.
       Setting Ports = 80,443.
       Setting CRL = false.
       Setting Server Certificates.
    Set authenticator in transport
       Setting Media Certificate.
    Preparing Client Identity Request.
        Setting transport.
        Setting SourceID = 1F53C44B-1AE9-4CAF-8ADA-5ED28DC8FF9A.
        Setting site code = XXX.
    Can not find DeploymentType in file TsmBootstrap.ini or the file doesn't exist. This is not running on Windows To Go.
        Setting SMBIOS GUID = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.
        Adding MAC Address XX:XX:XX:XX:XX:XX.
    Executing Client Identity Request.
    Requesting client identity
    Setting message signatures.
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80  CCM_POST /ccm_system/request
    Request was successful.
    ::DecompressBuffer(65536)
    Decompression (zlib) succeeded: original size 415, uncompressed size 2460.
    -120
    Server time zone info: 300, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60
    Client Identity:
    Netbios name:
    Client GUID = , Netbios name = , State = Known
    Using unknown machine GUID: 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
    GetSystemEnclosureChassisInfo: IsFixed=TRUE, IsLaptop=TRUE
    Hash computed from CSP: Microsoft Enhanced RSA and AES Cryptographic Provider, AlgID: 32772, HashSize: 20
    Computed HardwareID=2:4AC96CD5003991BC201B7AC01FBC88E592C3E2BE
    Hardware ID: 2:4AC96CD5003991BC201B7AC01FBC88E592C3E2BE
    Preparing the Client DDR Message
        Setting SourceID = 1F53C44B-1AE9-4CAF-8ADA-5ED28DC8FF9A.
    Sending the Client DDR message.
    Sending Report
    <Report><ReportHeader><Identification><Machine><ClientInstalled>0</ClientInstalled><ClientType>1</ClientType><Unknown>1</Unknown><ClientID>GUID:26717327-194f-4cd6-90ba-309998c058f2</ClientID><ClientVersion>5.00.0000.0000</ClientVersion><NetBIOSName>Unknown</NetBIOSName><CodePage>437</CodePage><SystemDefaultLCID>1033</SystemDefaultLCID></Machine></Identification><ReportDetails><ReportContent>Inventory
    Data</ReportContent><ReportType>Full</ReportType><Date>20140716141539.000000+000</Date><Version>1.0</Version><Format>1.1</Format></ReportDetails><InventoryAction ActionType="Predefined"><InventoryActionID>{00000000-0000-0000-0000-000000000003}</InventoryActionID><Description>Discovery</Description><InventoryAc
    Setting message signatures.
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80  CCM_POST /ccm_system/request
    Request was successful.
    Submitted new client identity: GUID:26717327-194f-4cd6-90ba-309998c058f2
    Preparing Policy Assignment Request.
        Setting transport.
        Setting site code = XXX.
        Setting client ID = 74f16942-dd75-437f-8c4b-2a5de4d0e5e5.
       Setting site signing Certificate.
    Setting SiteSigningCertificateContext
    Executing Policy Assignment Request.
    Sending RequestAssignments
    Setting message signatures.
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80  CCM_POST /ccm_system/request
    Request was successful.
    ::DecompressBuffer(65536)
    Decompression (zlib) succeeded: original size 274, uncompressed size 662.
    Request client ID: 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
    Response client ID: 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
    Retrieving Policy Assignments:
    Successfully read 0 policy assignments.
    Retrieving collection variable policy.
    Found 0 collection variables.
    Retrieving machine variable policy.
    Found 0 machine variables.
    Setting collection variables in the task sequencing environment.
    Setting machine variables in the task sequencing environment.
    Exiting TSMediaWizardControl::GetPolicy.
    WelcomePage::OnWizardNext()
    Loading Media Variables from "C:\sms\data\variables.dat"
    no password for vars file
    No assigned task sequence.
    Setting wizard error: There are no task sequences available for this computer.
    Skipping Confirmation Page.
    Skipping Task Sequence Selection Page.
    Skipping Variables Selection Page.
    Skipping Resolve Progress Page.
    Activating Finish Page.
    Loading bitmap
    Executing command line: X:\windows\system32\cmd.exe /k
    The command completed successfully.
    Successfully launched command shell.

  • Task sequence fails after upgrading to 2012 R2 and MDT 2013

    After upgrading to 2012 R2, my task sequence fails after the Setup Windows and ConfigMGR & Restart Computer. Instead of continuing to run the task sequence and load up the MDT Toolkit Package, it just stops at the Windows 7 login screen.
    Do I need to create new toolkit & settings packages with MDT 2013 settings? Or do I just need to create a new task sequence?
    I can't figure out what log to look at on the VM that I am imaging. If someone can point it out maybe there's some useful information. Thanks.
    My task sequence

    It sounds a lot like that it could be failing at the client installation. Please take a look at the client installation logs.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude
    Here are the log files from c:\windows\ccmsetup\logs .. I took a glance and things run with success 0 which should mean no error right? The system also has the client installed with the CU2 patch.
    Client Logs
    Searched a bit online and people are saying it's due to the incorrect boot image. I was using a WinPE 5.0 I created on this TS but I'm going to make another and see where it goes.
    This was the solution.

  • Task Sequence fails on "Apply Driver Package" when PXE-booting but not with bootable media

    I have an issue where my Task Sequence fails during 'Apply Driver Package' when PXE-booting but works ok when booting from CD or USB-stick. It fails withe error code 0x80070002 and when pressing F8 and checking the ipconfig there's a 169.254.x.x address.
    Somehow it looses it's real ip during the process.
    I'm grateful for any advice!

    Please enable verbose logging for Task sequence, then upload the smsts.log to Skydrive.
    0x80070002 error is too generic, which cannot be used to determine the cause.
    Juke Chou
    TechNet Community Support

  • Deploy OS task sequence fails when deploying to multiple computers

    Hi gang,
    I'm running into an issue when imaging multiple computers with MDT 2012. Let me give some background info.
    I have installed Windows 7 64 bit on a laptop in audit mode, made my configurations, sysprepped the machine, and captured a .wim using WDS (captured to an external hard drive). I then imported this .wim into MDT, created a Standard Client Task Sequence to deploy
    the image, and successfully deployed it to a machine.
    My problem comes up when I initiate this task sequence on multiple computers simultaneously. If I put 6 computers side-by-side and run the task sequence at the same time, only a couple machines will actually succeed. The rest fail with the following:
    FAILURE ( 5624 ): 2: Run ImageX: /apply "\\CAAPPWN40\DeploymentShare$\Operating Systems\T731 (Final) Windows 7 64 bit May 2013\T731 (Final) Windows 7 64 bit May 2013.wim"
    1 C:
    Litetouch deployment failed. Return Code = -2147467259 0x80004005
    Failed to run the action: Install Operating System
    Unknown error (Error: 000015F8; Source: Unknown)
    The execution of the group (Install) has failed and the execution has been aborted. An action failed.
    Operating aborted (Error: 80004004; Source: Windows)
    Failed to run the last action: Install Operating System. Execution of task sequence failed.
    Unknown error (Error: 000015F8; Source: Unknown)
    Task Sequence Engine failed! Code: enExecutionFail
    Task sequence execution failed with error code 80004005
    Error Task Sequence Manager failed to execute task sequence. Code 0x80004005
    BDD.log is saying that "The file or directory is corrupted and unreadable."
    If I restart the computer, boot back into PXE, and run the task sequence again, this time on it's own (as opposed to 6 computers at once) it works fine.
    Can anyone help?

    I just rebooted the server and tried again, same result.
    I keep getting a "Body text cannot contain links or images until we are able to verify your account" error when posting a hyperlink. I've had my technet account since October... weird.
    Here's the snippet that's important:
    <![LOG[ Console > [ 18% ] Applying progress: 14:47 mins remaining ]LOG]!><time="11:27:10.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ 19% ] Applying progress: 14:27 mins remaining ]LOG]!><time="11:27:18.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ 20% ] Applying progress: 14:15 mins remaining ]LOG]!><time="11:27:32.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ RETRY ] Restoring C:\Program Files (x86)\Common Files\microsoft shared\OFFICE15\MSORES.DLL again (Error = 1392)]LOG]!><time="11:27:40.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ 21% ] Applying progress: 14:06 mins remaining ]LOG]!><time="11:27:42.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ 22% ] Applying progress: 13:49 mins remaining ]LOG]!><time="11:27:48.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ 23% ] Applying progress: 13:29 mins remaining ]LOG]!><time="11:27:55.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ZTI Heartbeat: command has been running for 5 minutes (process ID 516)]LOG]!><time="11:28:01.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ RETRY ] Restoring C:\Program Files (x86)\Intel Corporation\Intel Wireless Display\it\WiDiApp.resources.dll again (Error = 1392)]LOG]!><time="11:28:01.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ RETRY ] Restoring C:\Program Files (x86)\Intel Corporation\Intel Wireless Display\it\WiDiApp.resources.dll again (Error = 1392)]LOG]!><time="11:28:01.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ RETRY ] Restoring C:\Program Files (x86)\Intel Corporation\Intel Wireless Display\it\WiDiApp.resources.dll again (Error = 1392)]LOG]!><time="11:28:02.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ RETRY ] Restoring C:\Program Files (x86)\Intel Corporation\Intel Wireless Display\it\WiDiApp.resources.dll again (Error = 1392)]LOG]!><time="11:28:02.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ 24% ] Applying progress: 13:13 mins remaining ]LOG]!><time="11:28:07.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ RETRY ] Restoring C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\110\msmdlocal.dll again (Error = 1392)]LOG]!><time="11:28:13.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ RETRY ] Restoring C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\110\msmdlocal.dll again (Error = 1392)]LOG]!><time="11:28:14.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ RETRY ] Restoring C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\110\msmdlocal.dll again (Error = 1392)]LOG]!><time="11:28:15.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ RETRY ] Restoring C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\110\msmdlocal.dll again (Error = 1392)]LOG]!><time="11:28:16.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > [ ERROR ] C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\110\msmdlocal.dll (Error = 1392)]LOG]!><time="11:28:17.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > Error restoring image.]LOG]!><time="11:28:17.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > The file or directory is corrupted and unreadable. ]LOG]!><time="11:28:17.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = 2]LOG]!><time="11:28:17.000+000" date="06-11-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[FAILURE ( 5624 ): 2: Run ImageX: /apply "\\MyServer\DeploymentShare$\Operating Systems\T731 (Final) Windows 7 64 bit May 2013\T731 (Final) Windows 7 64 bit May 2013.wim" 1 C:]LOG]!><time="11:28:17.000+000" date="06-11-2013" component="LTIApply" context="" type="3" thread="" file="LTIApply">
    <![LOG[Command completed, return code = -2147467259]LOG]!><time="11:28:18.000+000" date="06-11-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Litetouch deployment failed, Return Code = -2147467259 0x80004005]LOG]!><time="11:28:18.000+000" date="06-11-2013" component="LiteTouch" context="" type="3" thread="" file="LiteTouch">

  • Build & capture task sequence fails during software update installation

    I'm sure this has been discussed a thousand times already, so I hope no one minds talking about it at least one more time.  About 6 months ago I created a reference image using a build and capture task sequence within SCCM.  After discovering
    there were certain updates that would kill a task sequence (because they required multiple restarts), I was able to exclude these updates from deployment so that my task sequence completed successfully.  Fast forward to today.  I'm working on updating
    our reference image to include the last 6 months of updates.  Again, I'm having trouble with the task sequence failing to complete.  I have excluded all of the updates mentioned in
    Microsoft KB article 2894518.  I'm able to build the image with all software updates up until 6/30/2014.  When I deploy my software group that contains updates from 7/1/2014 to 12/31/2014,
    however, the task sequence fails.  I'm pulling my hair out trying to figure out which update may be causing the issue, and trust me, I don't have much hair as it is.  So, here's my question to all of the experts out there.  What is the best
    method of debugging this issue and finding which update may be the culprit?  The log files really are confusing, so I'm hoping there are some common codes or phrases I can search for within those files.  Any and all help is much appreciated.  Thanks...

    >   I'm working on updating our reference image to include the last 6 months of updates. 
    Since this is a Build & Capture task sequence and not joined to the domain, you'll need to treat it
    like a workgroup computer.  Here are the big three things that usually trip things up:
    1.  Initial Management Point:  The Setup Windows and ConfigMgr step should have the SMSMP=<fqdn>
    property specified, as the device won't be able to see the list of MP's in Active Directory
    2.  Content Location:  Make sure the reference machine's IP address falls within an IP Range
    or Subnet ID boundary, since it can't use a AD Site boundary as a workgroup machine.
    3.  Win 7 - NTLM Fallback:  Windows 7 devices may need
    hotfix KB2522623 installed (as a package/program or with offline servicing) to ensure they fall back to NTLM properly when they fail to authenticate with Kerberos.
    If you have those 3 things taken care of, then you should copy all the logs off of the machine while the
    error message is still being displayed, zip them, and then share them out through OneDrive or Dropbox.
    I hope that helps,
    Nashs
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you found a bug or want the product to work differently,
    share your feedback.
    <-- If this post was helpful, please click the up arrow or propose as answer.

  • OSD Task Sequence fails to install SCCM client

    Hello,
    Our OSD task sequence fails to install the SCCM client with certain images.
    The TS gets to the "Setup Windows and Configuration" step, during which it downloads all the necessary SCCM client files (silverlight, C++ redistributable, client.msi....etc.). At this point computer restarts and in never loads back into the
    task sequence, instead it enters the minisetup (setup is starting services, setup is installing devices, setup is applying system settings...preparing computer for first use), after which the computer restarts and you are back at the CTR+ALT+Del screen.
    The computer has joined the domain and has run all other steps but it has failed to install SCCM client. I can also see the leftovers of an incomplete TS under c:\_SMSTaskSequence
    If we change the image specified under "Apply Operating System" step, everything works ok.
    It appears there is something wrong with this particular image. Any ideas?
    Logs show no errors. Let me know which logs you'd like me to post (and from which location)
    There is no ccm folder under c:\windows

    Hoping you are using ConfigMgr 2012 R2. If a client machine Join to Domain and doesn't proceed with other steps and not installing the CCM client, then problem seems to be with the Image.Do you have any RunOnce registry setting specified in the Image? You
    can mount the Image and check those settings.
    RunOnce Key Reference :
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa376977(v=vs.85).aspx
    If the above key is present in the Image, TS Engine won't resume after the reboot.
    You need to use a new variable "SMSTSPostAction" at the end of the Task Sequence, to add your custom actions.
    The above variable is applicable in CM 2012 SP1 and R2.
    Thanks, Senthil. 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. Click on "vote as Helpful" if you feel this post helpful to you. This
    can be beneficial to other community members reading the thread.

  • Setup windows and ConfigMgr task sequence failing.

    Hi,
    Am trying to create a reference Windows 7 task sequence and the task sequence is failing at the 'Setup Windows and ConfigMgr' task.
    There are a lot of threads regarding this step and in particular that as the machine is in a workgroup it cannot install the SCCM client successfully. As recommended on other posts have added SMSLP= and SMSMP= into the Installation properties.
    The task sequence is still failing and am unable to make much of the logs. 
    Will post the errors if anyone can assist?.

    <![LOG[Microsoft Deployment Toolkit version: 6.1.2373.0]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="1104" file="runcommandline.cpp:34">
    <![LOG[The task sequencer log is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="1104"
    file="runcommandline.cpp:34">
    <![LOG[Unable to copy log to the network as no SLShare value was specified.]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="1104" file="runcommandline.cpp:34">
    <![LOG[No system restore needed, WMI object not present.]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="1104" file="runcommandline.cpp:34">
    <![LOG[Cleaning up default wallpaper registry keys]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="1104" file="runcommandline.cpp:34">
    <![LOG[zticopylogs processing completed successfully.]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="1104" file="runcommandline.cpp:34">
    <![LOG[Unable to create WebService class]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="1104" file="runcommandline.cpp:34">
    <![LOG[Command line returned 0]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="1104" file="runcommandline.cpp:565">
    <![LOG[Process completed with exit code 0]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="commandline.cpp:1123">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="instruction.cxx:3012">
    <![LOG[Successfully completed the action (Copy Logs) with the exit win32 code 0]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="instruction.cxx:3038">
    <![LOG[MP server http://UK5SYSDBPR01.s3ms.com. Ports 80,443. CRL=false.]LOG]!><time="09:48:18.771+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:5300">
    <![LOG[Setting authenticator]LOG]!><time="09:48:18.787+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:5322">
    <![LOG[Set authenticator in transport]LOG]!><time="09:48:18.787+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:7751">
    <![LOG[Sending StatusMessage]LOG]!><time="09:48:18.787+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="libsmsmessaging.cpp:4025">
    <![LOG[Setting message signatures.]LOG]!><time="09:48:18.803+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:1297">
    <![LOG[Setting the authenticator.]LOG]!><time="09:48:18.803+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:1327">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: UK5SYSDBPR01.s3ms.com:80  CCM_POST /ccm_system/request]LOG]!><time="09:48:18.803+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="libsmsmessaging.cpp:8621">
    <![LOG[Request was succesful.]LOG]!><time="09:48:18.818+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:8956">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="09:48:18.818+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="09:48:18.818+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:668">
    <![LOG[Expand a string: %_SMSTSMDataPath%\Logs]LOG]!><time="09:48:18.818+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:782">
    <![LOG[Clear local default environment]LOG]!><time="09:48:18.834+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:807">
    <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="09:48:18.896+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:1121">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=140]LOG]!><time="09:48:18.896+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:668">
    <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=140]LOG]!><time="09:48:18.896+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:386">
    <![LOG[Set a global environment variable _SMSTSInstructionStackString=134]LOG]!><time="09:48:18.896+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:668">
    <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=134]LOG]!><time="09:48:18.896+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:414">
    <![LOG[Save the current environment block]LOG]!><time="09:48:18.896+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:833">
    <![LOG[Successfully save execution state and environment to local hard disk]LOG]!><time="09:48:18.943+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="engine.cxx:255">
    <![LOG[Start executing an instruction. Instruction name: Error in the task sequence. Instruction pointer: 140]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="engine.cxx:117">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Error in the task sequence]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=140]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:668">
    <![LOG[Set a local default variable SMSTSDisableWow64Redirection]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:700">
    <![LOG[Set a local default variable _SMSTSRunCommandLineAsUser]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:700">
    <![LOG[Set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:668">
    <![LOG[Expand a string: smsswd.exe /run: cscript "%deployroot%\scripts\ztierrormsg.wsf"]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:782">
    <![LOG[Expand a string: ]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:782">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="commandline.cpp:228">
    <![LOG[Set command line: smsswd.exe /run: cscript "%deployroot%\scripts\ztierrormsg.wsf"]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="commandline.cpp:731">
    <![LOG[Start executing the command line: smsswd.exe /run: cscript "%deployroot%\scripts\ztierrormsg.wsf"]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="instruction.cxx:2930">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="instruction.cxx:2959">
    <![LOG[Expand a string: WinPEandFullOS]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:782">
    <![LOG[Executing command line: smsswd.exe /run: cscript "%deployroot%\scripts\ztierrormsg.wsf"]LOG]!><time="09:48:18.959+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="commandline.cpp:827">
    <![LOG[[ smsswd.exe ]]LOG]!><time="09:48:18.974+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="main.cpp:289">
    <![LOG[PackageID = '']LOG]!><time="09:48:18.974+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="main.cpp:318">
    <![LOG[BaseVar = '', ContinueOnError='']LOG]!><time="09:48:18.974+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="main.cpp:319">
    <![LOG[ProgramName = 'cscript "C:\_SMSTaskSequence\WDPackage\scripts\ztierrormsg.wsf"']LOG]!><time="09:48:18.974+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="main.cpp:320">
    <![LOG[SwdAction = '0001']LOG]!><time="09:48:18.974+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="main.cpp:321">
    <![LOG[Set command line: Run command line]LOG]!><time="09:48:18.974+00" date="12-02-2013" component="InstallSoftware" context="" type="0" thread="2000" file="commandline.cpp:731">
    <![LOG[Working dir 'not set']LOG]!><time="09:48:18.974+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="runcommandline.cpp:542">
    <![LOG[Executing command line: Run command line]LOG]!><time="09:48:18.974+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="commandline.cpp:827">
    <![LOG[Process completed with exit code 2147500037]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="commandline.cpp:1123">
    <![LOG[Microsoft (R) Windows Script Host Version 5.8]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="runcommandline.cpp:34">
    <![LOG[Copyright (C) Microsoft Corporation. All rights reserved.]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="runcommandline.cpp:34">
    <![LOG[]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="runcommandline.cpp:34">
    <![LOG[Microsoft Deployment Toolkit version: 6.1.2373.0]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="runcommandline.cpp:34">
    <![LOG[The task sequencer log is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000"
    file="runcommandline.cpp:34">
    <![LOG[ZTI deployment failed, Return Code = -2147467259  0x80004005]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="runcommandline.cpp:34">
    <![LOG[Unable to create WebService class]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="runcommandline.cpp:34">
    <![LOG[Command line returned 2147500037]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="InstallSoftware" context="" type="1" thread="2000" file="runcommandline.cpp:565">
    <![LOG[Process completed with exit code 2147500037]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="commandline.cpp:1123">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="instruction.cxx:3012">
    <![LOG[Failed to run the action: Error in the task sequence. 
    Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="TSManager" context="" type="3" thread="1048" file="instruction.cxx:3103">
    <![LOG[MP server http://UK5SYSDBPR01.s3ms.com. Ports 80,443. CRL=false.]LOG]!><time="09:48:19.037+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:5300">
    <![LOG[Setting authenticator]LOG]!><time="09:48:19.052+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:5322">
    <![LOG[Set authenticator in transport]LOG]!><time="09:48:19.052+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:7751">
    <![LOG[Sending StatusMessage]LOG]!><time="09:48:19.068+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="libsmsmessaging.cpp:4025">
    <![LOG[Setting message signatures.]LOG]!><time="09:48:19.068+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:1297">
    <![LOG[Setting the authenticator.]LOG]!><time="09:48:19.068+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:1327">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: UK5SYSDBPR01.s3ms.com:80  CCM_POST /ccm_system/request]LOG]!><time="09:48:19.068+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="libsmsmessaging.cpp:8621">
    <![LOG[Request was succesful.]LOG]!><time="09:48:19.083+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:8956">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=-2147467259]LOG]!><time="09:48:19.083+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="09:48:19.083+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:668">
    <![LOG[Clear local default environment]LOG]!><time="09:48:19.083+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="executionenv.cxx:807">
    <![LOG[Let the parent group (Gather Logs and StateStore on Failure) decides whether to continue execution]LOG]!><time="09:48:19.083+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="instruction.cxx:3212">
    <![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="09:48:19.083+00" date="12-02-2013" component="TSManager" context="" type="3" thread="1048" file="instruction.cxx:2425">
    <![LOG[Failed to run the last action: Error in the task sequence. Execution of task sequence failed.
    Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="09:48:19.083+00" date="12-02-2013" component="TSManager" context="" type="3" thread="1048" file="engine.cxx:214">
    <![LOG[MP server http://UK5SYSDBPR01.s3ms.com. Ports 80,443. CRL=false.]LOG]!><time="09:48:19.099+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:5300">
    <![LOG[Setting authenticator]LOG]!><time="09:48:19.099+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:5322">
    <![LOG[Set authenticator in transport]LOG]!><time="09:48:19.099+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:7751">
    <![LOG[Sending StatusMessage]LOG]!><time="09:48:19.115+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="libsmsmessaging.cpp:4025">
    <![LOG[Setting message signatures.]LOG]!><time="09:48:19.115+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:1297">
    <![LOG[Setting the authenticator.]LOG]!><time="09:48:19.115+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:1327">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: UK5SYSDBPR01.s3ms.com:80  CCM_POST /ccm_system/request]LOG]!><time="09:48:19.115+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="libsmsmessaging.cpp:8621">
    <![LOG[Request was succesful.]LOG]!><time="09:48:19.146+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:8956">
    <![LOG[Executing command line: X:\windows\system32\cmd.exe /k]LOG]!><time="09:48:26.618+00" date="12-02-2013" component="TSBootShell" context="" type="1" thread="744" file="bootshell.cpp:857">
    <![LOG[The command completed successfully.]LOG]!><time="09:48:26.618+00" date="12-02-2013" component="TSBootShell" context="" type="1" thread="744" file="bootshell.cpp:939">
    <![LOG[Successfully launched command shell.]LOG]!><time="09:48:26.618+00" date="12-02-2013" component="TSBootShell" context="" type="1" thread="744" file="bootshell.cpp:430">
    <![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,866)]LOG]!><time="10:03:31.818+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048"
    file="tsmanager.cpp:866">
    <![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="10:03:31.818+00" date="12-02-2013" component="TSManager" context="" type="3" thread="1048" file="tsmanager.cpp:866">
    <![LOG[****************************************************************************]LOG]!><time="10:03:31.818+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="tsmanager.cpp:889">
    <![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="10:03:31.818+00" date="12-02-2013" component="TSManager" context="" type="3" thread="1048" file="tsmanager.cpp:890">
    <![LOG[Cleaning Up.]LOG]!><time="10:03:31.818+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="tsmanager.cpp:637">
    <![LOG[Removing Authenticator]LOG]!><time="10:03:31.818+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="tsmanager.cpp:648">
    <![LOG[shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\ccmutillib\ccmutillib.cpp,1652)]LOG]!><time="10:03:31.818+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="ccmutillib.cpp:1652">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="10:03:31.818+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:1746">
    <![LOG[Unable to delete file C:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="10:03:32.692+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="ccmfile.cpp:1056">
    <![LOG[hr, HRESULT=80070091 (e:\nts_sccm_release\sms\framework\core\ccmcore\ccmfile.cpp,1218)]LOG]!><time="10:03:32.863+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="ccmfile.cpp:1218">
    <![LOG[Failed to delete directory 'C:\_SMSTaskSequence']LOG]!><time="10:03:32.863+00" date="12-02-2013" component="TSManager" context="" type="2" thread="1048" 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,6090)]LOG]!><time="10:03:32.863+00"
    date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="utils.cpp:6090">
    <![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="10:03:32.863+00" date="12-02-2013" component="TSManager" context="" type="3" thread="1048" file="utils.cpp:6090">
    <![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="10:03:32.863+00" date="12-02-2013" component="TSManager" context="" type="3" thread="1048" file="utils.cpp:6102">
    <![LOG[SetObjectOwner (szFName, SE_FILE_OBJECT, c_szAdministrators), HRESULT=80070005 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,6187)]LOG]!><time="10:03:32.863+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048"
    file="utils.cpp:6187">
    <![LOG[RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TSManager" context="" type="3" thread="1048" file="utils.cpp:6231">
    <![LOG[RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TSManager" context="" type="2" thread="1048" file="utils.cpp:6315">
    <![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="resolvesource.cpp:519">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,521)]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="resolvesource.cpp:521">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="environmentlib.cpp:886">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="commandline.cpp:228">
    <![LOG[Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="commandline.cpp:731">
    <![LOG[Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="commandline.cpp:827">
    <![LOG[==========[ TsProgressUI started in process 1728 ]==========]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TsProgressUI" context="" type="1" thread="948" file="winmain.cpp:330">
    <![LOG[Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TsProgressUI" context="" type="0" thread="948" file="winmain.cpp:332">
    <![LOG[Unregistering COM classes]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TsProgressUI" context="" type="1" thread="948" file="winmain.cpp:204">
    <![LOG[Unregistering class objects]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TsProgressUI" context="" type="1" thread="948" file="winmain.cpp:495">
    <![LOG[Shutdown complete.]LOG]!><time="10:03:32.879+00" date="12-02-2013" component="TsProgressUI" context="" type="1" thread="948" file="winmain.cpp:512">
    <![LOG[Process completed with exit code 0]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="commandline.cpp:1123">
    <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:2320">
    <![LOG[g_TSManager.Run(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,725)]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="tsmanager.cpp:725">
    <![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,261)]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048"
    file="utils.cpp:261">
    <![LOG[RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="2" thread="1048" file="utils.cpp:261">
    <![LOG[GetTsRegValue() failed. 0x80070002.]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="2" thread="1048" file="utils.cpp:279">
    <![LOG[End program: ]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="tsmanager.cpp:764">
    <![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="3" thread="1048" file="tsmanager.cpp:768">
    <![LOG[Sending error status message]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="tsmanager.cpp:769">
    <![LOG[MP server http://UK5SYSDBPR01.s3ms.com. Ports 80,443. CRL=false.]LOG]!><time="10:03:32.894+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:5300">
    <![LOG[Setting authenticator]LOG]!><time="10:03:32.910+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="utils.cpp:5322">
    <![LOG[Set authenticator in transport]LOG]!><time="10:03:32.910+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:7751">
    <![LOG[Sending StatusMessage]LOG]!><time="10:03:32.941+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="libsmsmessaging.cpp:4025">
    <![LOG[Setting message signatures.]LOG]!><time="10:03:32.941+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:1297">
    <![LOG[Setting the authenticator.]LOG]!><time="10:03:32.941+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:1327">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: UK5SYSDBPR01.s3ms.com:80  CCM_POST /ccm_system/request]LOG]!><time="10:03:32.941+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="libsmsmessaging.cpp:8621">
    <![LOG[Request was succesful.]LOG]!><time="10:03:32.988+00" date="12-02-2013" component="TSManager" context="" type="0" thread="1048" file="libsmsmessaging.cpp:8956">
    <![LOG[Finalize logging request ignored from process 1044]LOG]!><time="10:03:32.988+00" date="12-02-2013" component="TSManager" context="" type="1" thread="1048" file="tslogging.cpp:1737">
    <![LOG[Process completed with exit code 2147500037]LOG]!><time="10:03:32.988+00" date="12-02-2013" component="TSMBootstrap" context="" type="1" thread="824" file="commandline.cpp:1123">
    <![LOG[Task Sequence Manager returned code 0x80004005]LOG]!><time="10:03:32.988+00" date="12-02-2013" component="TSMBootstrap" context="" type="1" thread="824" file="tsmediawizardcontrol.cpp:2136">
    <![LOG[ThreadToResolveAndExecuteTaskSequence returned code 0x00000000]LOG]!><time="10:03:33.004+00" date="12-02-2013" component="TSMBootstrap" context="" type="1" thread="988" file="tsmediaresolveprogresspage.cpp:221">
    <![LOG[ResolveProgressPage::OnWizardNext()]LOG]!><time="10:03:33.004+00" date="12-02-2013" component="TSMBootstrap" context="" type="0" thread="988" file="tsmediaresolveprogresspage.cpp:113">
    <![LOG[Activating Finish Page.]LOG]!><time="10:03:33.004+00" date="12-02-2013" component="TSMBootstrap" context="" type="0" thread="988" file="tsmediafinishpage.cpp:107">
    <![LOG[Exiting with return code 0x00000000]LOG]!><time="10:03:33.004+00" date="12-02-2013" component="TSMBootstrap" context="" type="1" thread="988" file="tsmbootstrap.cpp:1195">
    <![LOG[Execution complete.]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:690">
    <![LOG[hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515)]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="0" thread="756" file="environmentscope.cpp:515">
    <![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337)]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="0" thread="756" file="environmentlib.cpp:337">
    <![LOG[this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,549)]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="0" thread="756" file="environmentlib.cpp:549">
    <![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,261)]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="0" thread="756"
    file="utils.cpp:261">
    <![LOG[RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="2" thread="756" file="utils.cpp:261">
    <![LOG[GetTsRegValue() failed. 0x80070002.]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="2" thread="756" file="utils.cpp:279">
    <![LOG[End program: ]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:722">
    <![LOG[Finalizing logging from process 740]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="1" thread="756" file="tslogging.cpp:1741">
    <![LOG[Finalizing logs to root of first available drive]LOG]!><time="10:03:33.019+00" date="12-02-2013" component="TSBootShell" context="" type="1" thread="756" file="tslogging.cpp:1583">
    <![LOG[Successfully finalized logs to C:\SMSTSLog]LOG]!><time="10:03:33.035+00" date="12-02-2013" component="TSBootShell" context="" type="1" thread="756" file="tslogging.cpp:1640">
    <![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="10:03:33.035+00" date="12-02-2013" component="TSBootShell" context="" type="0" thread="756" file="tslogging.cpp:584">

  • Build and Capture task sequence fails at 'Prepare ConfigMgr Client for Capture' step

    The scenario is as follows:
    Task Sequence is a Build and Capture of Windows 7 SP1 x64 Enterprise
    There are 17 Applications installed split into 2 'Install Application' steps due to the 9 item limit
    129 Software Updates are installed
    SCCM 2012 RTM
    I have built and captured on this system previously however there were no 'applications', just traditional SCCM 'packages'
    All task sequence steps run successfully until it gets to the 'Prepare ConfigMgr Client for Capture' step and it fails here. Here are the relevant parts of the SMSTS.log file:
    <![LOG[No certificates to delete]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:1013">
    <![LOG[Deleting Client properties from file C:\Windows\SMSCFG.INI succeeded.]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:922">
    <![LOG[Reseting the Trusted Root Key successful]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:1088">
    <![LOG[Deleting instance of 'CCM_Client' successful]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:170">
    <![LOG[Successfully reset Registration status flag to "not registered"]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:309">
    <![LOG[Successfully disabled provisioning mode.]LOG]!><time="15:30:12.546-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:1273">
    <![LOG[Start to cleanup TS policy]LOG]!><time="15:30:12.546-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="utils.cpp:2773">
    <![LOG[getPointer()->ExecQuery( BString(L"WQL"), BString(pszQuery), lFlags, pContext, ppEnum ), HRESULT=ffffffff (e:\nts_sccm_release\sms\framework\core\ccmcore\wminamespace.cpp,389)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient"
    context="" type="0" thread="2880" file="wminamespace.cpp:389">
    <![LOG[ns.Query(sQuery, &spEnum), HRESULT=ffffffff (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,2800)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="utils.cpp:2800">
    <![LOG[Wmi query 'select * from CCM_Policy where PolicySource = 'CcmTaskSequence'' failed, hr=0xffffffff]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="utils.cpp:2800">
    <![LOG[End TS policy cleanup]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="utils.cpp:2821">
    <![LOG[TS::Utility::CleanupPolicyEx(false), HRESULT=ffffffff (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\preparesmsclient.cpp,457)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880"
    file="preparesmsclient.cpp:457">
    <![LOG[Failed to delete policies compiled by TaskSequence (0xffffffff)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="preparesmsclient.cpp:457">
    <![LOG[Failed to prepare SMS Client for capture, hr=ffffffff]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="preparesmsclient.cpp:472">
    <![LOG[pCmd->Execute(), HRESULT=ffffffff (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\main.cpp,136)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="main.cpp:136">
    <![LOG[Failed to prepare SMS Client for capture, hr=ffffffff]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="main.cpp:136">
    <![LOG[Process completed with exit code 4294967295]LOG]!><time="15:35:21.015-660" date="11-13-2012" component="TSManager" context="" type="1" thread="2152" file="commandline.cpp:1098">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="15:35:21.015-660" date="11-13-2012" component="TSManager" context="" type="1" thread="2152" file="instruction.cxx:3011">
    <![LOG[Failed to run the action: Prepare ConfigMgr Client for Capture. 
    Unknown error (Error: FFFFFFFF; Source: Unknown)]LOG]!><time="15:35:21.046-660" date="11-13-2012" component="TSManager" context="" type="3" thread="2152" file="instruction.cxx:3102">
    It looks like there is a similar issue over here (http://www.windows-noob.com/forums/index.php?/topic/5906-task-sequence-error-0xffffffff/) that was resolved by removing the Application Installations one by one until a problematic one was found
    and removed - however I would rather avoid this very time consuming process if possible.
    I have also testing this using 'capture media' in the full OS and that also fails at the same step with the same errors in the smsts.log
    The only workaround I have for now is to let the task sequence fail at the 'Prepare ConfigMgr Client for Capture' step, then I uninstall the SCCM client using 'ccmsetup.exe /uninstall' and use the 'capture media' method - obviously with no SCCM client installed,
    it skips the 'Prepare ConfigMgr Client for Capture' step and goes straight to the 'Prepare OS' step and then to the actual capture to the WIM step.
    Anybody else seeing this or have any suggestions?
    My Microsoft Core Infrastructure & Systems Management blog -
    blog.danovich.com.au

    It looks like there is a similar issue over here (http://www.windows-noob.com/forums/index.php?/topic/5906-task-sequence-error-0xffffffff/) that was resolved by removing the Application Installations one by one until a problematic one was found
    and removed - however I would rather avoid this very time consuming process if possible.
    You dont have to test it 18 times....
    Just test with 50% of the applications first, if it fails, test with 25% and then on of the time...
    You should be able to find the application, within 4-5 tests...
    Ronni Pedersen | Microsoft MVP - ConfigMgr | Blogs:
    http://www.ronnipedersen.com/ and SCUG.dk/ | Twitter
    @ronnipedersen

  • Task Sequence Fails while trying to access a folder in PXE

    Hello Guys,
    I am facing issues while PXE.  It fails with below error.
    Logs from server :
    Severity               Type      Site code             Date / Time       
    System Component        Message ID        Description
    Error      Milestone                    2/4/2014 9:49:11 AM               
    Task Sequence Engine   11135    The task sequence execution engine failed executing the action (DiskPart DataDisk) in the group (Install Operating System) with the error code 2147942402  Action output: T=80070047 (e:\nts_sms_fre\sms\framework\tscore\tsconnection.cpp,148)
    Failed to access the share \\server.org\SMSPKGE$\PCK000AA\ with network access account !sAccessibleSource.empty(), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,2392) GetAccessibleLocation(pszSource,
    saResolvedPath, sSourceDirectory, dwFlags, hUserToken), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3168) TS::Utility::ResolveSource(pszPkgID, sPath, 0, hUserToken, sUserName.empty() ? NULL : sUserName.c_str(), sUserName.empty()
    ? NULL : sUserPassword.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\runcommandline.cpp,395) cmd.Execute(pszPkgID, sProgramName, dwCmdLineExitCode), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\main.cpp,385)
    Failed to find an available source location Failed to resolve the source for SMS PKGID=PCK000AA, hr=0x80070002 Install Software failed to run command line, hr=0x80070002. The operating system reported error 2147942402: The system cannot find the file specified.
    SMSTG log from PC where it fails :
    Failed to connect to "\\server.ORG\SMSPKGE$\PCK000AA" (71)
    Task Sequence fails only when acccessing one folder and below steps have been tried.
    - Network access account is configured and its working fine for all other secondary site
    - NAA is having access to folder.
    - NAA is added to Server Local Admin Access Group.
    - Deleted folder and Replicated from central
    - Granted everyone access to folder.
    It works only when other Admin Account is updated in place of existing NAA details on primary server. However the same NAA is working fine on all Primary and Secondary servers. Issue is only with one secondary server.
    Its very strange issue!!!
    Waiting for a solution.
    Mukhyaprana

    0x80070047 = "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."
    You must have some non-standard policy or restriction applied to the system hosting the share.
    Jason | http://blog.configmgrftw.com

Maybe you are looking for

  • GG configuration - Changes are not replicating from Source to Target

    Hi, I am new in golden gate configuration. I have set up GG between two oracle databases to replicate the changes from source to target database. But when I update or insert in HR.JOBS table in source, it is not propagating to target. I didn't find a

  • How do I disable all HTML in incoming email messages?

    I just switched from Thunderbird to Mail and discovered that I cannot disable HTML rendering in email. I don't want to turn off only images. I want all HTML commands to be ignored. Most HTML is an annoyance, esp. with all the bad web designers who pu

  • Printing Error - Internal Error

    Hi Experts, What could cause a 'internal error' when a user is printing from SBO 2005? this is the only message we get, all the other users on the same network/system can print. We have tried re-starting etc. It happens when we print any report. Rega

  • Oracle VM 2.2.1

    Hi all, I have seen, that Oralce VM 2.2.1 is out there. Is this only a "bug fix" update or are there some feature enhancements too? Reg, Rene

  • Reports 10g with Forms 9i

    I want to use Reports Server 10g Installed on one machine from Forms Server 9i installed on other machine. Is it possible and if yes then how?