runnng sccm2012 sp1 cu2. I have a Win7x64sp1 task sequence that's been working fine for months when you PXE boot a machine and select the task sequence from winpex64. it works on both physical machines and on hyperV VMs. however, since
not everyone has access to the HV console but needs to be able to image these VMs, i created a deployment of that same TS to a collection of lab machines that needs to be reimaged at least once a month. this collection includes about 10 hyperV VMs.
when someone logs into a VM and tries to run the TS from software center, everything looks fine, at first. it downloads and stages winpe, then boots to winpe and starts the job. it lays down the image and then proceeds to the auto apply drivers
step. 99% of the time, the VM will die here... but ONLY if you called the task sequence from software center. if you boot that very same VM into winpe via pxe, it will work fine 100% of the time. it's the SAME task sequence, so i don't understand
what the issue is.
the REALLY weird part is that i can log into one of those VMs as myself (i'm an sccm admin) and start the TS from sw center, and it'll work fine! IMHO, the logged-on user should have no bearing on this, since the TS is deployed to a device collection,
not a user collection.
from smstslog:
<![LOG[Start executing an instruction. Instruction name: Auto Apply Drivers. Instruction pointer: 10]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="engine.cxx:117"><![LOG[Set a global environment variable _SMSTSCurrentActionName=Auto Apply Drivers]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:668"><![LOG[Set a global environment variable _SMSTSNextInstructionPointer=10]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:668"><![LOG[Set a local default variable OSDAutoApplyDriverBestMatch]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:700"><![LOG[Set a local default variable OSDAutoApplyDriverCategoryList]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:700"><![LOG[Set a local default variable OSDAllowUnsignedDriver]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:700"><![LOG[Set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:668"><![LOG[Evaluating an AND expression]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:593"><![LOG[Evaluating a variable condition expression]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:776"><![LOG[Variable = _SMSTSMediaType]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:794"><![LOG[Value = FullMedia]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:795"><![LOG[Operator = notEquals]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:796"><![LOG[Expand a string: notEquals]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:782"><![LOG[Expand a string: _SMSTSMediaType]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:782"><![LOG[Expand a string: FullMedia]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:782"><![LOG[The variable condition expression is evaluated to be TRUE]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:900"><![LOG[The AND expression is evaluated to be TRUE]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:626"><![LOG[The condition for the action (Auto Apply Drivers) is evaluated to be true]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:2914"><![LOG[Expand a string: osddriverclient.exe /auto /bestmatch:%OSDAutoApplyDriverBestMatch% /unsigned:%OSDAllowUnsignedDriver%]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:782"><![LOG[Expand a string: ]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:782"><![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="commandline.cpp:228"><![LOG[Set command line: osddriverclient.exe /auto /bestmatch:%OSDAutoApplyDriverBestMatch% /unsigned:%OSDAllowUnsignedDriver%]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="commandline.cpp:731"><![LOG[Start executing the command line: osddriverclient.exe /auto /bestmatch:%OSDAutoApplyDriverBestMatch% /unsigned:%OSDAllowUnsignedDriver%]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:2930"><![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:2959"><![LOG[Expand a string: WinPE]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="0" thread="1332" file="executionenv.cxx:782"><![LOG[Executing command line: osddriverclient.exe /auto /bestmatch:%OSDAutoApplyDriverBestMatch% /unsigned:%OSDAllowUnsignedDriver%]LOG]!><time="18:40:02.126+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="commandline.cpp:827"><![LOG[============================[ OSDDriverClient.exe ]============================]LOG]!><time="18:40:02.142+360" date="01-16-2015" component="OSDDriverClient" context="" type="1" thread="1624" file="osddriverclient.cpp:329"><![LOG[Command line: "osddriverclient.exe" /auto /bestmatch:true /unsigned:true]LOG]!><time="18:40:02.142+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="osddriverclient.cpp:330"><![LOG[Driver path is C:\_SMSTaskSequence\drivers]LOG]!><time="18:40:02.142+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="sysprepdriverinstaller.cpp:98"><![LOG[Driver-signing policy cannot be configured on this operating system. An administrator must always authorize the installation of unsigned drivers or a driver from a publisher that is not yet trusted.]LOG]!><time="18:40:02.142+360" date="01-16-2015" component="OSDDriverClient" context="" type="2" thread="1624" file="sysprepdriverinstaller.cpp:761"><![LOG[::DecompressBuffer(65536)]LOG]!><time="18:40:02.142+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="ccmzlib.cpp:739"><![LOG[Decompression (zlib) succeeded: original size 4689, uncompressed size 4933.]LOG]!><time="18:40:02.142+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="ccmzlib.cpp:651"><![LOG[Initializing HTTP transport.]LOG]!><time="18:40:02.142+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="onlinedrivercatalog.cpp:222"><![LOG[ Setting URL = primaryserver.domain.com, Ports = 80,443, CRL = false]LOG]!><time="18:40:02.142+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="utils.cpp:5565"><![LOG[ Setting Server Certificates.]LOG]!><time="18:40:02.157+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="utils.cpp:5593"><![LOG[ Setting Authenticator.]LOG]!><time="18:40:02.157+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="utils.cpp:5600"><![LOG[Set authenticator in transport]LOG]!><time="18:40:02.157+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="libsmsmessaging.cpp:7751"><![LOG[::DecompressBuffer(65536)]LOG]!><time="18:40:02.157+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="ccmzlib.cpp:739"><![LOG[Decompression (zlib) succeeded: original size 4689, uncompressed size 4933.]LOG]!><time="18:40:02.157+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="ccmzlib.cpp:651"><![LOG[ Setting Client Certificate.]LOG]!><time="18:40:02.157+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="utils.cpp:5632"><![LOG[Scanning for plug-and-play devices.]LOG]!><time="18:40:02.204+360" date="01-16-2015" component="OSDDriverClient" context="" type="1" thread="1624" file="driverinstaller.cpp:833"><![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="18:40:02.204+360" date="01-16-2015" component="OSDDriverClient" context="" type="1" thread="1624" file="util.cpp:963"><![LOG[Executing driver matching request.]LOG]!><time="18:40:02.282+360" date="01-16-2015" component="OSDDriverClient" context="" type="1" thread="1624" file="driverinstaller.cpp:850"><![LOG[Initializing driver match request header.]LOG]!><time="18:40:02.282+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="onlinedrivercatalog.cpp:319"><![LOG[Formatting driver match request payload.]LOG]!><time="18:40:02.282+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="onlinedrivercatalog.cpp:329"><![LOG[Executing driver match request.]LOG]!><time="18:40:02.282+360" date="01-16-2015" component="OSDDriverClient" context="" type="1" thread="1624" file="onlinedrivercatalog.cpp:336"><![LOG[Setting message signatures.]LOG]!><time="18:40:02.298+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="libsmsmessaging.cpp:1297"><![LOG[Setting the authenticator.]LOG]!><time="18:40:02.298+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="libsmsmessaging.cpp:1327"><![LOG[CLibSMSMessageWinHttpTransport::Send: URL: primaryserver.domain.com:80 CCM_POST /ccm_system/request]LOG]!><time="18:40:02.298+360" date="01-16-2015" component="OSDDriverClient" context="" type="1" thread="1624" file="libsmsmessaging.cpp:8621"><![LOG[Request was succesful.]LOG]!><time="18:40:02.360+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="libsmsmessaging.cpp:8956"><![LOG[pNext != NULL, HRESULT=80004005 (e:\qfe\nts\sms\framework\osdmessaging\libsmsmessaging.cpp,1972)]LOG]!><time="18:40:02.360+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="libsmsmessaging.cpp:1972"><![LOG[reply has no message header marker]LOG]!><time="18:40:02.360+360" date="01-16-2015" component="OSDDriverClient" context="" type="3" thread="1624" file="libsmsmessaging.cpp:1972"><![LOG[driverMatchRequestMessage.DoRequest( sResponseBody, true ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osddriverclient\onlinedrivercatalog.cpp,346)]LOG]!><time="18:40:02.360+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="onlinedrivercatalog.cpp:346"><![LOG[Failed to execute driver match request. Code 0x80004005]LOG]!><time="18:40:02.360+360" date="01-16-2015" component="OSDDriverClient" context="" type="3" thread="1624" file="onlinedrivercatalog.cpp:346"><![LOG[pDriverCatalog->match( deviceList, m_fpCallbackProc, m_pvCallbackData, matchResultMap ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osddriverclient\driverinstaller.cpp,854)]LOG]!><time="18:40:02.360+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="driverinstaller.cpp:854"><![LOG[pDriverInstaller->AutoInstallDrivers( pDriverCatalog, bBestMatch ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osddriverclient\osddriverclient.cpp,290)]LOG]!><time="18:40:02.360+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="osddriverclient.cpp:290"><![LOG[Failed to auto provision driver. Code 0x80004005]LOG]!><time="18:40:02.360+360" date="01-16-2015" component="OSDDriverClient" context="" type="3" thread="1624" file="osddriverclient.cpp:290"><![LOG[ProcessAutoProvision( pDriverInstaller, bBestMatch ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osddriverclient\osddriverclient.cpp,386)]LOG]!><time="18:40:02.376+360" date="01-16-2015" component="OSDDriverClient" context="" type="0" thread="1624" file="osddriverclient.cpp:386"><![LOG[Failed to auto provision drivers. Code 0x80004005]LOG]!><time="18:40:02.376+360" date="01-16-2015" component="OSDDriverClient" context="" type="3" thread="1624" file="osddriverclient.cpp:386"><![LOG[Exiting with return code 0x80004005]LOG]!><time="18:40:02.376+360" date="01-16-2015" component="OSDDriverClient" context="" type="1" thread="1624" file="osddriverclient.cpp:418"><![LOG[Process completed with exit code 2147500037]LOG]!><time="18:40:02.392+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="commandline.cpp:1123"><![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="18:40:02.392+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="instruction.cxx:3012"><![LOG[Failed to run the action: Auto Apply Drivers.
Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="18:40:02.392+360" date="01-16-2015" component="TSManager" context="" type="3" thread="1332" file="instruction.cxx:3103"><![LOG[MP server primaryserver.domain.com. Ports 80,443. CRL=false.]LOG]!><time="18:40:02.392+360" date="01-16-2015" component="TSManager" context="" type="1" thread="1332" file="utils.cpp:5301">