locked
Sccm 2012 SP1 - Error 0x80070002 / 0x80004005 RRS feed

  • Question

  • Hello,

    First off all sorry for my bad english speaking ! I'll try to be as clear as possible :)

    I want to build an image from a basic win7 captured image (that part was already done) adding some apps in a first capture and next (if the first one wanted to work a day...) another capture to run all the updates.

    Here a capture of the Build and capture task sequence :

    So, the task failed at this step : "Capture the reference Machine".

    I've think that it was due to the account used but when I make the "verify" test it is a success.

    Here the log (server name replaced by xxxxxxxxxx) :

    New/Changed ActualConfig policy instance(s) : 0    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Unlocked ActualConfig successfully    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Unlocked policy transaction lock successfully    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Raising event:
    instance of CCM_PolicyAgent_SettingsEvaluationComplete
    {
        ClientID = "GUID:4808EED8-2CA2-4B4B-AAAD-C0154AD92DFD";
        DateTime = "20150416070446.089000+000";
        PolicyNamespace = "\\\\xxxxx\\root\\ccm\\policy\\machine\\actualconfig";
        ProcessID = 2932;
        ThreadID = 1852;
    };
        TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Successfully submitted event to the Status Agent.    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    End TS policy evaluation    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Policy evaluation initiated    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    g_TSManager.Run(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,725)    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    ::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,261)    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    GetTsRegValue() failed. 0x80070002.    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    End program:     TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Error Task Sequence Manager failed to execute task sequence. Code 0x80004005    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Sending error status message    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    MP server http://xxxxxxxxxxxxxxxx. Ports 80,443. CRL=false.    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Setting authenticator    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Set authenticator in transport    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Sending StatusMessage    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Setting message signatures.    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Setting the authenticator.    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    CLibSMSMessageWinHttpTransport::Send: URL: xxxxxxxxxxxxxxxx:80  CCM_POST /ccm_system/request    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Error. Received 0x80072ee7 from WinHttpSendRequest.    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    unknown host (gethostbyname failed)    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    hr, HRESULT=80072ee7 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,8936)    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    sending with winhttp failed; 80072ee7    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Will retry in 5 second(s)    TSManager    16/04/2015 09:04:46    1852 (0x073C)
    Retrying...    TSManager    16/04/2015 09:04:51    1852 (0x073C)
    CLibSMSMessageWinHttpTransport::Send: URL: xxxxxxxxxxxxxxxx:80  CCM_POST /ccm_system/request    TSManager    16/04/2015 09:04:51    1852 (0x073C)
    Error. Received 0x80072ee7 from WinHttpSendRequest.    TSManager    16/04/2015 09:04:51    1852 (0x073C)
    unknown host (gethostbyname failed)    TSManager    16/04/2015 09:04:51    1852 (0x073C)
    hr, HRESULT=80072ee7 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,8936)    TSManager    16/04/2015 09:04:51    1852 (0x073C)
    sending with winhttp failed; 80072ee7    TSManager    16/04/2015 09:04:51    1852 (0x073C)
    Will retry in 11 second(s)    TSManager    16/04/2015 09:04:51    1852 (0x073C)
    Retrying...    TSManager    16/04/2015 09:05:03    1852 (0x073C)
    CLibSMSMessageWinHttpTransport::Send: URL: xxxxxxxxxxxxxxxx:80  CCM_POST /ccm_system/request    TSManager    16/04/2015 09:05:03    1852 (0x073C)
    Error. Received 0x80072ee7 from WinHttpSendRequest.    TSManager    16/04/2015 09:05:03    1852 (0x073C)
    unknown host (gethostbyname failed)    TSManager    16/04/2015 09:05:03    1852 (0x073C)
    hr, HRESULT=80072ee7 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,8936)    TSManager    16/04/2015 09:05:03    1852 (0x073C)
    sending with winhttp failed; 80072ee7    TSManager    16/04/2015 09:05:03    1852 (0x073C)
    Will retry in 22 second(s)    TSManager    16/04/2015 09:05:03    1852 (0x073C)
    Retrying...    TSManager    16/04/2015 09:05:25    1852 (0x073C)
    CLibSMSMessageWinHttpTransport::Send: URL: xxxxxxxxxxxxxxxx:80  CCM_POST /ccm_system/request    TSManager    16/04/2015 09:05:25    1852 (0x073C)
    Error. Received 0x80072ee7 from WinHttpSendRequest.    TSManager    16/04/2015 09:05:25    1852 (0x073C)
    unknown host (gethostbyname failed)    TSManager    16/04/2015 09:05:25    1852 (0x073C)
    hr, HRESULT=80072ee7 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,8936)    TSManager    16/04/2015 09:05:25    1852 (0x073C)
    sending with winhttp failed; 80072ee7    TSManager    16/04/2015 09:05:25    1852 (0x073C)
    Will retry in 44 second(s)    TSManager    16/04/2015 09:05:25    1852 (0x073C)
    Retrying...    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    CLibSMSMessageWinHttpTransport::Send: URL: xxxxxxxxxxxxxxxx:80  CCM_POST /ccm_system/request    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Error. Received 0x80072ee7 from WinHttpSendRequest.    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    unknown host (gethostbyname failed)    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    hr, HRESULT=80072ee7 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,8936)    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    sending with winhttp failed; 80072ee7    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    End of retries    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Send (pReply, nReplySize), HRESULT=80072ee7 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,1952)    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    failed to send the request    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    DoRequest (sReply, false), HRESULT=80072ee7 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,4050)    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Failed to send status message (80072ee7)    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    smStatusMessage.Send(), HRESULT=80072ee7 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,5394)    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Error calling message lib Send(). Code 0x80072ee7    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Non fatal error 0x80072ee7 in sending task sequence execution status message to MP    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Finalize logging request ignored from process 2932    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Waiting for CcmExec service to be fully operational    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    CcmExec service is up and fully operational    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Access handle will be read from _SMSTSActiveRequestHandle    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Access handle: {4A5E656D-DDA8-4700-BF81-E13CB4B85EA9}    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Attempting to release request using {4A5E656D-DDA8-4700-BF81-E13CB4B85EA9}    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    CoCreateInstance succeeded    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    pISoftwareExecutionRequestMgr->ReleaseRequest(ActiveRequestGUID), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanagerutils.cpp,136)    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    ReleaseRequest failed with error code 0x80004005    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Task Sequence Manager could not release active TS request. code 80004005    TSManager    16/04/2015 09:06:09    1852 (0x073C)
    Process completed with exit code 2147500037    TSMBootstrap    16/04/2015 09:06:09    2364 (0x093C)
    Exiting with return code 0x80004005    TSMBootstrap    16/04/2015 09:06:09    2364 (0x093C)
    Process completed with exit code 2147500037    OSDSetupHook    16/04/2015 09:06:09    1360 (0x0550)
    Task sequence completed 0x80004005    OSDSetupHook    16/04/2015 09:06:09    1360 (0x0550)
    Waiting for command shell to complete.    OSDSetupHook    16/04/2015 09:06:09    1440 (0x05A0)

    Any idea welcomed... thank you in advance !

    Solear

    Thursday, April 16, 2015 8:11 AM

