SCCM OSD Capture Task Sequence - Fail to Connect to Capture Server
Howdy All, Im running into an issue at a customer site where my SCCM/MDT integrated task sequence is failing to capture the reference image that it creates. It accesses the server just fine to download/install the windows installation package and other apps, but fails at the capture stage. I have confirmed inside of WinPE that it has a valid IP, and that I can ping the server. I have tested the Network access account set under the computer client properties and have verified the credentials entered into the capture reference image task sequence step. I believe that sometime along the build image process, something is happening that finally prevents the final restart into WinPE from connecting to the network. Here is my reasoning If I PXE boot the VM and F8 a command prompt in WinPE before I start the task sequence, i can map a drive to the capture share, and a share on my laptop just fine. This is with either the network access account credentials and my credentials. Repeating this same test after the task sequence errors out at the capturing stage shows that I cannot map a drive to the capture share or my laptop with either the network access account credentials or my credentials. The errors when mapping a drive from the command prompt vary between "The Server's clock is not synchronized with the primary domain controller's clock" or "Access Denied". I can ping servers and other machines by both name and IP. The relevant part of the log is here <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="22:03:45.890+000" date="05-12-2011" component="TSManager" context="" type="1" thread="280" file="instruction.cxx:2957"> <![LOG[Expand a string: WinPE]LOG]!><time="22:03:45.890+000" date="05-12-2011" component="TSManager" context="" type="0" thread="280" file="executionenv.cxx:782"> <![LOG[Executing command line: osdcapturesystemimage.exe]LOG]!><time="22:03:45.890+000" date="05-12-2011" component="TSManager" context="" type="1" thread="280" file="commandline.cpp:805"> <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="22:03:45.984+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="util.cpp:869"> <![LOG[Validating system for capture...]LOG]!><time="22:03:45.984+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="capturesystemimage.cpp:858"> <![LOG[Target OS system root is C:\Windows]LOG]!><time="22:03:45.984+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="capturesystemimage.cpp:612"> <![LOG[OfflineRegistry::Init("C:\Windows")]LOG]!><time="22:03:45.984+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="offlineregistry.cpp:168"> <![LOG[Loading offline registry hive "C:\Windows\system32\config\software" into HKLM\OfflineRegistry1]LOG]!><time="22:03:45.984+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="offlineregistry.cpp:60"> <![LOG[Loading offline registry hive "C:\Windows\system32\config\system" into HKLM\OfflineRegistry2]LOG]!><time="22:03:46.578+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="offlineregistry.cpp:60"> <![LOG[CurrentControlSet is mapped to ControlSet001]LOG]!><time="22:03:46.656+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="offlineregistry.cpp:215"> <![LOG[Sysprep state set to IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE]LOG]!><time="22:03:46.781+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="offlineos.cpp:386"> <![LOG[Sysprep.exe has marked the OS as generalized for deployment.]LOG]!><time="22:03:46.781+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="offlineos.cpp:399"> <![LOG[Boot volume is C:\]LOG]!><time="22:03:47.046+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="capturesystemimage.cpp:634"> <![LOG[Volume A:\ will not be captured: not a fixed hard drive]LOG]!><time="22:03:47.046+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="capturesystemimage.cpp:516"> <![LOG[Volume D:\ will not be captured: not a fixed hard drive]LOG]!><time="22:03:47.046+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="capturesystemimage.cpp:516"> <![LOG[Volume X:\ will not be captured: not a fixed hard drive]LOG]!><time="22:03:47.046+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="capturesystemimage.cpp:516"> <![LOG[Preparing system for capture...]LOG]!><time="22:03:47.046+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="capturesystemimage.cpp:872"> <![LOG[Successfully loaded the BCD boot system]LOG]!><time="22:03:47.078+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="bootsystem.cpp:1034"> <![LOG[Connection request for "\\SRVSCCM412.core.com\capture$"]LOG]!><time="22:03:47.109+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="tsconnection.cpp:208"> <![LOG[Connecting to "\\SRVSCCM412.core.com\capture$"]LOG]!><time="22:03:47.109+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="tsconnection.cpp:268"> <![LOG[Failed to connect to "\\SRVSCCM412.core.com\capture$" (1208). Retry in 10 seconds.]LOG]!><time="22:03:47.250+000" date="05-12-2011" component="CaptureSystemImage" context="" type="2" thread="1072" file="tsconnection.cpp:348"> <![LOG[Connecting to "\\SRVSCCM412.core.com\capture$"]LOG]!><time="22:03:57.250+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="tsconnection.cpp:268"> <![LOG[Failed to connect to "\\SRVSCCM412.core.com\capture$" (1208). Retry in 17 seconds.]LOG]!><time="22:03:57.265+000" date="05-12-2011" component="CaptureSystemImage" context="" type="2" thread="1072" file="tsconnection.cpp:348"> <![LOG[Connecting to "\\SRVSCCM412.core.com\capture$"]LOG]!><time="22:04:14.265+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="tsconnection.cpp:268"> <![LOG[Failed to connect to "\\SRVSCCM412.core.com\capture$" (1208). Retry in 37 seconds.]LOG]!><time="22:04:14.296+000" date="05-12-2011" component="CaptureSystemImage" context="" type="2" thread="1072" file="tsconnection.cpp:348"> <![LOG[Connecting to "\\SRVSCCM412.core.com\capture$"]LOG]!><time="22:04:51.296+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="tsconnection.cpp:268"> <![LOG[bRetryIfFail, HRESULT=800704b8 (e:\nts_sms_fre\sms\framework\tscore\tsconnection.cpp,338)]LOG]!><time="22:04:51.312+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="tsconnection.cpp:338"> <![LOG[Failed to connect to "\\SRVSCCM412.core.com\capture$" (1208).]LOG]!><time="22:04:51.312+000" date="05-12-2011" component="CaptureSystemImage" context="" type="2" thread="1072" file="tsconnection.cpp:338"> <![LOG[reconnect(), HRESULT=800704b8 (e:\nts_sms_fre\sms\framework\tscore\tsconnection.cpp,129)]LOG]!><time="22:04:51.312+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="tsconnection.cpp:129"> <![LOG[connect(pszPath, pszAccount, pszPassword, L"", uFlags), HRESULT=800704b8 (e:\nts_sms_fre\sms\framework\tscore\tsconnection.cpp,148)]LOG]!><time="22:04:51.312+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="tsconnection.cpp:148"> <![LOG[rUncConnection.connect( sCaptureDestinationDir, sCaptureUsername, sCapturePassword, TS::Utility::Connection::IgnoreCred), HRESULT=800704b8 (e:\nts_sms_fre\sms\client\osdeployment\capturesystemimage\capturesystemimage.cpp,809)]LOG]!><time="22:04:51.312+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="capturesystemimage.cpp:809"> <![LOG[Failed to connect the image capture destination \\SRVSCCM412.core.com\capture$. An extended error has occurred. (Error: 800704B8; Source: Windows)]LOG]!><time="22:04:51.312+000" date="05-12-2011" component="CaptureSystemImage" context="" type="3" thread="1072" file="capturesystemimage.cpp:809"> <![LOG[GetImageFileDestination(UncConnection, sCaptureDestination), HRESULT=800704b8 (e:\nts_sms_fre\sms\client\osdeployment\capturesystemimage\capturesystemimage.cpp,882)]LOG]!><time="22:04:51.312+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="capturesystemimage.cpp:882"> <![LOG[Finished with error code 0x800704B8]LOG]!><time="22:04:51.312+000" date="05-12-2011" component="CaptureSystemImage" context="" type="1" thread="1072" file="capturesystemimage.cpp:943"> <![LOG[Unloading offline SOFTWARE registry hive]LOG]!><time="22:04:51.312+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="offlineregistry.cpp:270"> <![LOG[Unloading offline SYSTEM registry hive]LOG]!><time="22:04:51.343+000" date="05-12-2011" component="CaptureSystemImage" context="" type="0" thread="1072" file="offlineregistry.cpp:284"> <![LOG[Process completed with exit code 2147943608]LOG]!><time="22:04:51.375+000" date="05-12-2011" component="TSManager" context="" type="1" thread="280" file="commandline.cpp:1102"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="22:04:51.375+000" date="05-12-2011" component="TSManager" context="" type="1" thread="280" file="instruction.cxx:3010"> <![LOG[Failed to run the action: Capture the Reference Machine. Any ideas on this one team? With Thanks, - Scott.
May 13th, 2011 12:43am

try re-entering the user details you provided to Capture the image to the Capture share, verify that that user has read/write access to the share specified. My step by step SCCM Guides I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2011 12:48am

Hi Niall, Sorry I should have included that the user credentials that I have specified in the Task Sequence is the actual network access account. From the command prompt in WinPE before I commence the Task Sequence, I can map a drive to the capture share and copy a log file into the share successfully.
May 13th, 2011 12:54am

You most likely made a typo when entering the account information when creating the task sequence. Try enter the information again. Add a pause script before the action the creates the wim, and at that point check the variables and try to connect from the command prompt. / JohanRegards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2011 7:24am

Thanks Johan, I will try this onsite tomorrow. I know how to add a pause script into the TS and test via the command prompt, but i am not sure how to check the TS variables. Is there a command that I can run in the command prompt (like SET) or something similar that will show me the variables including capture username and password that it is using? Thanks again, - Scott
May 14th, 2011 8:26pm

This vbscript displays all variables. pipe it to a textfile... Dim oTSEnv Set oTSEnv = CreateObject("Microsoft.SMS.TSEnvironment") Dim oVar For Each oVar In oTSEnv.GetVariables WScript.Echo " " WScript.Echo " "& oVar & vbTab & oTSEnv(oVar) & vbTab Next / JohanRegards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2011 9:26pm

Johan, Your script worked as you said, however the username and password were confirmed as correct in the variables. It must be something else on their network or server, because mapping a drive to the capture share using a local account I created on the capture server works fine. I have specified the task sequence to use this local account at the 'Capture the reference machine' step and it captured successfully. Thanks for your help guys. It really helps to have others to bounce ideas off, or give you other troubleshooting options! - Scott.
May 16th, 2011 6:05am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics