Article ID: 198642 - Last Review: March 20, 2007 - Revision: 1.9 Overview of Logon, Logoff, Startup, and Shutdown Scripts in Windows 2000
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/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000) is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy (http://support.microsoft.com/lifecycle/) .SUMMARY 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. MORE INFORMATIONTo 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: 322241
(http://support.microsoft.com/kb/322241/EN-US/
)
HOW TO: Assign Scripts in Windows
2000
For additional information about Group Policy in
Windows 2000, visit the following Microsoft Web site and view the Group Policy
section: http://technet.microsoft.com/en-us/windowsserver/2000/bb735347.aspx
(http://technet.microsoft.com/en-us/windowsserver/2000/bb735347.aspx)
For more information about Windows Script Host, visit the
following Microsoft Web site: http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en)
| Other Resources Other Support Sites
CommunityArticle Translations
|





















Back to the top