SCCM OSD Reboots before Task Sequence Starts

The systems boots, receives the wdsnsp.com via TFTP file. The SCCM background shows.  Says "Initializing Windows Please wait", then Reboots. Usually this happens when you don't have the right NIC drivers injected into the boot image or the
boot image is not distributed to the DP. Neither one of those is the case here. I have rebuilt the DP twice and I know the boot image is good because it works on my other PXE DP's 
I think its either DNS related or something is blocking HTTP traffic from my PXE subnet to my MP because the Client is trying to query the MP for info it fails and the process fails.
Thoughts
smsts.log results:
LOGGING: Finalize process ID set to 764 TSBootShell
12/10/2014 10:03:30 AM 768 (0x0300)
==============================[ TSBootShell.exe ]==============================
TSBootShell 12/10/2014 10:03:30 AM
768 (0x0300)
Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
TSBootShell 12/10/2014 10:03:30 AM
768 (0x0300)
Debug shell is enabled TSBootShell
12/10/2014 10:03:30 AM 768 (0x0300)
Waiting for PNP initialization... TSBootShell
12/10/2014 10:03:30 AM 772 (0x0304)
RAM Disk Boot Path: NET(0)\SMSIMAGES\PRI00018\BOOT.PRI00018.WIM
TSBootShell 12/10/2014 10:03:30 AM
772 (0x0304)
Booted from network (PXE) TSBootShell
12/10/2014 10:03:30 AM 772 (0x0304)
Network(PXE) path: X:\sms\data\ TSBootShell
12/10/2014 10:03:30 AM 772 (0x0304)
Found config path X:\sms\data\ TSBootShell
12/10/2014 10:03:30 AM 772 (0x0304)
Booting from removable media, not restoring bootloaders on hard drive
TSBootShell 12/10/2014 10:03:30 AM
772 (0x0304)
X:\sms\data\WinPE does not exist. TSBootShell
12/10/2014 10:03:30 AM 772 (0x0304)
X:\_SmsTsWinPE\WinPE does not exist. TSBootShell
12/10/2014 10:03:30 AM 772 (0x0304)
Executing command line: wpeinit.exe -winpe TSBootShell
12/10/2014 10:03:30 AM 772 (0x0304)
The command completed successfully. TSBootShell
12/10/2014 10:03:37 AM 772 (0x0304)
Starting DNS client service. TSBootShell
12/10/2014 10:03:37 AM 772 (0x0304)
Executing command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\
TSBootShell 12/10/2014 10:03:38 AM
772 (0x0304)
The command completed successfully. TSBootShell
12/10/2014 10:03:38 AM 772 (0x0304)
==============================[ TSMBootStrap.exe ]==============================
TSMBootstrap 12/10/2014 10:03:38 AM
732 (0x02DC)
Command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\
TSMBootstrap 12/10/2014 10:03:38 AM
732 (0x02DC)
Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
TSMBootstrap 12/10/2014 10:03:38 AM
732 (0x02DC)
Succeeded loading resource DLL 'X:\sms\bin\x64\TSRESNLC.DLL'
TSMBootstrap 12/10/2014 10:03:38 AM
732 (0x02DC)
Current OS version is 6.2.9200.0 TSMBootstrap
12/10/2014 10:03:38 AM 732 (0x02DC)
Adding SMS bin folder "X:\sms\bin\x64" to the system environment PATH
TSMBootstrap 12/10/2014 10:03:38 AM
732 (0x02DC)
PXE Boot with Root = X:\ TSMBootstrap
12/10/2014 10:03:38 AM 732 (0x02DC)
Executing from PXE in WinPE TSMBootstrap
12/10/2014 10:03:38 AM 732 (0x02DC)
Loading TsPxe.dll from X:\sms\bin\x64\TsPxe.dll
TSMBootstrap 12/10/2014 10:03:38 AM
732 (0x02DC)
TsPxe.dll loaded TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Device has PXE booted TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Variable Path: \SMSTemp\2014.12.10.10.53.52.0002.{FF016571-65A5-4FE5-B0F1-FF8DCA3B99D5}.boot.var
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Variable Key Len: 69 TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Succesfully added firewall rule for Tftp TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Executing: X:\sms\bin\x64\smstftp.exe -i 10.63.99.28 get \SMSTemp\2014.12.10.10.53.52.0002.{FF016571-65A5-4FE5-B0F1-FF8DCA3B99D5}.boot.var X:\sms\data\variables.dat
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Command line for extension .exe is "%1" %*
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Set command line: "X:\sms\bin\x64\smstftp.exe" -i 10.63.99.28 get \SMSTemp\2014.12.10.10.53.52.0002.{FF016571-65A5-4FE5-B0F1-FF8DCA3B99D5}.boot.var X:\sms\data\variables.dat
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Executing command line: "X:\sms\bin\x64\smstftp.exe" -i 10.63.99.28 get \SMSTemp\2014.12.10.10.53.52.0002.{FF016571-65A5-4FE5-B0F1-FF8DCA3B99D5}.boot.var X:\sms\data\variables.dat
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Process completed with exit code 0 TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Succesfully removed firewall rule for Tftp TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Successfully downloaded pxe variable file. TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
we are booted using PXE TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
we are booted using PXE and we use a generated password
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Loading Media Variables from "X:\sms\data\variables.dat"
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\qfe\nts\sms\framework\smscrypt\windes.cpp,165)
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\qfe\nts\sms\framework\tscore\tsremovablemedia.cpp,387)
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Verifying media password. TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Loading Media Variables from "X:\sms\data\variables.dat"
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Found network adapter "Intel(R) Ethernet Connection I217-LM" with IP Address 10.63.36.1.
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Loading Media Variables from "X:\sms\data\variables.dat"
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\qfe\nts\sms\framework\smscrypt\windes.cpp,165)
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\qfe\nts\sms\framework\tscore\tsremovablemedia.cpp,387)
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Entering TSMediaWizardControl::GetPolicy. TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00350031004100300031003600420036002D0046003000440045002D0034003700350032002D0042003900370043002D003500340045003600460033003800360041003900310032007D00'
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00420041003300410033003900300030002D0043004100360044002D0034006100630031002D0038004300320038002D003500300037003300410046004300320032004200300033007D00'
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting LogMaxSize to 1000000 TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Setting LogMaxHistory to 1 TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Setting LogLevel to 0 TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Setting LogEnabled to 1 TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Setting LogDebug to 1 TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
UEFI: false TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Loading variables from the Task Sequencing Removable Media.
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Loading Media Variables from "X:\sms\data\variables.dat"
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting SMSTSMP TS environment variable TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Setting _SMSMediaGuid TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSBootMediaPackageID TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSHTTPPort TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSHTTPSPort TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSIISSSLState TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSLaunchMode TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSMediaPFX TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSPublicRootKey TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSSiteCode TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSSiteSigningCertificate TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSUseFirstCert TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSx64UnknownMachineGUID TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Setting _SMSTSx86UnknownMachineGUID TS environment variable
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Root CA Public Certs= TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Missing root CA environment variable from variables file
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Support Unknown Machines: 0 TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Custom hook from X:\\TSConfig.INI is TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
No hook is found to be executed before downloading policy
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Authenticator from the environment is empty.
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Need to create Authenticator Info using PFX
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Initialized CStringStream object with string: 33076618-60b1-4ac5-a541-bebf999700d6;2014-12-10T18:03:38Z.
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Set media certificate in transport TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
Set authenticator in transport TSPxe
12/10/2014 10:03:38 AM 732 (0x02DC)
CLibSMSMessageWinHttpTransport::Send: URL:companyx.com:80  GET /SMS_MP/.sms_aut?MPKEYINFORMATIONMEDIA
TSPxe 12/10/2014 10:03:38 AM
732 (0x02DC)
Executing command line: X:\WINDOWS\system32\cmd.exe /k
TSBootShell 12/10/2014 10:03:44 AM
768 (0x0300)
The command completed successfully. TSBootShell
12/10/2014 10:03:44 AM 768 (0x0300)
Successfully launched command shell. TSBootShell
12/10/2014 10:03:44 AM 768 (0x0300)
WinHttpReceiveResponse (hRequest, NULL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,8927)
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
failed to receive response with winhttp; 80072ee2
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
m_pHttpTransport->Send (0, 0, pServerReply, nReplySize), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,5159)
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
MPKeyInformation.RequestMPKeyInformationForMedia(szTrustedRootKey), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,9410)
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
Failed to get information for MP: http://companyX.com. 80072ee2.
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
sMP.length() > 0, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstraputil.cpp,1526)
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
TSMBootstrapUtil::SelectMP ( sSMSTSMP.c_str(), sMediaPfx.c_str(), sMediaGuid.c_str(), sAuthenticator.c_str(), sEnterpriseCert.c_str(), sServerCerts.c_str(), nHttpPort, nHttpsPort, bUseCRL, sSiteCode, sAssignedSiteCode, sMP, sCertificates, sX86UnknownMachineGUID,
sX64UnknownMachineGUID), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,907)
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
Exiting TSMediaWizardControl::GetPolicy. TSPxe
12/10/2014 10:04:47 AM 732 (0x02DC)
GetPolicy(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,2492)
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
RunWizardForPXE(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,2834)
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
oTSMediaWizardControl.Run( sMediaRoot, true, sTSLaunchMode ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,1078)
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
Execute( eExecutionEnv, sConfigPath, sTSXMLFile, uBootCount, &uExitCode ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,1226)
TSPxe 12/10/2014 10:04:47 AM
732 (0x02DC)
Exiting with return code 0x80004005 TSPxe
12/10/2014 10:04:47 AM 732 (0x02DC)
Execution complete. TSBootShell
12/10/2014 10:04:47 AM 772 (0x0304)
hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493)
TSBootShell 12/10/2014 10:04:47 AM
772 (0x0304)
m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335)
TSBootShell 12/10/2014 10:04:47 AM
772 (0x0304)
this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,553)
TSBootShell 12/10/2014 10:04:47 AM
772 (0x0304)
::RegOpenKeyExW (HKEY_LOCAL_MACHINE, sKey.c_str(), 0, KEY_READ, &hSubKey), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,809)
TSBootShell 12/10/2014 10:04:47 AM
772 (0x0304)
RegOpenKeyExW is unsuccessful for Software\Microsoft\SMS\Task Sequence
TSBootShell 12/10/2014 10:04:47 AM
772 (0x0304)
GetTsRegValue() is unsuccessful. 0x80070002.
TSBootShell 12/10/2014 10:04:47 AM
772 (0x0304)
End program: TSBootShell
12/10/2014 10:04:47 AM 772 (0x0304)
Finalizing logging from process 764 TSBootShell
12/10/2014 10:04:47 AM 772 (0x0304)
Finalizing logs to root of first available drive
TSBootShell 12/10/2014 10:04:47 AM
772 (0x0304)
LOGGING: Setting log directory to "C:\SMSTSLog".
TSBootShell 12/10/2014 10:04:47 AM
772 (0x0304)

