K2000 post-install task errors, "The system cannot find the file specified."
I've created 2 new post-install task scripts and upon post-install on any system, I'm getting an error:
Task ID (number)
Task Name (task name)
Return Code: 2
Error description: The system cannot find the file specified.
When I click edit Tasks.xml, and look through the code for the offending tasks, I see:
<Task ID="219"> <Name>VBS - GetSetAsset</Name> <WorkingDirectory>%systemdrive%\KACE\Applications\219</WorkingDirectory> <CommandLine><![CDATA[getsetasset.vbs arg1 arg2]]></CommandLine> <Parameters></Parameters> <PostTaskAction>Reboot</PostTaskAction> <KACETaskType>Application</KACETaskType> <FileType>Exe</FileType> <Type>PO</Type> <Guid>15384ce1924ae3</Guid> </Task>
If I go to the specified Working Directory, it shows right up and I can run the script.
My other script is similar and has the same error and XML code.
Here's what it looks like in K2000: