PShell syntax for launching installs (EXE/MSI) from SCCM/MDT UDI task sequence within the same directory.

I have an UDI SCCM/MDT Task Sequence that launches stand-alone EXEs and MSIs fine...but when calling upon a script that has embedded logic to run a host of exe's/msi's, the script fails to do so. I believe its related to the "working directory" concept, in this case, C:\Windows\System32. My problem is, I'm not sure where the script is ran from during the OSD task sequence or how to account for this locale within my script(if even possible).

The script and sources files are compiled into one package that is listed in my task sequence. DPs and references have all been update prior to testing. All sources files are included with the script within the root of the said directory. SMSTS.log shows that the script successfully ran(exit code 0), but this is not the case as none of the solutions/apps have made it to my environment post deployment.

Any ideas?

TIA
randy

July 28th, 2015 1:14pm

It simply returns a exit code 0 as the script was successful initiated. In this case you might want to get the working directory within your PowerShell script. For some examples see: https://www.autoitconsulting.com/site/scripting/get-current-script-directory-powershell-vbscript-batch/
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 1:45pm

How are you calling the PowerShell script in your TS?

Is this part of an OSD TS or not?

July 28th, 2015 2:56pm

It is a part of the SCCM OSD TS(MDT-UDI)

Comes right after the successful Office install in the "Post Install" block of the TS...As a pkg with only one program set to "Run as Task Sequence without being advertised" One program calls upon the script within this package with the following cmdline...powershell.exe -File .\B4XOSD.ps1

Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 3:21pm

Are you on R2?

