O'Reilly logo

Microsoft® Windows Server™ 2003 Inside Out by William R. Stanek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Scripts in Group Policy

In Windows Server 2003 you can configure computer startup and shutdown scripts as well as user logon and logoff scripts. You can write these scripts as command-shell batch scripts ending with the .bat or .cmd extension or as scripts that use the Windows Script Host (WSH). WSH is a feature of Windows Server 2003 that lets you use scripts written in a scripting language, such as Microsoft JScript and Microsoft VBScript.

Configuring Computer Startup and Shutdown Scripts

You can assign computer startup and shutdown scripts as part of a group policy. In this way, all computers in a site, domain, or OU run scripts automatically when they're started or shut down.

To configure a script that should be using during computer startup ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required