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 ...

Get Microsoft® Windows Server™ 2003 Inside Out 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.