What exactly does smsts.log say when this is run? (If you're going to post from the log, please post the entire, relevant, and unedited snippet please.)

July 28th, 2015 3:24pm

Yep...R2.

Here's the log...

==============================[ OSDSetupHook.exe ]============================== OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Executing task sequence OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Loading the Task Sequencing Environment from "C:\_SMSTaskSequence\TSEnv.dat". OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912} OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03} OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Debug shell is enabled OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Successfully enabled debug command shell support. OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Configuring local administrator account OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Enabling local administrator account OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Account was already enabled OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Re-assign all drive letters... OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
The drive information which has no drive letter can not be found. No need to re-assign driver letters. OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Installing SMS client OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Clearing existing client configuration. OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Cleaning existing client certificates from SMS certificate store OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Deleting existing certficate "SMS Signing Certificate" OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Deleting existing certficate "SMS Encryption Certificate" OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Restoring SMS client identity. OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
The client certificates were not found in the environment. New certificates will be generated. OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Successfully restored the client identity. OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
TS started from an unknown machine... Using submitted GUID GUID:32cc1146-8b7c-4965-a4b7-550452786c87 OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Using CRL:  OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Unable to read SMS client cert from environment. Not restoring SMS client cert. OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Executing command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Register:WinPE OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
==========[ TsProgressUI started in process 2684 ]========== TsProgressUI 7/28/2015 10:30:05 AM 2688 (0x0A80)
Registering COM classes TsProgressUI 7/28/2015 10:30:05 AM 2688 (0x0A80)
sbModulePath = C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe TsProgressUI 7/28/2015 10:30:05 AM 2688 (0x0A80)
Shutdown complete. TsProgressUI 7/28/2015 10:30:05 AM 2688 (0x0A80)
Process completed with exit code 0 OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Successfully registered TS Progress UI. OSDSetupHook 7/28/2015 10:30:05 AM 2520 (0x09D8)
Executing command line: "C:\_SMSTaskSequence\OSD\DCE00002\ccmsetup.exe" /useronly /source:C:\_SMSTaskSequence\OSD\DCE00002 /config:MobileClient.TCF /status:692 OSDSetupHook 7/28/2015 10:30:06 AM 2520 (0x09D8)
Process completed with exit code 0 OSDSetupHook 7/28/2015 10:32:50 AM 2520 (0x09D8)
Start to cleanup TS policy OSDSetupHook 7/28/2015 10:32:50 AM 2520 (0x09D8)
End TS policy cleanup OSDSetupHook 7/28/2015 10:32:50 AM 2520 (0x09D8)
Active request handle is empty, registering with new active request handle. This is expected if the TS was started from a media/PXE. OSDSetupHook 7/28/2015 10:32:50 AM 2520 (0x09D8)
Saving the new active request handle for the task sequence: {A66EC9F4-F7F4-4A56-88B9-57D68B69C0EE} OSDSetupHook 7/28/2015 10:32:50 AM 2520 (0x09D8)
Succesfully registered the tasksequence with the execution manager OSDSetupHook 7/28/2015 10:33:05 AM 2520 (0x09D8)
Executing command line: "C:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister OSDSetupHook 7/28/2015 10:33:06 AM 2520 (0x09D8)
==========[ TsProgressUI started in process 3416 ]========== TsProgressUI 7/28/2015 10:33:06 AM 3268 (0x0CC4)
Unregistering COM classes TsProgressUI 7/28/2015 10:33:06 AM 3268 (0x0CC4)
Shutdown complete. TsProgressUI 7/28/2015 10:33:06 AM 3268 (0x0CC4)
Process completed with exit code 0 OSDSetupHook 7/28/2015 10:33:06 AM 2520 (0x09D8)
Successfully unregistered TS Progress UI. OSDSetupHook 7/28/2015 10:33:06 AM 2520 (0x09D8)
Moving logs to SMS client directory OSDSetupHook 7/28/2015 10:33:06 AM 2520 (0x09D8)
Successfully moved logs to SMS client log directory: C:\Windows\CCM\Logs\SMSTSLog OSDSetupHook 7/28/2015 10:33:06 AM 2520 (0x09D8)
Executing task sequence manager bootstrap OSDSetupHook 7/28/2015 10:33:06 AM 2520 (0x09D8)
Executing command line: "C:\Windows\CCM\TSMBootstrap.exe" /env:Gina /configpath:C:\_SMSTaskSequence /bootcount:1 OSDSetupHook 7/28/2015 10:33:06 AM 2520 (0x09D8)
==============================[ TSMBootStrap.exe ]============================== TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Command line: "C:\Windows\CCM\TSMBootstrap.exe" /env:Gina /configpath:C:\_SMSTaskSequence /bootcount:1 TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Current OS version is 6.1.7601.1 TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Logging successfully initialized. TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Resuming Task Sequence in Full OS TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
We are going in GINA and potentially need to set the authenticator TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
setting the authenticator TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Executing command line: "C:\Windows\CCM\TsProgressUI.exe" /Register:WinPE TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
==========[ TsProgressUI started in process 3320 ]========== TsProgressUI 7/28/2015 10:33:06 AM 3212 (0x0C8C)
Command line: "C:\Windows\CCM\TsProgressUI.exe" /Register:WinPE TsProgressUI 7/28/2015 10:33:06 AM 3212 (0x0C8C)
Registering COM classes TsProgressUI 7/28/2015 10:33:06 AM 3212 (0x0C8C)
sbModulePath = C:\Windows\CCM\TsProgressUI.exe TsProgressUI 7/28/2015 10:33:06 AM 3212 (0x0C8C)
Unregistering class objects TsProgressUI 7/28/2015 10:33:06 AM 3212 (0x0C8C)
Shutdown complete. TsProgressUI 7/28/2015 10:33:06 AM 3212 (0x0C8C)
Process completed with exit code 0 TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Successfully registered TS Progress UI. TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Found network adapter "Intel(R) Dual Band Wireless-N 7260" with IP Address 0.0.0.0. TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Found network adapter "Intel(R) Ethernet Connection I217-LM" with IP Address 192.168.15.123. TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Starting Task Sequence Manager. TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
executing TS Manager not in full media TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
executing TS Manager in c:\windows\ccm TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Executing command line: "TsManager.exe" TSMBootstrap 7/28/2015 10:33:06 AM 3328 (0x0D00)
Successfully intialized Logging for TS Manager. TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Commandline: "TsManager.exe" TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
/service parameter found at index: -1 TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
/standalone parameter found at index: -1 TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
/noclient parameter found at index: -1 TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Successfully registered Task Sequencing COM Interface. TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Executing as a standalone exe TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Initializing TS Environment TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Opening Task Sequencing Environment TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
pwszPath && *pwszPath, HRESULT=80070057 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,228) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
pwszPath && *pwszPath, HRESULT=80070057 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,228) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
pwszPath && *pwszPath, HRESULT=80070057 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,228) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
pwszPath && *pwszPath, HRESULT=80070057 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,228) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Path variable OSDisk converted from 73D5ED280000100000000000: to C: TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
NOT executing in WinPE TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Compiling Config policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Compiling config policies... TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Compiling SysHealthConfig policy... TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Retrieving value from TSEnv for '_SMSTSSysHealthClientConfig' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
::DecompressBuffer(65536) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Decompression (zlib) succeeded: original size 686, uncompressed size 4652. TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Instance path = 'CCM_SystemHealthClientConfig.SiteSettingsKey="1"' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Compiling SoftUpdConfig policy... TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Retrieving value from TSEnv for '_SMSTSSWUpdateClientConfig' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
::DecompressBuffer(65536) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Decompression (zlib) succeeded: original size 1931, uncompressed size 19236. TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Instance path = 'CCM_SoftwareUpdatesClientConfig.SiteSettingsKey="1"' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Compiling SoftDistClientConfig policy... TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Retrieving value from TSEnv for '_SMSTSSoftDistClientConfig' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
::DecompressBuffer(65536) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Decompression (zlib) succeeded: original size 1332, uncompressed size 13740. TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Instance path = 'CCM_SoftwareDistributionClientConfig.SiteSettingsKey="1"' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Compiling NAAConfig policy... TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Retrieving value from TSEnv for '_SMSTSNAAConfigPolicy' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
::DecompressBuffer(65536) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Decompression (zlib) succeeded: original size 1014, uncompressed size 6446. TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Instance path = 'CCM_NetworkAccessAccount.SiteSettingsKey="1"' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Instance path = 'CCM_NetworkAccessAccount.SiteSettingsKey="1"' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Compiling RebootSettingsConfig policy... TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Retrieving value from TSEnv for '_SMSTSRebootSettingsConfigPolicy' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
::DecompressBuffer(65536) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Decompression (zlib) succeeded: original size 430, uncompressed size 1556. TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Instance path = 'CCM_RebootSettings.SiteSettingsKey="1"' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Compiling AppManClientConfig policy... TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Retrieving value from TSEnv for '_SMSTSAppManClientConfigPolicy' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
::DecompressBuffer(65536) TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Decompression (zlib) succeeded: original size 982, uncompressed size 6358. TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Instance path = 'CCM_ApplicationManagementClientConfig.SiteSettingsKey="1"' TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Start to compile TS policy TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Failed to find property 'AutoApplyDeployment' in 'CCM_ApplicationManagementClientConfig' class defintion. Error 0x80041002. Default value will be used for this property TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
End TS policy compilation TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Get Install Directory for SMS Client TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Updating settings in \\.\root\ccm\policy\machine\actualconfig TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
RequestedConfig policy instance(s) : 434 TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Locked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:Client:Default:{BFDADC41-FDCD-4B9C-B446-8A818D01BEA3} successfully TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Namespace: \\.\ROOT\ccm\policy\Machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "SMS:Client:Default:{BFDADC41-FDCD-4B9C-B446-8A818D01BEA3}") AND (PolicyState = "Active") AND (PolicyType = "Machine") TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
There is no ccm_policy_policy instance, skipping addition to realinst map TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
Unlocked \\.\ROOT\ccm\policy\Machine\RequestedConfig for source SMS:Client:Default:{BFDADC41-FDCD-4B9C-B446-8A818D01BEA3} successfully TSManager 7/28/2015 10:33:06 AM 2728 (0x0AA8)
RequestedConfig policy instance(s) : 0 TSManager 7

Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 3:42pm

