Hello Thwack!
Anyone familiar with this process? Overall im looking to have the patch manager push out a batch file that will remedy an issue. The issue has affected several hundred PCs im interested in trying to use the PM to distribute and execute the batch file which is why I ask.
This is the XML view. I put in the bat file before and after the sleep.exe for a second opportunity to run....
<?xml version="1.0" encoding="UTF-8"?>
<packageboot version="2.0.0.0" id="dd53b76e-babc-410f-8901-426d0989f5f1">
<instructions>
<preexecution>
<programs>
<program failureaction="continue" enabled="true" name="HostIP.bat" type="exe" typeaction="runandwait" pathtype="simplepath" path="\\%networkdrive%\C$\Users\%username%\Desktop\Test Bats" successcode="0">/qn /norestart</program>
</programs>
</preexecution>
<execution>
<programs>
<program failureaction="continue" enabled="true" name="sleep.exe" type="exe" typeaction="runandwait" successcode="0"></program>
</programs>
</execution>
<postexecution>
<programs>
<program failureaction="continue" enabled="true" name="HostIP.bat" type="exe" typeaction="runandwait" successcode="0">HostIP.bat</program>
</programs>
</postexecution>
</instructions>
</packageboot>
Any ideas?