Managing Computer and User Scripts

So far in this chapter, we’ve talked about the many ways you can work with user profiles and data within profiles to optimize the user environment. Now let’s look at an additional technique for optimizing user environments that involves scripts. In Windows Server 2003, you can configure two types of scripts to help configure the desktop and user environment:

  • Computer scripts, which are run at startup or shutdown

  • User scripts, which are run at logon or logoff

Not only can you write these scripts as command-shell batch scripts ending with the .bat or .cmd extension, but you can also write them using the Windows Script Host (WSH). WSH is a feature of Windows Server 2003 that lets you use scripts written in a scripting ...

Get Microsoft® Windows® Group Policy Guide 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.