That log snippet doesn't show your command running at all.
July 28th, 2015 3:56pm

My fault...it was in the truncated log.

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/B4XOSD.ps1 to C:\_SMSTaskSequence\Packages\DCE00072\B4XOSD.ps1            InstallSoftware 7/28/2015 10:43:19 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/DeliveryTaskMgr/DeliveryTaskManager-B41.exe range 0-4047543                InstallSoftware 7/28/2015 10:43:19 AM  1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/DeliveryTaskMgr/DeliveryTaskManager-B41.exe to C:\_SMSTaskSequence\Packages\DCE00072\DeliveryTaskMgr/DeliveryTaskManager-B41.exe   InstallSoftware 7/28/2015 10:43:19 AM       1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/DeliveryTaskMgr/DeliveryTaskManager.ps1 range 0-217                InstallSoftware 7/28/2015 10:43:19 AM  1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/DeliveryTaskMgr/DeliveryTaskManager.ps1 to C:\_SMSTaskSequence\Packages\DCE00072\DeliveryTaskMgr/DeliveryTaskManager.ps1            InstallSoftware 7/28/2015 10:43:19 AM       1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/G2MSetup7.1.2553_IT_B43.msi range 0-10433023                InstallSoftware 7/28/2015 10:43:19 AM  1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/G2MSetup7.1.2553_IT_B43.msi to C:\_SMSTaskSequence\Packages\DCE00072\G2MSetup7.1.2553_IT_B43.msi                InstallSoftware 7/28/2015 10:43:19 AM         1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/G2MSetup7.2.2759_IT_B44.msi range 0-10756095                InstallSoftware 7/28/2015 10:43:19 AM  1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/G2MSetup7.2.2759_IT_B44.msi to C:\_SMSTaskSequence\Packages\DCE00072\G2MSetup7.2.2759_IT_B44.msi                InstallSoftware 7/28/2015 10:43:20 AM         1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/hosts range 0-46            InstallSoftware 7/28/2015 10:43:20 AM  1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/hosts to C:\_SMSTaskSequence\Packages\DCE00072\hosts          InstallSoftware 7/28/2015 10:43:20 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/IE10-Setup-Branding-B43.exe range 0-376319  InstallSoftware                7/28/2015 10:43:20 AM  1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/IE10-Setup-Branding-B43.exe to C:\_SMSTaskSequence\Packages\DCE00072\IE10-Setup-Branding-B43.exe    InstallSoftware 7/28/2015 10:43:20 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/IE10-Setup-Branding.msi range 0-409599           InstallSoftware                7/28/2015 10:43:20 AM  1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/IE10-Setup-Branding.msi to C:\_SMSTaskSequence\Packages\DCE00072\IE10-Setup-Branding.msi   InstallSoftware 7/28/2015 10:43:20 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/install_flash_player_18_active_x_B44.msi range 0-19249663                InstallSoftware 7/28/2015 10:43:20 AM  1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/install_flash_player_18_active_x_B44.msi to C:\_SMSTaskSequence\Packages\DCE00072\install_flash_player_18_active_x_B44.msi                InstallSoftware 7/28/2015 10:43:20 AM       1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/JLDashBoard.ico range 0-1204605          InstallSoftware 7/28/2015 10:43:20 AM       1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/JLDashBoard.ico to C:\_SMSTaskSequence\Packages\DCE00072\JLDashBoard.ico    InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/JLDashboardB43.msi range 0-409599    InstallSoftware 7/28/2015 10:43:21 AM       1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/JLDashboardB43.msi to C:\_SMSTaskSequence\Packages\DCE00072\JLDashboardB43.msi           InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/ND15R1/ND15R1-B41.txt range 0-69     InstallSoftware 7/28/2015 10:43:21 AM       1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/ND15R1/ND15R1-B41.txt to C:\_SMSTaskSequence\Packages\DCE00072\ND15R1/ND15R1-B41.txt   InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/ND15R1/ND2015.ico range 0-96661       InstallSoftware 7/28/2015 10:43:21 AM       1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/ND15R1/ND2015.ico to C:\_SMSTaskSequence\Packages\DCE00072\ND15R1/ND2015.ico            InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/ND15R1/newebcl.msi range 0-903679  InstallSoftware 7/28/2015 10:43:21 AM       1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/ND15R1/newebcl.msi to C:\_SMSTaskSequence\Packages\DCE00072\ND15R1/newebcl.msi         InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/ND15R3_B44.txt range 0-37      InstallSoftware 7/28/2015 10:43:21 AM         1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/ND15R3_B44.txt to C:\_SMSTaskSequence\Packages\DCE00072\ND15R3_B44.txt    InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/newebcl_B44.msi range 0-663551          InstallSoftware 7/28/2015 10:43:21 AM       1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/newebcl_B44.msi to C:\_SMSTaskSequence\Packages\DCE00072\newebcl_B44.msi                 InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/PSSHIP/PSShipSetup.msi range 0-3151871         InstallSoftware                7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/PSSHIP/PSShipSetup.msi to C:\_SMSTaskSequence\Packages\DCE00072\PSSHIP/PSShipSetup.msi InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/PSSHIP/Thumbs.db range 0-24063        InstallSoftware 7/28/2015 10:43:21 AM       1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/PSSHIP/Thumbs.db to C:\_SMSTaskSequence\Packages\DCE00072\PSSHIP/Thumbs.db             InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