Under Tools in CMTrace is an "Error Lookup" function where you can type in an error code and it will [magically] give you the meaning of that error code.
80072ee2 = "The operation timed out"
or as the log says "failed to receive response"
These mean exactly what they say: The client agent sent some traffic off but never heard back. There is no way for it know why it didn't hear back. It could be one of a million different things.
In this case, strictly by reviewing the logs, you can see that it tried to communicate with companyx.com:80 via http.
The log line is "CLibSMSMessageWinHttpTransport::Send: URL:companyx.com:80  GET /SMS_MP/.sms_aut?"
So, now you can troubleshoot why a response is never received. As mentioned, this could be many, many different things including: DNS, routing, firewall, security appliance, MP not healthy, IIS not healthy, cosmic radiation, etc.
Jason | http://blog.configmgrftw.com | @jasonsandys

Similar Messages

  • SCCM OSD using MDT task sequence

    Hi all,
    Is it right if I capture an image from a Windows 7 machine using SCCM capture media, then deploy it to an existing Windows XP(for migration) using "Create a new
    Microsoft Deployment task sequence" wizard (this option appears after integrating MDT with SCCM)? I have this scenario but the targeted machine is not getting joined to domain, I suspect the issue is with sysprep as image that we get using sccm capture
    media does not sysprep the reference machine.
    What do you think?

    I checked the logs and I believe the issue is with sysprep, I found the below in the netsetup.log:
    12/15/2014 20:18:54:823 NetpChangeMachineName: from 'OSD-PC' to 'OSD-PC' using 'ssc.gov.jo\majmajali' [0x1000]
    12/15/2014 20:18:54:823 NetpDsGetDcName: trying to find DC in domain 'SSC', flags: 0x1010
    12/15/2014 20:18:54:823 NetpDsGetDcName: found DC '\\DC5' in the specified domain
    12/15/2014 20:18:54:823 NetpGetLsaPrimaryDomain: status: 0x0
    12/15/2014 20:18:54:823 NetpGetDnsHostName: Read NV Domain: ssc.gov.jo
    12/15/2014 20:18:54:838 NetpGetComputerObjectDn: Cracking account name SSC\OSD-PC$ on
    \\DC5
    12/15/2014 20:18:54:838 NetpGetComputerObjectDn: Crack results:  (Account already exists) DN = CN=OSD-PC,CN=Computers,DC=ssc,DC=gov,DC=jo
    12/15/2014 20:18:54:838 NetpModifyComputerObjectInDs: Initial attribute values:
    12/15/2014 20:18:54:838   DnsHostName  =  OSD-PC.ssc.gov.jo
    12/15/2014 20:18:54:838   ServicePrincipalName  =  HOST/OSD-PC.ssc.gov.jo  RestrictedKrbHost/OSD-PC.ssc.gov.jo  HOST/OSD-PC  RestrictedKrbHost/OSD-PC
    12/15/2014 20:18:54:838 NetpModifyComputerObjectInDs: Computer Object already exists in OU:
    12/15/2014 20:18:54:838   DnsHostName  =  OSD-PC.ssc.gov.jo
    12/15/2014 20:18:54:838   ServicePrincipalName  =  TERMSRV/OSD-PC.ssc.gov.jo  RestrictedKrbHost/OSD-PC.ssc.gov.jo  HOST/OSD-PC.ssc.gov.jo  TERMSRV/OSD-PC  RestrictedKrbHost/OSD-PC  HOST/OSD-PC
    12/15/2014 20:18:54:838 NetpModifyComputerObjectInDs: There are _NO_ modifications to do
    12/15/2014 20:18:54:838 ldap_unbind status: 0x0
    12/15/2014 20:18:54:838 NetpChangeMachineName: status of setting DnsHostName and SPN: 0x0
    The windows XP machine name to be migrated is OSD-Test, but the task sequence is making computer name the same as the reference (OSD-PC) despite task sequence is already configured to migrate that XP machine network and windows configuration (including
    hostname).
    I believe you are right, I should create build and capture task sequence in MDT, and in the reference machine I run the below command to capture an image:
    cscript “\\MDT server\Deploymentshar1$\scripts\litetouch.vbs.  After this capture is done the machine will get into oobe (if all is ok).  What do you
    think?

  • UDI OSD Task Sequences started failing with 0x80070002 error in SCCM 2012

    This is kind of long, but here goes...
    We built a UDI task sequence in SCCM 2012 (with MDT integration) that we were testing for deployment of a couple of different Win7 images.  We customized the UDI experience thru the UDI wizard and XML file and OS deployment worked as expected
    thru the task sequence (testing on Hyper-V VMs). Recently, this UDI TS started failing with error 0x80070002  during what appears to be the "Use Toolkit Package" step.  This is after the OS image has already been laid down and after the ConfigMgr
    client has been installed/configured.  The SMSTS.log reports "Failed to open the task sequence key HKLM\Software\Microsoft\SMS\Task Sequence.  Error code 0x8007002"  Among other errors...I will post the entire log below...
    After the error during deployment, Win7 will boot normally, however, you have no network connectivity and it appears the proper network driver didn't get loaded in the OS. Combine this with the fact that the TS should have joined the machine to our domain,
    but you can't login because no network.. Im not sure if the network issue is a product of the TS failing early or the actual cause of the TS failure. 
    Anyway, I attempted to build another UDI task sequence using the same boot image and toolkit/settings packages, but am experiencing the same error during deployment.  We have a few OSD task sequences built without UDI and those all still work just fine. 
    So, I am at a loss for where the root problem lies.  Any suggestions or assistance would be greatly appreciated.
    Here is the entire SMSTS.log and BDD.log...
    https://skydrive.live.com/redir?resid=D65B1C4362892A26!110&authkey=!AKu5mOvDsXaEgvc
    Thanks
    Richie Tenhet

    your failure does appear to be network (driver or otherwise) or dns related and it cannot contact the management point FQDN just around the time where it should download and execute the
    Use Toolkit Package step...
    "Starting Task Sequence Engine . . . "
    "Non fatal error 0x80072ee7 in sending task sequence execution status message to MP"
    "Start executing an instruciton. Instruction name: Use Toolkit Package. Instruction pointer: 83"
    "unknown host (gethostbyname failed)"
    "sending with winhttp failed; 80072ee7"
    "Tried all the available http based locations. SMB based locations will be attempted now."
    "Failed to resolve the source for SMS PKGID=P0100015, hr=0x80070002"
    "Failed to run the action: Use Toolkit Package.
    The system cannot find the file specified. (Error: 80070002; Source: Windows)"
    that said, check that the package referenced above actually exists and is the correct source version on your distribution points, also verify (press F8 and check can you ping the FQDN of your management point) that you have network connectivity
    around the time of the failure.
    Step by Step Configuration Manager Guides >
    2012 Guides |
    2007 Guides | I'm on Twitter > ncbrady

  • SCCM 2012 SP1 MDT task sequence fails on reboot does not retain ip

    we are having a sccm 2012 sp1 server that used for installation of win 8.1 Enterprise , the task sequence works perfectly fine but when we  run the same task on HP Elite 8300 system having Intel 82579LM Adapter from Windows XP , after the reboot the
    task fails as no ip address is assigned the NIC , We did download the WInPE Adapter drivers from HP site and injecting to the x86 Boot Image (6.2.9200) however the task still fails ,
    Our environment uses all static ip address , the same task as mentioned earlier has worked fine with Different brands of HP elite 8200/8100 , infact the elite 8200 also uses the same NIC card
    Find below the smsts.log file
    Main error in the log file is
    No physical network adapters found    OSDNetSettings    2/12/2014 1:02:38 AM    2064 (0x0810)
    Found network adapter "Intel(R) 82579LM Gigabit Network Connection" with IP Address 169.254.181.151.    TSMBootstrap    2/12/2014 1:05:41 PM    1984 (0x07C0)
    Xtract from LOG
    SMSTSRebootDelay=60    Reboot    2/12/2014 1:01:56 AM    3496 (0x0DA8)
    SMSTSRebootMessage=A new Microsoft Windows operating system is being installed. The computer must restart to continue.    Reboot    2/12/2014 1:01:56 AM    3496 (0x0DA8)
    SMSTSRebootRequested=WinPE    Reboot    2/12/2014 1:01:56 AM    3496 (0x0DA8)
    Process completed with exit code 0    TSManager    2/12/2014 1:01:56 AM    1876 (0x0754)
    !--------------------------------------------------------------------------------------------!    TSManager    2/12/2014 1:01:56 AM    1876 (0x0754)
    Successfully completed the action (Restart to Windows PE) with the exit win32 code 0    TSManager    2/12/2014 1:01:56 AM    1876 (0x0754)
    Set authenticator in transport    TSManager    2/12/2014 1:01:56 AM    1876 (0x0754)
    Set a global environment variable _SMSTSLastActionRetCode=0    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Set a global environment variable _SMSTSLastActionSucceeded=true    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Clear local default environment    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Updated security on object E:\_SMSTaskSequence.    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Set a global environment variable _SMSTSNextInstructionPointer=59    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Set a TS execution environment variable _SMSTSNextInstructionPointer=59    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Set a global environment variable _SMSTSInstructionStackString=0 41 57    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Set a TS execution environment variable _SMSTSInstructionStackString=0 41 57    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Save the current environment block    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Executing command line: "bcdedit.exe"    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    CreateProcess failed. Code(0x80070002)    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Command line execution failed (80070002)    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    Staging boot image UNB0003A    TSManager    2/12/2014 1:01:57 AM    1876 (0x0754)
    ResolveSource flags: 0x00000000    TSManager    2/12/2014 1:01:59 AM    1876 (0x0754)
    SMSTSPersistContent: . The content for package UNB0003A will be persisted    TSManager    2/12/2014 1:01:59 AM    1876 (0x0754)
    Set authenticator in transport    TSManager    2/12/2014 1:01:59 AM    1876 (0x0754)
    WinHttp credentials set    TSManager    2/12/2014 1:01:59 AM    1876 (0x0754)
    List of files to be downloaded    TSManager    2/12/2014 1:01:59 AM    1876 (0x0754)
    Downloaded file from http://unb-ho-sccmdb.exch1.mas.unb.com:80/SMS_DP_SMSPKG$/UNB0003A/sccm?/WinPE.UNB0003A.wim to E:\_SMSTaskSequence\Packages\UNB0003A\WinPE.UNB0003A.wim     TSManager    2/12/2014 1:02:22 AM    1876
    (0x0754)
    VerifyContentHash: Hash algorithm is 32780    TSManager    2/12/2014 1:02:22 AM    1876 (0x0754)
    Found boot image E:\_SMSTaskSequence\Packages\UNB0003A\WinPE.UNB0003A.wim    TSManager    2/12/2014 1:02:25 AM    1876 (0x0754)
    Copying boot image locally...    TSManager    2/12/2014 1:02:25 AM    1876 (0x0754)
    Failed to find ADK installation root registry key    TSManager    2/12/2014 1:02:32 AM    1876 (0x0754)
    Opening image file E:\_SMSTaskSequence\WinPE\sources\boot.wim    TSManager    2/12/2014 1:02:32 AM    1876 (0x0754)
    Applying image 1 to volume E:\_SMSTaskSequence\WinPE    TSManager    2/12/2014 1:02:32 AM    1876 (0x0754)
    Closing image file E:\_SMSTaskSequence\WinPE\sources\boot.wim    TSManager    2/12/2014 1:02:35 AM    1876 (0x0754)
    Capturing WinPE bootstrap settings    TSManager    2/12/2014 1:02:35 AM    1876 (0x0754)
    Environment scope successfully created: Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78}    TSManager    2/12/2014 1:02:35 AM    1876 (0x0754)
    Executing command line: "osdnetsettings.exe" capture adapters:true scope:Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78}    TSManager    2/12/2014 1:02:35 AM    1876 (0x0754)
    ==============================[ OSDNetSettings.exe ]===========================    OSDNetSettings    2/12/2014 1:02:36 AM    2064 (0x0810)
    Command line: "osdnetsettings.exe" capture adapters:true scope:Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78}    OSDNetSettings    2/12/2014 1:02:36 AM    2064 (0x0810)
    No adapters found with non-empty DNSDomainSuffixSearchOrder    OSDNetSettings    2/12/2014 1:02:36 AM    2064 (0x0810)
    Adapter "ROOT\SYMC_TEEFER2MP\0000" not found    OSDNetSettings    2/12/2014 1:02:38 AM    2064 (0x0810)
    No physical network adapters found    OSDNetSettings    2/12/2014 1:02:38 AM    2064 (0x0810)
    OSDNetSettings finished: 0x00000000    OSDNetSettings    2/12/2014 1:02:38 AM    2064 (0x0810)
    Process completed with exit code 0    TSManager    2/12/2014 1:02:38 AM    1876 (0x0754)
    Installing boot image to hard drive    TSManager    2/12/2014 1:02:38 AM    1876 (0x0754)
    Backing up existing boot system before trying to set up new boot system    TSManager    2/12/2014 1:02:38 AM    1876 (0x0754)
    BootLoader::backup: C:\, E:\_SMSTaskSequence\backup    TSManager    2/12/2014 1:02:39 AM    1876 (0x0754)
    BootLoader::restore: E:\_SMSTaskSequence\WinPE, C:\    TSManager    2/12/2014 1:02:43 AM    1876 (0x0754)
    Saving bcd store to E:\_SMSTaskSequence\WinPE\boot\BCD    TSManager    2/12/2014 1:02:43 AM    1876 (0x0754)
    Executing command line: "E:\_SMSTaskSequence\WinPE\SMS\bin\i386\bootsect.exe" /NT60 SYS /MBR    TSManager    2/12/2014 1:02:45 AM    1876 (0x0754)
    Process completed with exit code 0    TSManager    2/12/2014 1:02:46 AM    1876 (0x0754)
    Updated security on object E:\_SMSTaskSequence.    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Set a global environment variable _SMSTSNextInstructionPointer=59    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Set a TS execution environment variable _SMSTSNextInstructionPointer=59    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Set a global environment variable _SMSTSInstructionStackString=0 41 57    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Set a TS execution environment variable _SMSTSInstructionStackString=0 41 57    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Save the current environment block    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Updated security on object D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Updated security on object E:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Updated security on object E:\_SMSTaskSequence.    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Set a global environment variable _SMSTSNextInstructionPointer=59    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Set a TS execution environment variable _SMSTSNextInstructionPointer=59    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Set a global environment variable _SMSTSInstructionStackString=0 41 57    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Set a TS execution environment variable _SMSTSInstructionStackString=0 41 57    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Save the current environment block    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    Expand a string: %_SMSTSMDataPath%\Logs    TSManager    2/12/2014 1:02:47 AM    1876 (0x0754)
    <![LOG[LOGGING: Finalize process ID set to 780]LOG]!><time="01:04:01.537+480" date="02-12-2014" component="TSBootShell" context="" type="1" thread="784" file="tslogging.cpp:1495">  
          1/1/1601 12:00:00 AM    1995266923 (0x76ED5B6B)
    ==============================[ TSBootShell.exe ]==============================    TSBootShell    2/12/2014 1:04:01 AM    784 (0x0310)
    Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'    TSBootShell    2/12/2014 1:04:01 AM    784 (0x0310)
    Debug shell is enabled    TSBootShell    2/12/2014 1:04:01 AM    784 (0x0310)
    Waiting for PNP initialization...    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    RAM Disk Boot Path: MULTI(0)DISK(0)RDISK(0)PARTITION(3)\_SMSTASKSEQUENCE\WINPE\SOURCES\BOOT.WIM    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    WinPE boot path: E:\_SMSTASKSEQUENCE\WINPE\SOURCES\BOOT.WIM    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    Booted from fixed disk    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    Found config path E:\_SMSTaskSequence    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,549)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,549)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,430)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    Can not find DeploymentType in file TsmBootstrap.ini or the file doesn't exist. This is not running on Windows To Go.    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,430)    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    Restoring boot system from E:\_SMSTaskSequence\backup    TSBootShell    2/12/2014 1:04:01 AM    796 (0x031C)
    Successfully loaded the BCD boot system    TSBootShell    2/12/2014 1:04:05 AM    796 (0x031C)
    Successfully loaded an exported NTLDR boot system    TSBootShell    2/12/2014 1:04:05 AM    796 (0x031C)
    BootLoader::restore: E:\_SMSTaskSequence\backup, C:\    TSBootShell    2/12/2014 1:04:05 AM    796 (0x031C)
    Successfully merged logs from cache.    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515)    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337)    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,430)    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Loading bootstrap settings from E:\_SMSTaskSequence\WinPE    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Loading saved WinPE settings    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00450037004500350042004200360039002D0036003100390038002D0034003500350035002D0042003500430041002D003600430034003600410032004200350045004200370038007D00'    TSBootShell  
     2/12/2014 1:04:06 AM    796 (0x031C)
    Environment scope successfully created: Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78}    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Configuring WinPE bootstrap settings    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Creating WinPE answer file    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Setting hive location to "X:\windows\system32"    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Getting namespace "Microsoft-Windows-Setup" for architecture "x86"    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Configuring global network settings    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Join type:     TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    DNS domain: exch1.mas.unb.com    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    DNS domain search order:     TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    IP filter sec enabled: false    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    No adapters found in environment.  Performing global configuration only.    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Writing configuration information to E:\_SMSTaskSequence\WinPE\WinPeUnattend.xml    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Successfully saved configuration information to E:\_SMSTaskSequence\WinPE\WinPeUnattend.xml    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    Executing command line: wpeinit.exe -winpe    TSBootShell    2/12/2014 1:04:06 AM    796 (0x031C)
    The command completed successfully.    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    Starting DNS client service.    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    Finalizing network settings    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    No adapters found in environment.  Performing global finalization only.    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    Finalizing global network settings    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    DNS domain: exch1.mas.unb.com    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    DNS domain search order:     TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    DNS for WINS enabled: false    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    LMHosts file enabled: true    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    Host lookup file:     TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    WINS scope ID:     TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    Executing command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:E:\_SMSTaskSequence    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    The command completed successfully.    TSBootShell    2/12/2014 1:05:40 AM    796 (0x031C)
    ==============================[ TSMBootStrap.exe ]==============================    TSMBootstrap    2/12/2014 1:05:40 AM    1984 (0x07C0)
    Command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:E:\_SMSTaskSequence    TSMBootstrap    2/12/2014 1:05:40 AM    1984 (0x07C0)
    Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'    TSMBootstrap    2/12/2014 1:05:40 AM    1984 (0x07C0)
    Succeeded loading resource DLL 'X:\sms\bin\i386\TSRESNLC.DLL'    TSMBootstrap    2/12/2014 1:05:40 AM    1984 (0x07C0)
    Adding SMS bin folder "X:\sms\bin\i386" to the system environment PATH    TSMBootstrap    2/12/2014 1:05:40 AM    1984 (0x07C0)
    Failed to open PXE registry key. Not a PXE boot.    TSMBootstrap    2/12/2014 1:05:40 AM    1984 (0x07C0)
    Resuming Task Sequence in WinPE    TSMBootstrap    2/12/2014 1:05:40 AM    1984 (0x07C0)
    Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00350031004100300031003600420036002D0046003000440045002D0034003700350032002D0042003900370043002D003500340045003600460033003800360041003900310032007D00'    TSMBootstrap  
     2/12/2014 1:05:40 AM    1984 (0x07C0)
    Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}    TSMBootstrap    2/12/2014 1:05:40 AM    1984 (0x07C0)
    Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00420041003300410033003900300030002D0043004100360044002D0034006100630031002D0038004300320038002D003500300037003300410046004300320032004200300033007D00'    TSMBootstrap  
     2/12/2014 1:05:40 AM    1984 (0x07C0)
    Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}    TSMBootstrap    2/12/2014 1:05:40 AM    1984 (0x07C0)
    Loading the Task Sequencing Environment from "E:\_SMSTaskSequence\TSEnv.dat".    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    Updating the local data path in the Task Sequencing Environment.    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    Setting LogMaxSize to 1000000    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    Setting LogMaxHistory to 1    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    Setting LogLevel to 0    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    Setting LogEnabled to 1    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    Setting LogDebug to 1    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    Command line for extension .exe is "%1" %*    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    Set command line: "X:\sms\bin\i386\TsProgressUI.exe" /Register:WinPE    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    Executing command line: "X:\sms\bin\i386\TsProgressUI.exe" /Register:WinPE    TSMBootstrap    2/12/2014 1:05:41 AM    1984 (0x07C0)
    ==========[ TsProgressUI started in process 2004 ]==========    TsProgressUI    2/12/2014 1:05:41 AM    2008 (0x07D8)
    Command line: "X:\sms\bin\i386\TsProgressUI.exe" /Register:W
    In dire need of help,
    I have already gone through the below articles on the NET
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/0fe5cded-51cf-487a-97e3-837fb3426a3e/install-software-updates-in-osd-reboots-leaves-clients-in-provisioning-mode?forum=configmgrosd
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/c590e486-d3ca-423f-8953-e596160f3567/updates-hang-during-osd-kb2509007-not-working-for-me?forum=configmgrosd
    Awating response,
    Hasan Reza

    Well Finally I sorted my issue ,
    Just want to share the solution, may be it would be helpful to some one else and save some times
    The problem was that the Xp images has lot of hidden NIC installed , this would not allow the system to work with the correct NIC card and Ip address (System -> View Hidden Devices) , what I did 2 things
    1) Copied the OSD Script folder from the SCCM Server to the Client pc and ran that ztigather.wsf and captured the output , it was evident that it showed capturing multiple adapters , (There are some blogs that pointed out that OSD can capture only one nic
    due to the only one Adapter0 section being defined in the ZTIgather.xml file,)
    2) I open the registry at the xp pc navigated to HKLM-> System ->Current Control Set-> Services-> TCPIP -> Parameters-> Interfaces ->
    Expect for the NIC card that had the Ip address assigned I deleted all other nic card's guid,
    As then post running deleting the old scanstate (USMTUTIL /rd c:\statestore) , reran the task and VOILA..
    All worked fine , below are the two post I followed , though notvery relevant but they were helpful and help me reached the conclusion.
    Thanks,
    Hasan Reza.
    http://systemscenter.ru/mdt2012.en/ztigatherwsf.htm
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/8acb7cd1-7028-4ffe-86c9-eb43041cf8b3/how-do-i-get-rid-of-second-169254xx-ipv4-address-on-windows-server-2008-sp2-x86?forum=winservergen

  • SCCM's OSD (not MDT): Task sequence can be tweaked into imaging Windows+VHD Native Boot, but can it go all the way and deploy?

    Hello All,
    What I am trying to do is use SCCM's own OSD Task Sequence / Windows PE to deploy an operating system that boots using VHD Native Boot. (C:\ = VHD File  with Windows, D:\ Data drive with BCDBoot).
    MDT 2013 Can do it I've been told, but I am putting off MDT until Windows 10 if I can get away with it.
    TechNet VHD Native Boot on Windows 8.1:
    http://technet.microsoft.com/en-us/library/hh825689.aspx
    http://technet.microsoft.com/en-us/library/hh825691.aspx
    The good news is it is working up to the "Apply Operating System" phase, but that apply operating system phase is reported as an error even though it completes successfully. It can't clean up the SMSTS folder it's looking for on the C:\ because
    it's been moved over to the D:\ by a diskpart script. We are left with the deployment working but requiring IT staff to deal with the OOBE Personalization wizard and adding each PC to the domain manually. From that point on the SCCM client can do the rest,
    which works for US before we upgrade to Windows 10 with utilizing MDT.
    I am not talking about deploying an OS to a VHD file and putting that file on a network share i.e.
    http://blogs.technet.com/b/configurationmgr/archive/2013/10/31/new-in-system-center-2012-r2-configuration-manager-deploying-an-operating-system-to-a-virtual-hard-drive-vhd.aspx
    I reported getting the diskpart script working first here:
    https://social.technet.microsoft.com/Forums/en-US/ff124f09-1d2e-4fc4-a5b6-63b683f3d208/native-vhd-boot-deployments-from-sccm-2012-r2?forum=configmanagerosd
    Here it is:
    rem work around any USB disk left in or any CDROM detected by PE as drive D
    select volume D
    assign letter=F noerr
    rem select the formatted volume and reassign it's drive letter
    select volume C
    assign letter=D
    rem create and setup VHD file
    create vdisk file=D:\DEV_WIN81.VHD maximum=250000 type=expandable
    select vdisk file=D:\DEV_WIN81.VHD
    attach vdisk
    create partition primary
    active
    format FS=NTFS quick label="Developer Win81 VHD"
    assign letter=C
    rescan
    exit
    (type=fixed is better for performance - we'll surely activate when we have dual boot 8.1 / Windows 10 later for the Win10 VHD's)
    The Task Sequence looks like this:
    I'd like to add a few more steps after apply operating system if I can, but I have to resolve this error with "Apply Operating system before I can go further."
    Question:
    Can an OSD guru tell me if there are any Task Sequence Variables we could throw at this to make the Apply Operating System sequence complete without error so we can do all SCCM OSD Deployment steps?
    If we can, then someone (not me) gets to add a new TechNet blog post about this being possible. It's my understanding presently that only MDT can support deploying WIM files into VHDs on Workstations, that boot them.
    The install image was created using dism to convert a VHD from a Hyper-V host into a wim. I know I'm meant to use SCCM to capture it, but I don't think that's causing this problem because when we are deploying from that image to a HDD without VHD we don't
    get any issues.
    I'm only allowed enough characters to paste the tail end of the apply operating system phase only:
    <![LOG[Execution engine result code: Success (0)]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:929">
    <![LOG[Cleaning Up.]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:675">
    <![LOG[Removing Authenticator]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:686">
    <![LOG[shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\ccmutillib\ccmutillib.cpp,1660)]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="ccmutillib.cpp:1660">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:2329">
    <![LOG[Unable to delete file C:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="ccmfile.cpp:1056">
    <![LOG[hr, HRESULT=80070091 (e:\nts_sccm_release\sms\framework\core\ccmcore\ccmfile.cpp,1218)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="ccmfile.cpp:1218">
    <![LOG[Failed to delete directory 'C:\_SMSTaskSequence']LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="ccmfile.cpp:1218">
    <![LOG[(dwRet = ::SetNamedSecurityInfoW ((WCHAR*) pszObjectName, objectType, OWNER_SECURITY_INFORMATION, pOwnerSID, NULL, NULL, NULL)) == ERROR_SUCCESS, HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,6675)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="utils.cpp:6675">
    <![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="3" thread="960" file="utils.cpp:6675">
    <![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="3" thread="960" file="utils.cpp:6687">
    <![LOG[SetObjectOwner (szFName, SE_FILE_OBJECT, c_szAdministrators), HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,6772)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="utils.cpp:6772">
    <![LOG[RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="3" thread="960" file="utils.cpp:6816">
    <![LOG[RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="utils.cpp:6900">
    <![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="resolvesource.cpp:506">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="resolvesource.cpp:508">
    <![LOG[Deleting volume ID file D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="resolvesource.cpp:506">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="resolvesource.cpp:508">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="environmentlib.cpp:910">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="commandline.cpp:228">
    <![LOG[Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="commandline.cpp:731">
    <![LOG[Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="commandline.cpp:827">
    <![LOG[==========[ TsProgressUI started in process 8012 ]==========]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:330">
    <![LOG[Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="0" thread="8040" file="winmain.cpp:332">
    <![LOG[Unregistering COM classes]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:204">
    <![LOG[Unregistering class objects]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:495">
    <![LOG[Shutdown complete.]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:512">
    <![LOG[Process completed with exit code 0]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="commandline.cpp:1123">
    <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:2903">
    <![LOG[Sending success status message]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:784">
    <![LOG[MP server http://OUR-SCCM.ourcompany.com. Ports 80,443. CRL=false.]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:5881">
    <![LOG[Setting authenticator]LOG]!><time="18:29:37.785-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:5903">
    <![LOG[Set authenticator in transport]LOG]!><time="18:29:37.785-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:7734">
    <![LOG[Sending StatusMessage]LOG]!><time="18:29:37.785-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="libsmsmessaging.cpp:4023">
    <![LOG[Setting message signatures.]LOG]!><time="18:29:37.801-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:1295">
    <![LOG[Setting the authenticator.]LOG]!><time="18:29:37.801-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:1325">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: OUR-SCCM.ourcompany.com:80 CCM_POST /ccm_system/request]LOG]!><time="18:29:37.801-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="libsmsmessaging.cpp:8604">
    <![LOG[Request was successful.]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:8939">
    <![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811)]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="utils.cpp:811">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="utils.cpp:811">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="utils.cpp:842">
    <![LOG[End program: ]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:805">
    <![LOG[Finalize logging request ignored from process 856]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tslogging.cpp:1737">
    <![LOG[Process completed with exit code 0]LOG]!><time="18:29:37.863-420" date="12-26-2014" component="TSPxe" context="" type="1" thread="592" file="commandline.cpp:1123">
    <![LOG[Task Sequence Manager returned code 0x00000000]LOG]!><time="18:29:37.863-420" date="12-26-2014" component="TSPxe" context="" type="1" thread="592" file="tsmediawizardcontrol.cpp:2180">
    <![LOG[Exiting with return code 0x00000000]LOG]!><time="18:29:37.863-420" date="12-26-2014" component="TSPxe" context="" type="1" thread="592" file="tsmbootstrap.cpp:1238">
    <![LOG[Execution complete.]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="bootshell.cpp:693">
    <![LOG[hMap != 0, HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentscope.cpp,493)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="environmentscope.cpp:493">
    <![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentlib.cpp,335)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="environmentlib.cpp:335">
    <![LOG[this->open(), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentlib.cpp,553)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="environmentlib.cpp:553">
    <![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="utils.cpp:811">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="2" thread="760" file="utils.cpp:811">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="2" thread="760" file="utils.cpp:842">
    <![LOG[End program: ]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="bootshell.cpp:725">
    <![LOG[Finalizing logging from process 752]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="tslogging.cpp:1741">
    <![LOG[Finalizing logs to root of first available drive]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="tslogging.cpp:1583">
    <![LOG[Successfully finalized logs to D:\SMSTSLog]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="tslogging.cpp:1640">
    <![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="tslogging.cpp:584">
    MCSE,MCNE,SCO,Sair Linux/GNU, Open source-enthusiast.

    I have already set it to FALSE. The solution to this will be some different OSD Task Sequence variables or a statement that it can't be made to work.
    I believe that setting defines what volume will be the BOOT / OS Drive Letter. Some people were getting D:\WINDOWS as their boot volume drive letter. Setting to true means whatever was the System Drive letter (usually C) in the image will remain as such
    after it was was applied, setting it to false will make the system have the same drive letter arrangement as what Windows PE detects. In my case I set it to false so that no matter what the new VHD file setup as drive C will be the system drive. I'll set it
    to true on the next deployment but I expect there to be no difference, because in both PE and the WIM the installation volume is the C:.
    We are talking about the DRIVE LETTERS Windows PE SCCM OSD is using for it's temporary files - and how we can manipulate these locations using OSD Task Sequence Variables, so the Apply OS doesn't try and clean up files that are not there
    - and fail with an error if you have added a VHD Native Boot volume.
    This OSDPreserveDriveLetter setting isn't having any effect on the problem here.
    I believe that Format step is setting some task variables used by the OSD Deployment process - telling it where to store it's temporary files. However between the Format Disks and Apply operating system steps the OSD Task Sequence isn't picking up on the
    fact what was the C:\ after Format HDD step is now the D:\ .
    A developer who has an understanding of how the OSD boot process executes in order would be able to see what's going on here.
    MCSE,MCNE,SCO,Sair Linux/GNU, Open source-enthusiast.

  • Need to resume task sequence after unplanned reboot - Error Task Sequence environment not found

    The task sequence in SCCM 2012 R2 is being used to deploy a Hyper-V host on Windows Server 2012 R2.
    When installing the Hyper-V role, we have a intermittent issue where after the restart, the TRUSTEDINSTALLER installs a kernel driver (vmswitch.sys) and then restarts the system while the SCCM engine is waiting for the SCCM client to initialize.
    This breaks the TSE and it throws the error "Task Sequence Environment not found" a few minutes later.
    Does anyone know of any way to RESUME the task sequence, or to set the TSEnv.dat back to a clean state that will allow it to resume the TS? I am thinking about configuring an AutoLogon/Logon script that will check try and recover & resume these failures.
    ALTERNATELY, does anyone know how to prevent the Trusted Installer from rebooting on Windows Server 2012 R2?
    SMSTS.log
    _SMSTSReturnToGINA variable set to true TSManager 4/15/2014 4:01:57 PM 2220 (0x08AC)
    Waiting for CcmExec service to be fully operational TSManager 4/15/2014 4:01:57 PM 2220 (0x08AC)
    Succeeded loading resource DLL 'C:\WINDOWS\CCM\1033\TSRES.DLL' TSManager 4/15/2014
    4:01:58 PM 2220 (0x08AC)
    Failed to set log directory. Some execution history may be lost.
    The system cannot find the file specified. (Error: 80070002; Source: Windows) OSDSetupHook 4/15/2014 4:05:33 PM 1912 (0x0778)
    Executing task sequence OSDSetupHook 4/15/2014 4:05:33 PM 1912 (0x0778)
    Task Sequence environment not found. OSDSetupHook 4/15/2014 4:05:33 PM 1912 (0x0778)
    EventLog
    Log Name:      System
    Source:        User32
    Date:          4/15/2014 4:03:07 PM
    Event ID:      1074
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          SYSTEM
    The process C:\WINDOWS\servicing\TrustedInstaller.exe (COMPUTER1) has initiated the restart of computer COMPUTER1on behalf of user NT AUTHORITY\SYSTEM for the following reason: Operating System: Upgrade (Planned)
     Reason Code: 0x80020003
     Shutdown Type: restart
    Levi Stevens | Technical Consultant Dell Services

    Use sc command to put Windows Module Installer to disabled in your script after Enabling Hyper-v Role. When the system completely restarts, change it to Manual or Automatic.
    Note: I have not tested it, it is just my thought, if it does not work or something unexpected happens, it means your issue cannot be fixed this way.
    Juke Chou
    TechNet Community Support

  • Orchestrator and SCCM 2012 integration: run task sequence and install assigned applications/packages?

    Dear,
    We do not have Orchestrator running in our SCCM 2012 R2 environment. Though I wonder if we could accomplish the following scenario with it:
    Task sequence Windows 7 => Orchestrator step which queries assigned installations to the computer object and installs them one by one.
    Could you advise?
    Kind regards,
    Stev.
    SteveWonB

    > > Define "assigned to computer objects". How is this done technically?
    Well, computer objects are members of collections via AD memberships, like the collection "W7-Google-Chrome" (exists of 100 computer objects).
    Deploy of packages is done to these collections. So a computer member of  "W7-Google-Chrome"  will automatically get Google Chrome.
    Some computers are member of 30 collections, some of 80.
    Goal is to have the task sequence run all applications/packages assigned (with their reboots if needed).
    Kind regards,
    Steven
    SteveWonB

  • OSD: view running task sequences?

    Hi
    Sometimes a reboot of the SCCM-server is needed.
    Is there an easy way to see which task sequences are running (live) and/or applications deploying?
    Please advise.
    J.
    Jan Hoedt

    You could create an overview of your status messages to see if something is running. For an example see:
    http://www.ronnipedersen.com/2012/03/monitoring-configmgr-2012-os-deployment-using-state-messages/
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Win 7 Pending Reboot after Task Sequence

    SCCM 2012 SP1/MDT 2012 Win 7 Task sequence. All working fine but I'm finding that any line of business applications that are trying to install as at the end of the TS via the primary user are failing because of a pending reboot
    I've tried adding another restart step in the TS but it is still pending a reboot. Checked a few post and looking in SessionManager\PendingFileRenameOperations there is a tmp file with no associated entry which I understand to be a delete operation and indeed
    after a manual reboot it all disappears, but I'm confused as to why the TS should leave the system requiring a reboot
    Can I fix/troubleshoot this in any way ?
    Ian Burnell, London (UK)

    Try to identify the application that caused the registry key to be set and see what the exit code was of the installation of that application. The task sequence will respond to an exit code of an application and not to a registry key.
    A dirty work around could be to set the task sequence variable SMSTSPostAction to something like
    cmd /c shutdown /r /t 0 /f to trigger a restart when the task sequence is finished.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • SCCM 2007 Determine packages/task sequence distributed specific time and date

    Hi All,
    Back from holiday to find SCCM task sequences for client PCs have been pushed to servers :(
    My knowledge on SCCM/SQL is somewhat limited.
    Are there ways to find task sequences that are distributed specific time and date and to which collections?
    Many thanks!

    managed to sort this out myself.
    On a affected machine, I've located a logfile 'smsts.log' in '
    C:\Windows\SysWOW64\CCM\Logs', then searched for advertisement prefix.

  • OSD HTA and Task Sequence Variable

    Have a unusual issue that I cannot seem to find a answer anywhere or if it's even possible. I'm am very aware on how to setup a HTA to pass variables to the Task Sequence but there is a point where I want the HTA to display the current value of a TS Variable(s).
    It's a custom variable that is set on a prior step via a VB script. Anyone know of a simple way to call and display the value in HTML/HTA.

    The variables are available using the same COM Object that you use to set them: Microsoft.SMS.TSEnvironment. The below VBScript will dump every variable to the screen. You can take this and just add it something you've displayed in your HTA like a static
    control or text box.
    Set env = CreateObject("Microsoft.SMS.TSEnvironment")
    Wscript.echo "Dump of All Task Sequence Variables"
    For Each TSvar In env.GetVariables
    Wscript.echo "Variable " & TSvar & " = " & env(TSvar)
    Next
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Creative Cloud: "Build" MSI Hangs During SCCM OSD Task Sequence Installation

    I wanted to share problem and solution I found when deploying Creative Cloud Packager-created packages/application using SCCM 2012 R2.  I encountered this problem packaging this as both a Package and as an Application in SCCM.
    When installing the software through SCCM Software Center onto a client, Software Center would close right as the installation of the "Build" folder MSI completed.  This is abnormal behavior.
    When installing the application as part of an OSD Task Sequence, the software would get installed (as shown by logs) but SCCM would hang forever at the "Installing Application" step.
    I tried all sorts of different settings in SCCM and with the MSIEXEC command line and eventually traced it to the Reboot Manager functionality in MSIEXEC that will close and attempt to restart processes using files that the installer needs. Reboot Manager clobbered part of SCCM and in the Task Sequence, the connection between SCCM and the installer was broken.
    The solution is to pass the property "MSIRESTARTMANAGERCONTROL=Disable" along the command line when calling MSIEXEC on the Build folder MSI file.  This setting disabled Restart Manager so it didn't mess up SCCM.  Once I did this, my Software Center installs and OSD Task Sequences ran as intended.
    For reference, I used the REBOOT=ReallySuppress property for reboots and let SCCM determine what to do with reboots based on the return code.  My testing was done with Windows 8.1 Enterprise x64.

    Like said, did you configure my proposal: "Configuration Manager client will force a mandatory device
    restart" ? After you've configured that, update your deployment type manually and remove the old revisions of the application and try running the TS again. I'm guessing you're a little bit too fast on your doings so the ConfigMgr doesn't play a long very
    nicely...
    The TS stops because of your Hard Reboot (exit code 1641), I've seen this before and I configured my application so that ConfigMgr client will force device restart and that fixed my problem. Although, also my application is the last one in the TS, but still,
    the TS continues after the reboot.
    Btw. have you tried changing your command line to:
    msiexec.exe /i cd-ord.msi TRANSFORMS=sv-se.mst MVLICENSE_KEY=xxxxxxxxxxxxxxxxx /L*V "%temp%\cdord.log" /qn
    /norestart

  • OSD don't continue after reboot(restart computer task sequence)

    I create a restart computer task sequence(reboot into"currently installed default operating system") after install some softwares
    but I found the OSD will stop after reboot. why it will stop? how to fix it?
    the The following is log files.
    smsts-20140530-095634
    Successfully completed the action (Patch IE9_Patches_1405) with the exit win32 code 0 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    MP server http://PRI1.ABC.COM. Ports 80,443. CRL=false. TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Setting authenticator TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set authenticator in transport TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Sending StatusMessage TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Setting message signatures. TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Setting the authenticator. TSManager 2014/5/30 9:56:34 1808 (0x0710)
    CLibSMSMessageWinHttpTransport::Send: URL: PRI1.ABC.COM:80 CCM_POST /ccm_system/request TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Request was successful. TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Clear local default environment TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Updated security on object C:\_SMSTaskSequence. TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a global environment variable _SMSTSNextInstructionPointer=44 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a TS execution environment variable _SMSTSNextInstructionPointer=44 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a global environment variable _SMSTSInstructionStackString=17 20 26 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a TS execution environment variable _SMSTSInstructionStackString=17 20 26 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Save the current environment block TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Successfully save execution state and environment to local hard disk TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Start executing an instruction. Instruction name: Reboot. Instruction pointer: 44 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a global environment variable _SMSTSCurrentActionName=Reboot TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a global environment variable _SMSTSNextInstructionPointer=44 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a local default variable SMSRebootMessage TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a local default variable SMSRebootTimeout TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a global environment variable _SMSTSLogPath=C:\WINDOWS\CCM\Logs\SMSTSLog TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Expand a string: smsboot.exe /target:HD TSManager 2014/5/30 9:56:34 1808 (0x0710)
    smsts
    Expand a string: TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Command line for extension .exe is "%1" %* TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set command line: smsboot.exe /target:HD TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Start executing the command line: smsboot.exe /target:HD TSManager 2014/5/30 9:56:34 1808 (0x0710)
    !--------------------------------------------------------------------------------------------! TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Expand a string: WinPEandFullOS TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Executing command line: smsboot.exe /target:HD TSManager 2014/5/30 9:56:34 1808 (0x0710)
    ========================= [ smsboot.exe ] ========================= Reboot 2014/5/30 9:56:34 2572 (0x0A0C)
    Command line: '"smsboot.exe" /target:HD' Reboot 2014/5/30 9:56:34 2572 (0x0A0C)
    SMSTSRebootDelay=3 Reboot 2014/5/30 9:56:34 2572 (0x0A0C)
    SMSTSRebootMessage=正在安装新的 Microsoft Windows 操作系统。必须重新启动计算机才能继续。 Reboot 2014/5/30 9:56:34 2572 (0x0A0C)
    SMSTSRebootRequested=HD Reboot 2014/5/30 9:56:34 2572 (0x0A0C)
    Process completed with exit code 0 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    !--------------------------------------------------------------------------------------------! TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Successfully completed the action (Reboot) with the exit win32 code 0 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    MP server http://PRI1.ABC.COM. Ports 80,443. CRL=false. TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Setting authenticator TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set authenticator in transport TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Sending StatusMessage TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Setting message signatures. TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Setting the authenticator. TSManager 2014/5/30 9:56:34 1808 (0x0710)
    CLibSMSMessageWinHttpTransport::Send: URL: PRI1.ABC.COM:80 CCM_POST /ccm_system/request TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Request was successful. TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Clear local default environment TSManager 2014/5/30 9:56:34 1808 (0x0710)
    Updated security on object C:\_SMSTaskSequence. TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Set a global environment variable _SMSTSNextInstructionPointer=45 TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Set a TS execution environment variable _SMSTSNextInstructionPointer=45 TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Set a global environment variable _SMSTSInstructionStackString=17 20 26 TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Set a TS execution environment variable _SMSTSInstructionStackString=17 20 26 TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Save the current environment block TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Successfully save execution state and environment to local hard disk TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Reboot to local harddisk TSManager 2014/5/30 9:56:35 1808 (0x0710)
    _OSDGinaIsConfigured variable set to TRUE TSManager 2014/5/30 9:56:35 1808 (0x0710)
    _SMSTSServiceStartType variable set to TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Command line for extension .exe is "%1" %* TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Set command line: "bcdedit.exe" TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Executing command line: "bcdedit.exe" TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Process completed with exit code 0 TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Calling RebootSystem() TSManager 2014/5/30 9:56:35 1808 (0x0710)
    OSD type of task sequence. ignore the service window setting TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca. TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Path variable OSDrive converted from C: to CE0B39280000100000000000: TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Updated security on object C:\_SMSTaskSequence. TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Set a global environment variable _SMSTSNextInstructionPointer=45 TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Set a TS execution environment variable _SMSTSNextInstructionPointer=45 TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Set a global environment variable _SMSTSInstructionStackString=17 20 26 TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Set a TS execution environment variable _SMSTSInstructionStackString=17 20 26 TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Save the current environment block TSManager 2014/5/30 9:56:35 1808 (0x0710)
    Expand a string: %_SMSTSMDataPath%\Logs TSManager 2014/5/30 9:56:35 1808 (0x0710)
    ==============================[ OSDSetupHook.exe ]============================== OSDSetupHook 2014/5/30 9:57:59 908 (0x038C)
    Executing task sequence OSDSetupHook 2014/5/30 9:57:59 908 (0x038C)
    Loading the Task Sequencing Environment from "C:\_SMSTaskSequence\TSEnv.dat". OSDSetupHook 2014/5/30 9:57:59 908 (0x038C)
    Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912} OSDSetupHook 2014/5/30 9:57:59 908 (0x038C)
    Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03} OSDSetupHook 2014/5/30 9:57:59 908 (0x038C)
    Debug shell is enabled OSDSetupHook 2014/5/30 9:58:00 908 (0x038C)
    Successfully enabled debug command shell support. OSDSetupHook 2014/5/30 9:58:00 908 (0x038C)
    Configuring local administrator account OSDSetupHook 2014/5/30 9:58:00 908 (0x038C)
    Re-assign all drive letters... OSDSetupHook 2014/5/30 9:58:00 908 (0x038C)
    The drive information which has no drive letter can not be found. No need to re-assign driver letters. OSDSetupHook 2014/5/30 9:58:00 908 (0x038C)
    Installing SMS client OSDSetupHook 2014/5/30 9:58:00 908 (0x038C)
    Client already installed. OSDSetupHook 2014/5/30 9:58:00 908 (0x038C)
    Moving logs to SMS client directory OSDSetupHook 2014/5/30 9:58:00 908 (0x038C)

    Hi,
    I suspect the IE require reboot and TS cannot catch this. So the TS cannot resume its state.
    Also, see the KB below.
    http://support.microsoft.com/kb/2894518
    Juke Chou
    TechNet Community Support

  • OSD - Failed to run Task Sequence. An error occurred while starting the task sequence (0x8007000E).

    Failed to run Task Sequence.
    An error occurred while starting the task sequence (0x8007000E)."
    While OSD, picks up task sequence but fails in resolving task sequence dependencies. SMSPXE identifies device is not in database (unknown).
    SMSTS.log shows
    ThreadToResolveAndExecuteTaskSequence failed. Code(0x8007000E)" in SMSTS.LOG, have seen other articles suggesting failure due to lack of storage (RAM) but this task sequence has worked in past.
    By the way, if I create a stand alone media, we are able to image the workstation. What has changed in the task sequence such that the workstation is unable to download policies due to lack of storage (RAM) on workstation. Workstation has 2 GB of RAM.

    I have found a work around for the issue, even though the computer is unknown, there were software updates targeted to the ALL SYSTEMS collection which applies to All Unknown Computers and therefore to x64 Unknown Computer and x86 Unknown Computer.
    We had a SCEP ADR applying definition updates to All Systems, we applied the ADR to a different collection, removed all the SCEP updates to All Systems and successfully re-imaged the workstation. Following article was of great help in identifying the problem
    after-selecting-a-task-sequence-in-configuration-manager-2012-sp1-you-receive-threadtoresolveandexecutetasksequence-failed-code0x8007000e-in-smsts-log
    Thanks Gerry for your assistance.

  • Can I set a priority in SCCM 2012 for advertisements or any other ideas to fix my Task sequences?

    I have several task sequences that I deploy to lab computers that we re-image 1 or 2 times a year.  The task sequences run and install specific software
    for that lab after the base image deploys.
    The base image is deployed using WDS without SCCM in the mix.  It is a setup they we are using because of legacy business processes that just make this easier.
     Then after the machine boots up and gets its SCCM policies the task sequences start running to deploy the software.
    The issue I am noticing is that I have no control over what runs first and sometimes Windows Updates that are deployed via SCCM run before or in between the task
    sequences that I have running.  Some installs fail because of the pending Windows Update reboot, which I believe I have gotten around just by checking for it and rebooting before it installs the software.  The issue is that the Windows update could
    and usually is one of those lovely updates that requires multiple reboots.  The second reboot is killing my task sequence.
    The issue is I need to somehow force this updates to run after my task sequences or make sure they run first.  The only way I can think of this is by having
    priorities for the task sequences.  I can't just add installing the updates to the task sequence, because the second reboot will kill my whole task sequence there too.
    Anyone have any ideas on how to get around this issue?  I want the machines to install the Windows updates so I can't just remove them from the collection.

    That's definitely the best option to do everything via the task sequence deployment.
    Also, there are script available in the community to add or remove a device from a collection, see for example:
    http://sccmfaq.wordpress.com/2013/05/20/sccm-2012-sp1-remove-client-from-collection-after-osd/
    Keep in mind that if you want to use a script like that during the task sequence that the device running the task sequence (and by that the script) requires specific rights within ConfigMgr.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

Maybe you are looking for

  • Quick Look Helper (32bit) quit unexpectedly

    I have a MacBook Pro 13" Retina Display running OS X Mavericks 10.9.4, and I've been getting multiple error reports about Quick Look Helper (32bit) quitting unexpectedly. It seems completely random, there's nothing I can so it happens. Even though I

  • Ciscoworks 2000 and Cisco 1242AG-LAP

    hi i have a problem with my cisco works,the software is manages all the devices in my network including the 19 1242AG-LAPs,even thogh the LAPs appear on the management software they are appearing as red which in normal conditions indicate a faulty de

  • Wifi/3G wireless connectivity in general

    i rarely see a ful signal on my wifi connectivity in my own home, whereas my girlf has a3GS and it never goes below full. Also, my 3G signal is very patchy and only 'switches on' if i put into airplane mode on/off. i don't SEEM to have these antennae

  • Customizing tree structure in On Hand Quantity form

    Hi, I have a requirement to Modify tree structure in On hand quantity form After clicking on find in Onhand form, Data will appear and in Left hand size a tree structure will be there, With organization as Top Node,if we click on organization sub inv

  • Finding 'Day' via date

    Hello all, I have an ABAP task for which I have to find that the day behind the date is 'Sunday' or 'Saturday'. How can I do that? For example : today is 3.12.2007. How can i check via ABAP that today is saturday or not? Please respond. Regards, Aish