Share via


Assign a logon script to a user or group

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

Concepts

Group Policy (pre-GPMC)