Downloading file /SMS_DP_SMSPKG$/DCE00072/sccm?/Silverlight-B43.exe range 0-6962911     InstallSoftware 7/28/2015 10:43:21 AM       1764 (0x06E4)

Downloaded file fromhttp://xxxxx.xxxxxxxxxx.xxxx/SMS_DP_SMSPKG$/DCE00072/sccm?/Silverlight-B43.exe to C:\_SMSTaskSequence\Packages\DCE00072\Silverlight-B43.exe               InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

VerifyContentHash: Hash algorithm is 32780        InstallSoftware 7/28/2015 10:43:21 AM  1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\060102015e is a directory. Setting directory security InstallSoftware 7/28/2015 10:43:22 AM       1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\deliverytaskmgr is a directory. Setting directory security        InstallSoftware                7/28/2015 10:43:22 AM  1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\nd15r1 is a directory. Setting directory security          InstallSoftware 7/28/2015 10:43:22 AM       1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\psship is a directory. Setting directory security           InstallSoftware 7/28/2015 10:43:22 AM       1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\060102015e\brndonly is a directory. Setting directory security                InstallSoftware 7/28/2015 10:43:22 AM  1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\060102015e\ins is a directory. Setting directory security         InstallSoftware                7/28/2015 10:43:22 AM  1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\060102015e\brndonly\win32_win7 is a directory. Setting directory security                InstallSoftware 7/28/2015 10:43:22 AM  1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\060102015e\brndonly\win32_win7\en-us is a directory. Setting directory security                InstallSoftware 7/28/2015 10:43:22 AM  1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\060102015e\ins\win32_win7 is a directory. Setting directory security                InstallSoftware 7/28/2015 10:43:22 AM  1764 (0x06E4)

c:\_smstasksequence\packages\dce00072\060102015e\ins\win32_win7\en-us is a directory. Setting directory security                InstallSoftware 7/28/2015 10:43:22 AM  1764 (0x06E4)

Content successfully downloaded at C:\_SMSTaskSequence\Packages\DCE00072.           InstallSoftware 7/28/2015 10:43:23 AM         1764 (0x06E4)

SMS PkgID 'DCE00072' resolved to location 'C:\_SMSTaskSequence\Packages\DCE00072'              InstallSoftware 7/28/2015 10:43:23 AM       1764 (0x06E4)

Start to compile TS policy              InstallSoftware 7/28/2015 10:43:23 AM  1764 (0x06E4)

Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace       InstallSoftware                7/28/2015 10:43:23 AM  1764 (0x06E4)

End TS policy compilation             InstallSoftware 7/28/2015 10:43:23 AM  1764 (0x06E4)

getPointer()->ExecQuery( BString(L"WQL"), BString(pszQuery), lFlags, pContext, ppEnum ), HRESULT=80041017 (e:\nts_sccm_release\sms\framework\core\ccmcore\wminamespace.cpp,463)              InstallSoftware 7/28/2015 10:43:23 AM         1764 (0x06E4)

Failed to query CCM_SoftwareDistribution          InstallSoftware 7/28/2015 10:43:23 AM  1764 (0x06E4)

Get Install Directory for SMS Client          InstallSoftware 7/28/2015 10:43:23 AM  1764 (0x06E4)

Start to evaluate TS policy with lock         InstallSoftware 7/28/2015 10:43:23 AM  1764 (0x06E4)

Locked policy transaction lock successfully           InstallSoftware 7/28/2015 10:43:23 AM  1764 (0x06E4)

Updating settings in \\.\root\ccm\policy\machine\actualconfig InstallSoftware 7/28/2015 10:43:23 AM  1764 (0x06E4)

RequestedConfig policy instance(s) : 434              InstallSoftware 7/28/2015 10:43:24 AM  1764 (0x06E4)

Locked \\.\ROOT\ccm\policy\machine\RequestedConfig for source SMS:Client:Default:{BFDADC41-FDCD-4B9C-B446-8A818D01BEA3} successfully       InstallSoftware 7/28/2015 10:43:24 AM  1764 (0x06E4)

Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 4:15pm

Sorry, that still doesn't show it. It shows a bunch of files being downloaded (presumably for the package containing your script), but not the actual execution of the script.
July 28th, 2015 4:19pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics