To assign a logon script to a user's profile, follow these steps:
- Click Start, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Computer Management.
- In the console tree, expand Local Users and Groups, and then click Users.
- Click the user account that you want to work with.
- Click Action, and then click Properties.
- Click the Profile tab, and then type the path and file name of the script under Logon script.
- Click Apply, and then click OK.
- The default location for local logon scripts is the %SystemRoot%\System32\Repl\Import\Scripts folder. You must share this folder by using the share name netlogon.
- If you do not want to create the netlogon share in the default location, place the script in any folder that the user has access to during logon. It is recommended that this folder be shared.
- If the logon script is stored in a subfolder of the domain controller logon script path (Sysvol\DomainName\Scripts), precede the file name with the relative path, for example, Clerks.bat or Our_users\user_1.cmd
Article ID: 315245 - Last Review: Oct 23, 2008 - Revision: 1