I have always had trouble with setting up script host tasks. I have a very simple script host package that runs a vbs script that just does this
wscript.echo "Hello World"
The script runs as the local system account.
Nothing very fancy but I get the following errors from the LDClinet\Data\sdclient_task103.log file (substituting the server and sharename)
Mon, 20 Aug 2012 15:33:58 ..\AdditionalFiles.cpp(224): (8DAC4026): Failed to get the file hash for \\%servername%\%shareneame%\aTest.vbs : (80070002)
Mon, 20 Aug 2012 15:33:58 ..\AdditionalFiles.cpp(269): (8DAC4026): Failed to download and hash all additional files
Mon, 20 Aug 2012 15:33:58 processing of package is complete, result -1918091226 (0x8dac4026 - code 16422)
I can open a command prompt and run wscript.exe \\%servername%\%shareneame%\aTest.vbs and it works just fine.
So what is this business about failing to get a hash file?