Setting up Remote WSH
Remote WSH, which is a new technology included in WSH 5.6, provides the ability to run a script on a remote computer or computers. With Remote WSH, the script is physically copied from the local computer to the remote computer before executing. In order to enable Remote WSH functionality, you must first set up the remote computer with the proper security settings. The steps below perform the tasks that enable Remote WSH.
Note
Both the remote and local computers must be running Windows NT 4 SP3 or greater in order to use Remote WSH.
Procedures
To enable a computer to run remote scripts
Install WSH 5.6 on the computer. If you are using Windows XP or have installed Internet Explorer 6 or greater, WSH 5.6 has already been installed.
Note
To upgrade to the latest version of Windows Script Host, search for "Windows Script Host" on the Microsoft Download Center.
Add yourself to the remote computer's Local Administrators group.
To enable Remote WSH, use the System Policy Editor (Poledit.exe) on the server.
Note
An administrator who wants to enable Remote WSH should add a subkey entry named Remote of type REG_SZ to the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings. To enable Remote WSH, set the value of Remote to 1; to disable Remote WSH, set the value to 0. If the value of the Remote value is not set, by default Remote WSH is disabled.
Note
For more information on the System Policy Editor, see the Microsoft Windows online help system.
WSH is enabled on the computer. To test it, see Running Scripts Remotely.
See Also
Concepts
Other Resources
Security and Windows Script Host
Change History
Date |
History |
Reason |
---|---|---|
August 2009 |
Changed upgrade link. |
Customer feedback. |