8.4. Logon, Logoff, Startup, and Shutdown Scripts
Users have always been able to get logon scripts. NT 4 used User Manager for Domains to assign logon scripts, and Windows 2000, 2003, and 2008 domains may use Active Directory Users and Computers to assign logon scripts. However, you can step up to the next level using Group Policy and get more than just logon scripts:
Users can get logon and logoff scripts.
Computers can get startup and/or shutdown scripts.
And, the best part is, you're not limited to old DOS-style batch files. Scripts deployed via Group Policy can use DOS-style .BAT or .CMD scripts, VBScript (.VBS files), or JavaScript (.JS files), or even executables.
Although logon and startup scripts might be useful to map to network drives ...
Get Group Policy: Fundamentals, Security, and Troubleshooting 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.