1 Reply Latest reply on Nov 16, 2009 9:01 AM by Mach6

    WSCRIPT.exe for Windows Scripting Host distribution package

    Rookie

      When I make a WSH Distribution package our Landesk server uses cscript.exe to run a vbs installation.

      Is there a way to make Landesk use wscript.exe instead of cscript.exe?

       

      Herjo

        • 1. Re: WSCRIPT.exe for Windows Scripting Host distribution package
          Employee

          Whether Windows uses WSCRIPT or CSCRIPT depends on the settings on that machine.  To change the settings you can run:

           

          wscript.exe //H:WScript or wscript.exe //H:CScript.  The //H: command will tell it what you want to be used as the default utility.  This change will be applied to both LANDesk and non-LANDesk scripts.

           

          EDIT:

          When I say LANDesk and non-LANDesk scripts, I really mean WSH scripts that are run from LANDesk distribution packages, and WSH scripts that are run independently of any LANDesk process.