Error: "Error 50 - The Request Is Not Supported" from Scheduled Task

Version 6

    Verified Product Versions

    Endpoint Manager 2016.x

    Symptom

     

    Software Distribution task fails with the following results:

    Result: The request is not supported.

    Return Code: 50

    1-status.png

     

    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.

     

    2-runfromsource.png

     

    3-http.png

     

     

    Solution

     

    • Set the Scheduled Tasks' Download Options to Download and Execute.

    - or -

    • Change the file path to be UNC.