Using the VBScript Scripts

The VBScript scripts on the Companion CD must be run using Cscript.exe as the script host. You can do this in several ways:

  • Type cscript script_name.vbs <parameters> at a command prompt. For a list of available parameters, type cscript script_name.vbs /? at a command prompt or open the script using Notepad and read the comments in the script.

  • Configure the default script host on the local computer to Cscript.exe so that you can run scripts by typing script_name.vbs <parameters> at a command prompt. To set the default script host to Cscript.exe, type cscript //h:cscript //nologo //s at a command prompt.

  • Use Group Policy to change the default script host on targeted computers to Cscript.exe by running the following batch ...

Get Windows Vista® Resource Kit, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.