All replies

  • Hi,

    You should first make sure that the UNC path you provided to create your Wim is correct and also that your account has enough permissions to write in the share.

    The verify option check if the password is correct but I'm not sure that it checks permissions.


    Mickael,
    My technet galleries contributions :
    ConfigMgr driver injector
    SCCM Collection splitter
    ConfigMgr TS Tools
    Customize WinPE images with powershell

    Thursday, April 16, 2015 8:15 AM
  • Hi Mickael,

    UNC path is correct (tested right now in case, it's working) with the account used in the task sequence.

    (also tested the "Network access account" in "sites\config comp...\ software...")

    Thank you,

    Solear.

    Thursday, April 16, 2015 9:22 AM
  • Is the client trying to contact the SCCM server via FQDN or is it using just the hostname? If it is just the hostname are you able to ping from the client to the server? I assume you're in Windows PE at the point of failure?

    In your Capture destination under the Capture reference media are you specifying an FQDN or just the hostname of the server?

    Thanks,

    Adam



    • Edited by Adam--D Thursday, April 16, 2015 12:48 PM
    Thursday, April 16, 2015 12:04 PM
  • Hi Adam,

    The client is trying to contact the server via FQDN (and he is able to, I've opened a cmd via F8 and made a ping on the server : success).

    I'm no more in Windows PE after this step : "Setup Windows and configuration Manager" (so, I'm on the installed OS)

    Under "Capture reference media" I've specified the FQDN.

    Thanks,

    Solear

    Thursday, April 16, 2015 1:13 PM
  • Hi Solear,

    Sorry just to be clear in my head, in your original post it says your TS is failing at Capture the Reference Machine

    "So, the task failed at this step : "Capture the reference Machine"."

    This step happens in Windows PE. Which step is it that you're TS is failing on?

    Would you mind also providing an IPCONFIG /ALL output when the TS has failed so I can see the NIC config please on a location like Onedrive. Anonymise it as required.

    The log to me suggests this is a DNS issue. Is this happening on all machines or just one?

    Thanks,

    Adam

    Thursday, April 16, 2015 4:41 PM