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.
Policies that control script behavior are found under Computer Configuration\Administrative ...