Assign a logon script to a user or group

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To assign a logon script to a user or group

  1. Open Computer Management.

  2. In the console tree, click Users.

    Where?

    • System Tools/Local Users and Groups/Users

  3. Double-click the user to which you want to assign a logon script.

  4. Click the Profile tab.

  5. In the Logon script field, enter the path and name of the logon script you want to assign to that user, and then click OK.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

  • To open Computer Management, click Start, click Control Panel, double-click Administrative Tools, and then double-click Computer Management.

  • You can store local logon script files in any local or shared folder that the user can access during logon.

  • For most members of the Windows server 2003 family, the default location for local logon scripts is the %systemroot%\System32\Repl\Imports\Scripts folder, which is shared using the share name netlogon. However, Windows Server 2003, Standard Edition, does not create this folder.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Tags :


Community Content

RalphF
How to handle more than a single user...
This content caught my eye as well because of the title and appears to be misleading as suggested since there is no discussion re how to handle a group.<br /><br />I found the following in the Logon Scripts Assignments section under Logon Script Concepts (section below this content):<br />http://technet.microsoft.com/en-us/library/cc758958(WS.10).aspx<br />You can also assign logon and logoff scripts, and computer startup and shutdown scripts by using the Group Policy snap-in. These scripts apply to the entire scope of users and computers for which a particular Group Policy object applies.<br /><br />It looks like I'll have to look at the GPO method if I want to target a group instead of doing it per user.<br />

coamiked
Has Scott's statement been seen?
I think not<br />
Tags :

ScottDel
Misleading title
The title indicates this can be done to a user OR group but the content only applies to a user account.<br />

Page view tracker