Article ID: 198642 - View products that this article applies to.
This article was previously published under Q198642
NoticeThis article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center
(http://support.microsoft.com/win2000)is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy
This article describes the scripts that are available in Windows 2000. It provides an overview of the logon scripts that you can assign to individual users in Computer Management and the user logon, user logoff, computer startup, and computer shutdown scripts that you can configure by using Group Policy.
To remain compatible with earlier versions, Windows 2000 keeps the logon script that is used in Microsoft Windows NT 4.0, in which logon scripts are assigned to individual user accounts. You assign a logon script to an individual user account when you type the path to the logon script file in the Login script box of the Profile tab in the UserName Properties dialog box in Computer Management. When a user logs on and a path to the logon script for the user account appears, the server locates and runs the script. Note that the entry in the Logon script box specifies only the file name (and optionally the relative path) of the logon script. The actual logon script is located on the server.
Windows also provides a set of policy-driven user logon, user logoff, computer startup, and computer shutdown scripts that you can manage by using the Group Policy snap-in. These scripts apply to all the users and computers for which a particular Group Policy object applies. The Group Policy snap-in includes the following two extensions for script deployment:
For additional information about how to assign user logon, user logoff, computer startup, and computer shutdown scripts by using Group Policy, click the following article number to view the article in the Microsoft Knowledge Base:
322241For additional information about Group Policy in Windows 2000, visit the following Microsoft Web site and view the Group Policy section:
(http://support.microsoft.com/kb/322241/EN-US/ )HOW TO: Assign Scripts in Windows 2000
http://technet.microsoft.com/en-us/windowsserver/2000/bb735347.aspxFor more information about Windows Script Host, visit the following Microsoft Web site:
(http://support.microsoft.com/kb/188135/en-us/ )Description of Windows Script Host (WSH)
Contact us for more help
Connect with Answer Desk for expert help.