Symptom
Software Distribution task fails with the following results:
Result: The request is not supported.
Return Code: 50
On the client, the sdclient_task##.log shows:
Windows Script Hosts file can not run from source with a HTTP path.
RunPackageInstall: stop on returncode=80070032 of package=PXE Representative Deployment
processing of package is complete, result -2147024846 (0x80070032 - code 50)
Cause
Within the Scheduled Tasks properties, under Task Settings, Download Options is set to 'Run from Source (execute on share)', and the Packages Primary file is set to download HTTP. Certain packages such as Windows Script Host packages are unable to be 'ran from source' if the source is defined using a URL.
Solution
- Set the Scheduled Tasks' Download Options to Download and Execute.
- or -
- Change the file path to be UNC.