none
Build and Capture fails capturing with error 80070056

    Question

  • Hi
    I am struggling with capturing of our reference computer with Vista sp1. I am green at Configuration Manager, this is our first installation, and I need some help.

    I have read and tried a lot of helpful hints from this forum and others, but still is not able to get this to work properly. The pc starts on the sequence correctly after advertisement, installs the OS, SCCM client, prepares the OS and SCCM client for capture, boots to Winpe, installing HW support, and then fails with error 80070056. I have tried on different computers, with correct NiC drivers.

    * SCCM 2007 R2 Windows server 2008
    * Vista enterprise sp 1
    * Boot image from WAIK 1.1. NIC drivers are inserted and DP are updated.
    * Network Account set under site settings. Confirmed that this is set correctly
    * Account and password correctly set for access to capture share in task sequence
    * Share and NTFS rights for capture share set to everyone r/w
    * Checked that spanning-tree portfast is set on the switch port
    * After pressing F8 in WinPE, there is no problem with networking.

    Please help, anyone?

    Last part of smsts log:

    Set command line: osdcapturesystemimage.exe TSManager 06.05.2009 08:49:45 1472 (0x05C0)
    Start executing the command line: osdcapturesystemimage.exe TSManager 06.05.2009 08:49:45 1472 (0x05C0)
    !--------------------------------------------------------------------------------------------! TSManager 06.05.2009 08:49:45 1472 (0x05C0)
    Expand a string: WinPE TSManager 06.05.2009 08:49:45 1472 (0x05C0)
    Executing command line: osdcapturesystemimage.exe TSManager 06.05.2009 08:49:45 1472 (0x05C0)
    Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL' CaptureSystemImage 06.05.2009 08:49:45 1536 (0x0600)
    Validating system for capture... CaptureSystemImage 06.05.2009 08:49:45 1536 (0x0600)
    Target OS system root is C:\Windows CaptureSystemImage 06.05.2009 08:49:45 1536 (0x0600)
    OfflineRegistry::Init("C:\Windows") CaptureSystemImage 06.05.2009 08:49:45 1536 (0x0600)
    Loading offline registry hive "C:\Windows\system32\config\software" into HKLM\OfflineRegistry1 CaptureSystemImage 06.05.2009 08:49:45 1536 (0x0600)
    Loading offline registry hive "C:\Windows\system32\config\system" into HKLM\OfflineRegistry2 CaptureSystemImage 06.05.2009 08:49:47 1536 (0x0600)
    CurrentControlSet is mapped to ControlSet001 CaptureSystemImage 06.05.2009 08:49:48 1536 (0x0600)
    Sysprep state set to IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Sysprep.exe has marked the OS as generalized for deployment. CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Boot volume is C:\ CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Volume A:\ will not be captured: not a fixed hard drive CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Volume D:\ will not be captured: not a fixed hard drive CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Volume X:\ will not be captured: not a fixed hard drive CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Preparing system for capture... CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Successfully loaded the BCD boot system CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Connection request for "\\htnsm24.htn.local\captures" CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Connecting to "\\htnsm24.htn.local\captures" CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Failed to connect to "\\htnsm24.htn.local\captures" (86). Retry in 9 seconds. CaptureSystemImage 06.05.2009 08:49:49 1536 (0x0600)
    Executing command line: X:\windows\system32\cmd.exe /k TSBootShell 06.05.2009 08:49:52 816 (0x0330)
    The command completed successfully. TSBootShell 06.05.2009 08:49:52 816 (0x0330)
    Successfully launched command shell. TSBootShell 06.05.2009 08:49:52 816 (0x0330)
    Connecting to "\\htnsm24.htn.local\captures" CaptureSystemImage 06.05.2009 08:49:58 1536 (0x0600)
    Failed to connect to "\\htnsm24.htn.local\captures" (86). Retry in 17 seconds. CaptureSystemImage 06.05.2009 08:49:58 1536 (0x0600)
    Connecting to "\\htnsm24.htn.local\captures" CaptureSystemImage 06.05.2009 08:50:15 1536 (0x0600)
    Failed to connect to "\\htnsm24.htn.local\captures" (86). Retry in 27 seconds. CaptureSystemImage 06.05.2009 08:50:15 1536 (0x0600)
    Connecting to "\\htnsm24.htn.local\captures" CaptureSystemImage 06.05.2009 08:50:42 1536 (0x0600)
    bRetryIfFail, HRESULT=80070056 (e:\nts_sms_fre\sms\framework\tscore\tsconnection.cpp,338) CaptureSystemImage 06.05.2009 08:50:42 1536 (0x0600)
    Failed to connect to "\\htnsm24.htn.local\captures" (86). CaptureSystemImage 06.05.2009 08:50:42 1536 (0x0600)
    reconnect(), HRESULT=80070056 (e:\nts_sms_fre\sms\framework\tscore\tsconnection.cpp,129) CaptureSystemImage 06.05.2009 08:50:42 1536 (0x0600)
    connect(pszPath, pszAccount, pszPassword, L"", uFlags), HRESULT=80070056 (e:\nts_sms_fre\sms\framework\tscore\tsconnection.cpp,148) CaptureSystemImage 06.05.2009 08:50:42 1536 (0x0600)
    rUncConnection.connect( sCaptureDestinationDir, sCaptureUsername, sCapturePassword, TS::Utility::Connection::IgnoreCred), HRESULT=80070056 (e:\nts_sms_fre\sms\client\osdeployment\capturesystemimage\capturesystemimage.cpp,805) CaptureSystemImage 06.05.2009 08:50:42 1536 (0x0600)
    Failed to connect the image capture destination \\htnsm24.htn.local\captures.
    The specified network password is not correct. (Error: 80070056; Source: Windows) CaptureSystemImage 06.05.2009 08:50:42 1536 (0x0600)
    GetImageFileDestination(UncConnection, sCaptureDestination), HRESULT=80070056 (e:\nts_sms_fre\sms\client\osdeployment\capturesystemimage\capturesystemimage.cpp,878) CaptureSystemImage 06.05.2009 08:50:42 1536 (0x0600)
    Finished with error code 0x80070056 CaptureSystemImage 06.05.2009 08:50:43 1536 (0x0600)
    Unloading offline SOFTWARE registry hive CaptureSystemImage 06.05.2009 08:50:43 1536 (0x0600)
    Unloading offline SYSTEM registry hive CaptureSystemImage 06.05.2009 08:50:43 1536 (0x0600)
    Process completed with exit code 2147942486 TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    !--------------------------------------------------------------------------------------------! TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Failed to run the action: Capture the Reference Machine.
    The specified network password is not correct. (Error: 80070056; Source: Windows) TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Sending status message . . . TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Send a task execution status message SMS_TSExecution_ActionFailError TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    MP server HTNSM24.HTN.LOCAL and port 80. SSL=false. CRL=false. TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Site code: HTN TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Client machine name: ssc_venttest01 TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Client Identity: GUID:F85D0B89-2A34-40E6-8836-319FDF7E9A8C TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Advertisement ID: HTN2003D TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Package ID: HTN00016 TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Sending StatusMessage TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Formatted header: TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>28c41657-4473-45e1-b4f1-101aca7e0d64</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2009-05-06T16:50:43Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="4284"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    CLibSMSMessageWinHttpTransport::Send: URL: HTNSM24.HTN.LOCAL:80  CCM_POST /ccm_system/request TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    The request has succeeded. 200 OK TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Set a global environment variable _SMSTSLastActionRetCode=-2147024810 TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Clear local default environment TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Let the parent group (Capture the Reference Machine) decides whether to continue execution TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    The execution of the group (Capture the Reference Machine) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows) TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Failed to run the last action: Capture the Reference Machine. Execution of task sequence failed.
    The specified network password is not correct. (Error: 80070056; Source: Windows) TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Sending status message . . . TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Send a task execution status message SMS_TSExecution_TaskSequenceFailError TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    MP server HTNSM24.HTN.LOCAL and port 80. SSL=false. CRL=false. TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Site code: HTN TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Client machine name: ssc_venttest01 TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Client Identity: GUID:F85D0B89-2A34-40E6-8836-319FDF7E9A8C TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Advertisement ID: HTN2003D TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Package ID: HTN00016 TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Sending StatusMessage TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Formatted header: TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>28c41657-4473-45e1-b4f1-101aca7e0d64</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2009-05-06T16:50:43Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2140"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    CLibSMSMessageWinHttpTransport::Send: URL: HTNSM24.HTN.LOCAL:80  CCM_POST /ccm_system/request TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    The request has succeeded. 200 OK TSManager 06.05.2009 08:50:43 1472 (0x05C0)
    Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,762) TSManager 06.05.2009 09:05:43 1472 (0x05C0)
    Task Sequence Engine failed! Code: enExecutionFail TSManager 06.05.2009 09:05:43 1472 (0x05C0)
    **************************************************************************** TSManager 06.05.2009 09:05:43 1472 (0x05C0)
    Task sequence execution failed with error code 80004005 TSManager 06.05.2009 09:05:43 1472 (0x05C0)
    Cleaning Up. Removing Authenticator TSManager 06.05.2009 09:05:43 1472 (0x05C0)
    Clean up boot image stage path C:\_SMSTaskSequence\WinPE TSManager 06.05.2009 09:05:43 1472 (0x05C0)
    Cleaning up task sequence folder TSManager 06.05.2009 09:05:43 1472 (0x05C0)
    DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,513) TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Successfully unregistered Task Sequencing Environment COM Interface. TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Command line for extension .exe is "%1" %* TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Set command line: "X:\sms\bin\i386\TsProgressUI.exe" /Unregister TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Executing command line: "X:\sms\bin\i386\TsProgressUI.exe" /Unregister TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    ==========[ TsProgressUI started in process 1352 ]========== TsProgressUI 06.05.2009 09:05:44 1116 (0x045C)
    Command line: "X:\sms\bin\i386\TsProgressUI.exe" /Unregister TsProgressUI 06.05.2009 09:05:44 1116 (0x045C)
    Unregistering COM classes TsProgressUI 06.05.2009 09:05:44 1116 (0x045C)
    Unregistering class objects TsProgressUI 06.05.2009 09:05:44 1116 (0x045C)
    Shutdown complete. TsProgressUI 06.05.2009 09:05:44 1116 (0x045C)
    Process completed with exit code 0 TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Successfully unregistered TS Progress UI. TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    g_TSManager.Run(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,654) TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Error Task Sequence Manager failed to execute task sequence. Code 0x80004005 TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Sending error status message TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Sending StatusMessage TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Formatted header: TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>28c41657-4473-45e1-b4f1-101aca7e0d64</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2009-05-06T17:05:44Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="1176"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    CLibSMSMessageWinHttpTransport::Send: URL: HTNSM24.HTN.LOCAL:80  CCM_POST /ccm_system/request TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    The request has succeeded. 200 OK TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Finalize logging request ignored from process 1468 TSManager 06.05.2009 09:05:44 1472 (0x05C0)
    Process completed with exit code 2147500037 TSMBootstrap 06.05.2009 09:05:44 1448 (0x05A8)
    Exiting with return code 0x80004005 TSMBootstrap 06.05.2009 09:05:44 1448 (0x05A8)
    Execution complete. TSBootShell 06.05.2009 09:05:44 832 (0x0340)
    Finalizing logging from process 812 TSBootShell 06.05.2009 09:05:44 832 (0x0340)
    Finalizing logs to root of first available drive TSBootShell 06.05.2009 09:05:44 832 (0x0340)
    LOGGING: Setting log directory to "C:\SMSTSLog". TSBootShell 06.05.2009 09:05:44 832 (0x0340)

    Wednesday, May 06, 2009 7:47 AM

All replies

  • Hi

    it looks like there is a problem with the network share or the password. Check the security rights in the share and the account you use so it has access to the share.

    Failed to connect the image capture destination \\htnsm24.htn.local\captures.
    The specified network password is not correct. (Error: 80070056; Source: Windows)

    Regards Ulf Mansson MCT, MCSE www.lumagate.com
    Wednesday, May 06, 2009 8:22 AM
  • Thanks for quick reply

    I have tried several times to change the account name and password in the task sequence, but it doesn't help. Also I cannot see any activity in the security logs on the server, so it look like no logon attempts are tried at all on the server share.

    But when I try to map a drive to the network share from F8 prompt everything is fine.


    BR

    Wednesday, May 06, 2009 8:47 AM
  • Hi Fina ,

    You are probally not into the domain anymore at that stage but into a workgroup as he has done a sysprep.

    Did you specify the credentials as

    User : Mydonain\CaptureUser
    pwd : pwd

    if that doesn't work , please check dns resolving and/or wins issues

    Regards,

    Kenny
    Hope it helps , Kenny Buntinx www.scug.be/blogs/sccm/
    Wednesday, May 06, 2009 10:13 AM
  • Hi all
    Thanks for your support. I started from scratch, with new boot image and new task sequence, and now it works fine. I did not find the actual error.
    Thursday, May 07, 2009 10:32 AM