Chapter 27. Logon and Logoff Scripts

IN THIS CHAPTER

Perhaps one of the most common uses for scripting is the creation of logon (and, for Active Directory [AD] domains, logoff) scripts. A number of scripting languages have been created almost exclusively for use in these scripts, including Microsoft’s unsupported Kixtart, the more general-purpose WinBatch, and many others. Dozens of command-line utilities exist that allow batch files to stand in as logon scripts. Although VBScript has a steeper learning curve than these other products, it also offers unmatched power and flexibility. VBScript’s capability to use Component Object Model ...

Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration 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.