|
jq -> RE: Question for HAL Swapping & "ZTIHaldetect.vbs" script (6/9/2008 11:06:03 AM)
|
So a bit more info after troubleshooting. In WinPE I can; 1) ping FQDN of SCCM server 2) Map drive to \\sccmserver.abc.com\smspkgd$ 3) Browse to Advertisement ID share and view script files I was able to grab the smsts.log and here is an excerpt from the relevant section for UpdateHAL TS step; quote:
LOG]!><time="14:35:05.703+240" date="06-09-2008" component="TSManager" context="" type="1" thread="1428" file="instruction.cxx:2957"> <![LOG[Expand a string: WinPEandFullOS]LOG]!><time="14:35:05.703+240" date="06-09-2008" component="TSManager" context="" type="0" thread="1428" file="executionenv.cxx:782"> <![LOG[Executing command line: smsswd.exe /run:DC10001D cscript.exe ZTIHaldetect.vbs]LOG]!><time="14:35:05.703+240" date="06-09-2008" component="TSManager" context="" type="1" thread="1428" file="commandline.cpp:799"> <![LOG[=======================[ smsswd.exe ] =======================]LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="main.cpp:303"> <![LOG[PackageID = 'DC10001D']LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="main.cpp:332"> <![LOG[BaseVar = '', ContinueOnError='']LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="main.cpp:333"> <![LOG[SwdAction = '0001']LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="main.cpp:334"> <![LOG[Found the location for the package _SMSTSDC10001D. The location is on \\sccmserver.abc.com\SMSPKGD$\DC10001D\]LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="resolvesource.cpp:2438"> <![LOG[nPos != CCM::Utility::String::npos, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,165)]LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="0" thread="564" file="resolvesource.cpp:165"> <![LOG[Creating a connection to \\sccmserver.abc.com\SMSPKGD$\DC10001D\ with default computer account]LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="resolvesource.cpp:1997"> <![LOG[Connection request for "\\sccmserver.abc.com\SMSPKGD$\DC10001D"]LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="tsconnection.cpp:208"> <![LOG[No credentials available for connecting to "\\sccmserver.abc.com\SMSPKGD$\DC10001D". See whether the share has already been connected.]LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="tsconnection.cpp:233"> <![LOG[Connecting to "\\sccmserver.abc.com\SMSPKGD$\DC10001D"]LOG]!><time="14:35:05.812+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="tsconnection.cpp:268"> <![LOG[Successfully connected to "\\sccmserver.abc.com\SMSPKGD$\DC10001D"]LOG]!><time="14:35:05.828+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="tsconnection.cpp:287"> <![LOG[Resolved source to '\\sccmserver.abc.com\SMSPKGD$\DC10001D']LOG]!><time="14:35:05.828+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="runcommandline.cpp:178"> <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="14:35:05.843+240" date="06-09-2008" component="InstallSoftware" context="" type="0" thread="564" file="commandline.cpp:229"> <![LOG[Set command line: Run command line]LOG]!><time="14:35:05.843+240" date="06-09-2008" component="InstallSoftware" context="" type="0" thread="564" file="commandline.cpp:701"> <![LOG[Working dir '\\sccmserver.abc.com\SMSPKGD$\DC10001D']LOG]!><time="14:35:05.843+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="runcommandline.cpp:266"> <![LOG[Executing command line: Run command line]LOG]!><time="14:35:05.843+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="commandline.cpp:799"> <![LOG[Process completed with exit code 0]LOG]!><time="14:35:06.015+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="commandline.cpp:1071"> <![LOG[Microsoft (R) Windows Script Host Version 5.7]LOG]!><time="14:35:06.015+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="runcommandline.cpp:30"> <![LOG[Copyright (C) Microsoft Corporation. All rights reserved.]LOG]!><time="14:35:06.015+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="runcommandline.cpp:30"> <![LOG[]LOG]!><time="14:35:06.015+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="runcommandline.cpp:30"> <![LOG[\\sccmserver.abc.com\SMSPKGD$\DC10001D\ZTIHaldetect.vbs(61, 5) Microsoft VBScript runtime error: Path not found]LOG]!><time="14:35:06.031+240" date="06-09-2008" component="InstallSoftware" context="" type="3" thread="564" file="runcommandline.cpp:36"> <![LOG[]LOG]!><time="14:35:06.031+240" date="06-09-2008" component="InstallSoftware" context="" type="3" thread="564" file="runcommandline.cpp:36"> <![LOG[Command line returned 0]LOG]!><time="14:35:06.031+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="runcommandline.cpp:283"> <![LOG[Entering ReleaseSource() for \\sccmserver.abc.com\SMSPKGD$\DC10001D\]LOG]!><time="14:35:06.031+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="resolvesource.cpp:2687"> <![LOG[reference count 1 for the source \\sccmserver.abc.com\SMSPKGD$\DC10001D\ before releasing]LOG]!><time="14:35:06.031+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="resolvesource.cpp:2694"> <![LOG[Released the resolved source \\sccmserver.abc.com\SMSPKGD$\DC10001D\]LOG]!><time="14:35:06.031+240" date="06-09-2008" component="InstallSoftware" context="" type="1" thread="564" file="resolvesource.cpp:2714"> <![LOG[Process completed with exit code 0]LOG]!><time="14:35:06.031+240" date="06-09-2008" component="TSManager" context="" type="1" thread="1428" file="commandline.cpp:1071"> <![LOG[!--------------------------------------------------------------------------------------------!] From the SCCM Console, the error appears as; quote:
The task sequence execution engine successfully completed the action (Update HAL) in the group (Install Operating System) with exit code 0 Action output: \DC10001D". See whether the share has already been connected. Connecting to "\\sccmserver.abc.com\SMSPKGD$\DC10001D" Successfully connected to "\\sccmserver.abc.com\SMSPKGD$\DC10001D" Resolved source to '\\sccmserver.abc.com\SMSPKGD$\DC10001D' Command line forextension .exe is "%1" %* Set command line: Run command line Working dir '\\sccmserver.abc.com\SMSPKGD$\DC10001D' Executing command line: Run command line Process completed with exit code 0 Microsoft (R) Windows Script Host Version 5.7 Copyright (C) Microsoft Corporation. All rights reserved. ????4???????????4??????????????????????????????????Command line returned 0 Entering ReleaseSource() for \\sccmserver.abc.com\SMSPKGD$\DC10001Dreference count 1 for the source \\sccmserver.abc.com\SMSPKGD$\DC10001D\ before releasing Released the resolved source \\sccmserver.abc.com\SMSPKGD$\DC10001D\\sccmserver.abc.com\SMSPKGD$\DC10001D\ZTIHaldetect.vbs(61, 5) Microsoft VBScript runtime error: Path not found ??????????????????????????????????4???????????›???????. To me, it looks like it can locate the script and execute it, but the error lies within the script. (\SMSPKGD$\DC10001D\ZTIHaldetect.vbs(61, 5) Microsoft VBScript runtime error: Path not found) -- on line 61?? Also to note, the OSD deploy took the drive letter E: before rebooting. I noticed in the ZTIHalDetect.vbs, it is looking to write to the sysprep.inf file on the C: drive;
If sHalType(0) = "acpiapic" Then
if oWshShell.Environment.item("NUMBER_OF_PROCESSORS") = 1 then
WriteIni "c:\sysprep\sysprep.inf", "Unattended", "UpdateUPHAL", "ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf"
else
writeini "c:\sysprep\sysprep.inf", "Unattended", "UpdateHAL", "ACPIAPIC_MP,%WINDIR%\Inf\Hal.inf"
end if
Do I need to change this to read that sysprep.inf is located on E: ? Back to troubleshooting....
|
|
|
|