Hello,
We have a weird problem in SCCM 2012 r2 OSD.
What we did:
Imported computer “PRO0001” in sccm (with known mac-address)
Added this computer to a sccm collection with an available osd deployment (ID=W0020004) as direct membership
The first time everything works perfect:
---- PXE Boot Client
---- WinPE with ID W000000F is downloaded
---- Pre-Hook HTA is started
---- OSD tasksequence is started
---- OSD tasksequence successfully ended
Second time (about 30 minutes after the first deployement)
---- PXE Boot Client
---- WinPE with ID W000000F is downloaded (=> because the client is still in the collection with the available osd task sequence with ID=W0020004)
---- Pre-Hook HTA is started
---- The error bellow occurs
After some retries and waiting (without changing something on the sccm server or client) the osd is working again as excepted
If we delete the existing device in sccm and reimport the client, the osd is working again in most of the cases
It seems that the client cannot receive any policy assignments:
<![LOG[Successfully read 0 policy assignments.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="tspolicy.cpp:990">
<![LOG[bFound, HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1501)]LOG]!>
Any ideas?
Parts of smsts.log:
<![LOG[Downloading policy from <time="16:15:12.148-60">http://sccmserver.domain.local.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:817">
<![LOG[ Setting Ports = 8181,443.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:820">
<![LOG[ Setting CRL = false.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:823">
<![LOG[ Setting Server Certificates.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:840">
<![LOG[Set authenticator in transport]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="libsmsmessaging.cpp:7734">
<![LOG[ Setting Media Certificate.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:848">
<![LOG[Preparing Client Identity Request.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:582">
<![LOG[ Setting transport.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:585">
<![LOG[ Setting SourceID = 76853622-41c8-4860-849f-5aaaf6ba7ca1.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:589">
<![LOG[ Setting site code = W00.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:594">
<![LOG[Can not find DeploymentType in file TsmBootstrap.ini or the file doesn't exist. This is not running on Windows To Go.]LOG]!><time="16:15:12.148-60" date="11-26-2013" component="TSPxe" context="" type="1"
thread="920" file="utils.cpp:1897">
<![LOG[ Setting SMBIOS GUID = 69B639C0-5008-11E4-99AB-C3EA0C10E064.]LOG]!><time="16:15:12.164-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:622">
<![LOG[ Adding MAC Address 9C:B6:54:A1:51:FA.]LOG]!><time="16:15:12.180-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:641">
<![LOG[Executing Client Identity Request.]LOG]!><time="16:15:12.180-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:665">
<![LOG[Requesting client identity]LOG]!><time="16:15:12.180-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="libsmsmessaging.cpp:5760">
<![LOG[Setting message signatures.]LOG]!><time="16:15:12.180-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="libsmsmessaging.cpp:1295">
<![LOG[Setting the authenticator.]LOG]!><time="16:15:12.180-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="libsmsmessaging.cpp:1325">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: sccmserver.domain.local:8181 CCM_POST /ccm_system/request]LOG]!><time="16:15:12.180-60" date="11-26-2013" component="TSPxe" context="" type="1"
thread="920" file="libsmsmessaging.cpp:8604">
<![LOG[Request was successful.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="libsmsmessaging.cpp:8939">
<![LOG[::DecompressBuffer(65536)]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="ccmzlib.cpp:739">
<![LOG[Decompression (zlib) succeeded: original size 583, uncompressed size 2882.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="ccmzlib.cpp:651">
<![LOG[-60 -60]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="libsmsmessaging.cpp:5956">
<![LOG[Server time zone info: -60, , [0 10 0 5 3 0 0 0], 0, , [0 3 0 5 2 0 0 0], -60]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="libsmsmessaging.cpp:6055">
<![LOG[Client Identity: GUID:3A278853-D8DC-4753-AA83-6B7D038A7808]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="libsmsmessaging.cpp:6125">
<![LOG[Netbios name: PRO0001]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="libsmsmessaging.cpp:6141">
<![LOG[Client GUID = GUID:3A278853-D8DC-4753-AA83-6B7D038A7808, Netbios name = PRO0001, State = Known]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920"
file="tspolicy.cpp:685">
<![LOG[Preparing Policy Assignment Request.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:943">
<![LOG[ Setting transport.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:944">
<![LOG[ Setting site code = W00.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:947">
<![LOG[ Setting client ID = GUID:3A278853-D8DC-4753-AA83-6B7D038A7808.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920"
file="tspolicy.cpp:949">
<![LOG[ Setting site signing Certificate.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:954">
<![LOG[Setting SiteSigningCertificateContext]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="libsmsmessaging.cpp:2514">
<![LOG[Executing Policy Assignment Request.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:966">
<![LOG[Sending RequestAssignments]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="libsmsmessaging.cpp:2791">
<![LOG[Setting message signatures.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="libsmsmessaging.cpp:1295">
<![LOG[Setting the authenticator.]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="libsmsmessaging.cpp:1325">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: sccmserver.domain.local:8181 CCM_POST /ccm_system/request]LOG]!><time="16:15:12.195-60" date="11-26-2013" component="TSPxe" context="" type="1"
thread="920" file="libsmsmessaging.cpp:8604">
<![LOG[Request was successful.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="libsmsmessaging.cpp:8939">
<![LOG[::DecompressBuffer(65536)]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="ccmzlib.cpp:739">
<![LOG[Decompression (zlib) succeeded: original size 278, uncompressed size 672.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="ccmzlib.cpp:651">
<![LOG[Request client ID: GUID:3A278853-D8DC-4753-AA83-6B7D038A7808]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="libsmsmessaging.cpp:2845">
<![LOG[Response client ID: GUID:3A278853-D8DC-4753-AA83-6B7D038A7808]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="libsmsmessaging.cpp:2846">
<![LOG[Retrieving Policy Assignments:]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:970">
<![LOG[Successfully read 0 policy assignments.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="tspolicy.cpp:990">
<![LOG[bFound, HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1501)]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="0"
thread="920" file="tsmediawizardcontrol.cpp:1501">
<![LOG[Provided preferred deployment W0020004 is not found among the available deployments.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="3" thread="920"
file="tsmediawizardcontrol.cpp:1501">
<![LOG[Retrieving collection variable policy.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="tspolicy.cpp:1511">
<![LOG[Found 0 collection variables.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:1519">
<![LOG[Retrieving machine variable policy.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="tspolicy.cpp:1529">
<![LOG[Found 0 machine variables.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tspolicy.cpp:1537">
<![LOG[Setting collection variables in the task sequencing environment.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="utils.cpp:650">
<![LOG[Setting machine variables in the task sequencing environment.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="utils.cpp:650">
<![LOG[Exiting TSMediaWizardControl::GetPolicy.]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="0" thread="920" file="tsmediawizardcontrol.cpp:1419">
<![LOG[GetSelectedTaskSequence(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,2506)]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context=""
type="0" thread="920" file="tsmediawizardcontrol.cpp:2506">
<![LOG[There are no task sequences available to this computer.. Please ensure you have at least one task sequence advertised to this computer.
Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="3" thread="920" file="tsmediawizardcontrol.cpp:2506">
<![LOG[RunWizardForPXE(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,2834)]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context=""
type="0" thread="920" file="tsmediawizardcontrol.cpp:2834">
<![LOG[oTSMediaWizardControl.Run( sMediaRoot, true, sTSLaunchMode ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,1078)]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe"
context="" type="0" thread="920" file="tsmbootstrap.cpp:1078">
<![LOG[Execute( eExecutionEnv, sConfigPath, sTSXMLFile, uBootCount, &uExitCode ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,1226)]LOG]!><time="16:15:12.211-60" date="11-26-2013"
component="TSPxe" context="" type="0" thread="920" file="tsmbootstrap.cpp:1226">
<![LOG[Exiting with return code 0x80004005]LOG]!><time="16:15:12.211-60" date="11-26-2013" component="TSPxe" context="" type="1" thread="920" file="tsmbootstrap.cpp:1238">
<![LOG[Execution complete.]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="1" thread="800" file="bootshell.cpp:693">
<![LOG[hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493)]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="0" thread="800"
file="environmentscope.cpp:493">
<![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335)]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="0"
thread="800" file="environmentlib.cpp:335">
<![LOG[this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,553)]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="0"
thread="800" file="environmentlib.cpp:553">
<![LOG[::RegOpenKeyExW (HKEY_LOCAL_MACHINE, sKey.c_str(), 0, KEY_READ, &hSubKey), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,809)]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell"
context="" type="0" thread="800" file="utils.cpp:809">
<![LOG[RegOpenKeyExW is unsuccessful for Software\Microsoft\SMS\Task Sequence]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="2" thread="800" file="utils.cpp:809">
<![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="2" thread="800" file="utils.cpp:842">
<![LOG[End program: ]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="1" thread="800" file="bootshell.cpp:725">
<![LOG[Finalizing logging from process 792]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="1" thread="800" file="tslogging.cpp:1741">
<![LOG[Finalizing logs to root of first available drive]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="1" thread="800" file="tslogging.cpp:1583">
<![LOG[LOGGING: Setting log directory to "D:\SMSTSLog".]LOG]!><time="16:15:12.227-60" date="11-26-2013" component="TSBootShell" context="" type="1" thread="800" file="tslogging.cpp:1808">