Working with Computer and User Script Policies

Script policies control the behavior and assignment of computer and user scripts. Four types of scripts can be configured:

  • Computer startup. Executed during startup

  • Computer shutdown. Executed prior to shutdown

  • User logon. Executed when a user logs on

  • User logoff. Executed when a user logs off

You can write these scripts as command-shell batch or Windows scripts. Batch scripts use the shell command language. Windows scripts use Windows Script Host (WSH) and are written in a scripting language, such as Microsoft Visual Basic, Scripting Edition (VBScript) or Microsoft JScript.

Controlling Script Behavior Through Policy

Policies that control script behavior are found under Computer Configuration\Administrative ...

Get Windows Vista™ Administrator's Pocket Consultant 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.