meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Monday, September 11, 2006

Windows Tip: Remotely changing the default script host

By Mitch Tulloch, MTIT Enterprises

By default, Windows computers have Wscript.exe configured as their default script host instead of Cscript. The difference between these two script hosts is mainly evident when your script generates some kind of output. For example, if Wscript.exe is your default host, then your script output is windowed and is displayed as a series of popup dialog boxes. But if Cscript.exe is your default host, then your script output is displayed within the command prompt window in which
your script is running.

Now if you are an enterprise admin who has started developing your logon scripts using VBScript (.vbs files) instead of the old batch language (.bat files) you must pay attention to this matter of which default script host is configured on your users' computers. For example, say you write the following simple logon script that maps a drive...

Read the full article here

0 Comments:

Post a Comment

<< Home