Fresh install of sccm2012sp1 (with cu2 i think). no cas, just one Primary, on server2012, DB is on another server2012 box. DP is a separate server08r2 box, and during this testing phase, i am using a boot cd to load winpe and then pull everything from the DP. I have tested pxe and it works (or rather, fails) the same way, so it's not a boot media issue. we haven't switched to pxe full time since right now we're just in the pilot phase of sccm, and so techs still need to be able to image w/ our outgoing altiris servers.
I can build machines just fine using the one task sequence i have for win7x64sp1, except the Latitude E4310. Drivers are there and seem to be installing just fine. Problem is that once it finishes the WinPE portion of the task seq then reboots to regular windows and tries to resume the task sequence, it instantly fails. smsts.log indicates that it can't find a package on the DP: "Error. Received 0x80072ee2 from WinHttpSendRequest."
Now here's the really weird part. the package it's trying to find on the DP shouldn't matter because that step of the task sequence was from BEFORE it partitioned the drive and laid down the image. It should be running a completely different package at that point, but it's not.I can image 3 different model machines all at the same time, side by side on the same switch/subnet and using the same DP, and only the E4310 will fail. It's not a matter of volume - imaging the 4310 by itself still fails. Besides - the DP and network are capable of imaging 30+ machines simultaneously without a hitch.
Here's the relevant section of smsts.log. it almost seems like once it boots to regular windows and minisetup finishes, it starts the entire TS over from the beginning.
The action (Restart in Windows PE) has been skipped because the condition is evaluated to be false TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) MP server http://SCCMPS.xxxxxx.com. Ports 80,443. CRL=false. TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Setting authenticator TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Set authenticator in transport TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Sending StatusMessage TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Setting message signatures. TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Setting the authenticator. TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) CLibSMSMessageWinHttpTransport::Send: URL: SCCMPS.xxxxxx.com:80 CCM_POST /ccm_system/request TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Request was succesful. TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Clear local default environment TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Execution of the instruction (Restart in Windows PE) has been skipped TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Start executing an instruction. Instruction name: Set Computer Name. Instruction pointer: 3 TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Set a global environment variable _SMSTSCurrentActionName=Set Computer Name TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Set a global environment variable _SMSTSNextInstructionPointer=3 TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Set a local default variable SMSTSDisableWow64Redirection TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Set a local default variable _SMSTSRunCommandLineAsUser TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Expand a string: smsswd.exe /run:xxx0001F cscript ComputerName.vbs TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Expand a string: TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Command line for extension .exe is "%1" %* TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Set command line: smsswd.exe /run:xxx0001F cscript ComputerName.vbs TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Start executing the command line: smsswd.exe /run:xxx0001F cscript ComputerName.vbs TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) !--------------------------------------------------------------------------------------------! TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Expand a string: WinPEandFullOS TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) Executing command line: smsswd.exe /run:xxx0001F cscript ComputerName.vbs TSManager 11/14/2013 10:48:21 AM 1268 (0x04F4) [ smsswd.exe ] InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) PackageID = 'xxx0001F' InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) BaseVar = '', ContinueOnError='' InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) ProgramName = 'cscript ComputerName.vbs' InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) SwdAction = '0001' InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) ResolveSource flags: 0x00000000 InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) SMSTSPersistContent: . The content for package xxx0001F will be persisted InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) DownloadOnDemand flag is true. Attempting to download content locally for Package xxx0001F.. InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) Package Flags: 0x1000000 InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) GetDirectoryListing() entered InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) Initializing HTTP transport. InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) Setting URL = http://SCCMDP.xxxxxx.com/SMS_DP_SMSPKG$/xxx0001F. InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) Address=http://SCCMDP.xxxxxx.com, Scheme=http, Object=/SMS_DP_SMSPKG$/xxx0001F, Port=80. InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) Setting Authenticator. InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) Set authenticator in transport InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) WinHttp credentials set InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) CLibSMSMessageWinHttpTransport::Send: URL: SCCMDP.xxxxxx.com:80 PROPFIND /SMS_DP_SMSPKG$/xxx0001F InstallSoftware 11/14/2013 10:48:21 AM 1352 (0x0548) Error. Received 0x80072ee2 from WinHttpSendRequest. InstallSoftware 11/14/2013 10:48:42 AM 1352 (0x0548) connect (sock, (struct sockaddr *) &SockAddrIn, sizeof (struct sockaddr_in)) == 0, HRESULT=8007274c (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,730) InstallSoftware 11/14/2013 10:49:03 AM 1352 (0x0548) socket 'connect' failed; 8007274c InstallSoftware 11/14/2013 10:49:03 AM 1352 (0x0548) hr, HRESULT=80072ee2 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,8936) InstallSoftware 11/14/2013 10:49:03 AM 1352 (0x0548) sending with winhttp failed; 80072ee2 InstallSoftware 11/14/2013 10:49:03 AM 1352 (0x0548) oHttpTransport.Send((char*)S_DAVQUERY, (sizeof(S_DAVQUERY)/sizeof(S_DAVQUERY[0]))-sizeof(char), pReply, nReplySize), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,836) InstallSoftware 11/14/2013 10:49:03 AM 1352 (0x0548) SendResourceRequest() failed with 0x80072ee2 InstallSoftware 11/14/2013 10:49:03 AM 1352 (0x0548) SendResourceRequest(), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,573) InstallSoftware 11/14/2013 10:49:03 AM 1352 (0x0548) oDavRequest.GetDirectoryListing (setDirs, setFiles), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2512) InstallSoftware 11/14/2013 10:49:03 AM 1352 (0x0548) Retrying download... InstallSoftware 11/14/2013 10:49:03 AM 1352 (0x0548) GetDirectoryListing() entered InstallSoftware 11/14/2013 10:49:06 AM 1352 (0x0548) Initializing HTTP transport. InstallSoftware 11/14/2013 10:49:06 AM 1352 (0x0548) Setting URL = http://SCCMDP.xxxxxx.com/SMS_DP_SMSPKG$/xxx0001F. InstallSoftware 11/14/2013 10:49:06 AM 1352 (0x0548) Address=http://SCCMDP.xxxxxx.com, Scheme=http, Object=/SMS_DP_SMSPKG$/xxx0001F, Port=80. InstallSoftware 11/14/2013 10:49:06 AM 1352 (0x0548) Setting Authenticator. InstallSoftware 11/14/2013 10:49:06 AM 1352 (0x0548) Set authenticator in transport InstallSoftware 11/14/2013 10:49:06 AM 1352 (0x0548) WinHttp credentials set InstallSoftware 11/14/2013 10:49:06 AM 1352 (0x0548) CLibSMSMessageWinHttpTransport::Send: URL: SCCMDP.xxxxxx.com:80 PROPFIND /SMS_DP_SMSPKG$/xxx0001F InstallSoftware 11/14/2013 10:49:06 AM 1352 (0x0548) Error. Received 0x80072ee2 from WinHttpSendRequest. InstallSoftware 11/14/2013 10:49:27 AM 1352 (0x0548) connect (sock, (struct sockaddr *) &SockAddrIn, sizeof (struct sockaddr_in)) == 0, HRESULT=8007274d (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,730) InstallSoftware 11/14/2013 10:49:28 AM 1352 (0x0548) socket 'connect' failed; 8007274d InstallSoftware 11/14/2013 10:49:28 AM 1352 (0x0548) hr, HRESULT=80072ee2 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,8936) InstallSoftware 11/14/2013 10:49:28 AM 1352 (0x0548) sending with winhttp failed; 80072ee2 InstallSoftware 11/14/2013 10:49:28 AM 1352 (0x0548) oHttpTransport.Send((char*)S_DAVQUERY, (sizeof(S_DAVQUERY)/sizeof(S_DAVQUERY[0]))-sizeof(char), pReply, nReplySize), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,836) InstallSoftware 11/14/2013 10:49:28 AM 1352 (0x0548) SendResourceRequest() failed with 0x80072ee2 InstallSoftware 11/14/2013 10:49:28 AM 1352 (0x0548) SendResourceRequest(), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,573) InstallSoftware 11/14/2013 10:49:28 AM 1352 (0x0548) oDavRequest.GetDirectoryListing (setDirs, setFiles), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2512) InstallSoftware 11/14/2013 10:49:28 AM 1352 (0x0548) Retrying download... InstallSoftware 11/14/2013 10:49:28 AM 1352 (0x0548) Tried all the available http based locations. SMB based locations will be attempted now. InstallSoftware 11/14/2013 10:49:31 AM 1352 (0x0548) !saSMBContentSources.empty(), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2923) InstallSoftware 11/14/2013 10:49:31 AM 1352 (0x0548) DownloadContentAndVerifyHash(pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, pszUserName, pszUserPassword ), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,3081) InstallSoftware 11/14/2013 10:49:31 AM 1352 (0x0548) DownloadContentLocally(pszSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,3306) InstallSoftware 11/14/2013 10:49:31 AM 1352 (0x0548) TS::Utility::ResolveSource(pszPkgID, sPath, 0, hUserToken, sUserName.empty() ? NULL : sUserName.c_str(), sUserName.empty() ? NULL : sUserPassword.c_str()), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\runcommandline.cpp,395) InstallSoftware 11/14/2013 10:49:31 AM 1352 (0x0548) Failed to resolve the source for SMS PKGID=xxx0001F, hr=0x80070002 InstallSoftware 11/14/2013 10:49:31 AM 1352 (0x0548) cmd.Execute(pszPkgID, sProgramName, dwCmdLineExitCode), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,372) InstallSoftware 11/14/2013 10:49:31 AM 1352 (0x0548) Install Software failed to run command line, hr=0x80070002 InstallSoftware 11/14/2013 10:49:31 AM 1352 (0x0548) Process completed with exit code 2147942402 TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) !--------------------------------------------------------------------------------------------! TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Failed to run the action: Set Computer Name. The system cannot find the file specified. (Error: 80070002; Source: Windows) TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) MP server http://SCCMPS.xxxxxx.com. Ports 80,443. CRL=false. TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Setting authenticator TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Set authenticator in transport TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Sending StatusMessage TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Setting message signatures. TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Setting the authenticator. TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) CLibSMSMessageWinHttpTransport::Send: URL: SCCMPS.xxxxxx.com:80 CCM_POST /ccm_system/request TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Request was succesful. TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Set a global environment variable _SMSTSLastActionRetCode=-2147024894 TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Clear local default environment TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Let the parent group (WinPE) decides whether to continue execution TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Let the parent group (01 - Firm Image W7x64) decide whether to continue execution TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) The execution of the group (01 - Firm Image W7x64) has failed and the execution has been aborted. An action failed. Operation aborted (Error: 80004004; Source: Windows) TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Failed to run the last action: Set Computer Name. Execution of task sequence failed. The system cannot find the file specified. (Error: 80070002; Source: Windows) TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) MP server http://SCCMPS.xxxxxx.com. Ports 80,443. CRL=false. TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Setting authenticator TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Set authenticator in transport TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Sending StatusMessage TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Setting message signatures. TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Setting the authenticator. TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) CLibSMSMessageWinHttpTransport::Send: URL: SCCMPS.xxxxxx.com:80 CCM_POST /ccm_system/request TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Request was succesful. TSManager 11/14/2013 10:49:31 AM 1268 (0x04F4) Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,866) TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Task Sequence Engine failed! Code: enExecutionFail TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) **************************************************************************** TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Task sequence execution failed with error code 80004005 TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Cleaning Up. TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Removing Authenticator TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\qfe\nts\sms\framework\ccmutillib\ccmutillib.cpp,1653) TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Cleaning up task sequence folder TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Unable to delete file D:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing. TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) hr, HRESULT=80070091 (e:\nts_sccm_release\sms\framework\core\ccmcore\ccmfile.cpp,1218) TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Failed to delete directory 'D:\_SMSTaskSequence' TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) (dwRet = ::SetNamedSecurityInfoW ((WCHAR*) pszObjectName, objectType, OWNER_SECURITY_INFORMATION, pOwnerSID, NULL, NULL, NULL)) == ERROR_SUCCESS, HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,6091) TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) SetNamedSecurityInfo() failed. TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) SetObjectOwner() failed. 0x80070005. TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) SetObjectOwner (szFName, SE_FILE_OBJECT, c_szAdministrators), HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,6188) TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) RemoveFile() failed for D:\_SMSTaskSequence\TSEnv.dat. 0x80070005. TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) RemoveDirectoryW failed (0x80070091) for D:\_SMSTaskSequence TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,521) TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Deleting volume ID file D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,521) TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Successfully unregistered Task Sequencing Environment COM Interface. TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Command line for extension .exe is "%1" %* TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) ==========[ TsProgressUI started in process 2020 ]========== TsProgressUI 11/14/2013 11:04:33 AM 2024 (0x07E8) Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TsProgressUI 11/14/2013 11:04:33 AM 2024 (0x07E8) Unregistering COM classes TsProgressUI 11/14/2013 11:04:33 AM 2024 (0x07E8) Unregistering class objects TsProgressUI 11/14/2013 11:04:33 AM 2024 (0x07E8) Shutdown complete. TsProgressUI 11/14/2013 11:04:33 AM 2024 (0x07E8) Process completed with exit code 0 TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) Successfully unregistered TS Progress UI. TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) g_TSManager.Run(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,725) TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) ::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,261) TSManager 11/14/2013 11:04:33 AM 1268 (0x04F4) RegQueryValueExW failed
Here's where I get confused. the only step in my entire TS that's called "Restart in Windows PE" is the very first step. so why should it be evaluating that step at all since it's already been run? It should be running something like step 8 or 10 at this point. In the log here, you can see where it says it's false, but then it continues on as if that's OK. Then it tries to run ComputerName.vbs - a script that i intended to only be run in WinPE, though i suppose it ought to work just fine in regular windows too - all it does is find the machine's serial number via WMI then put the serial into the OSDComputerName variable. Maybe the file it can't find is wherever ccmcache is during WinPE, since there is no X: drive in regular windows. But again - why would it be trying to do that anyway?
And why just this one model? I've successfully run this same task sequence on E4300, E6230, E7240, and Optiplex 755, 780 and 790, all from the same DP without a problem.