Article ID: 258286 - Last Review: October 31, 2006 - Revision: 3.4

How To Assign a Logon Script to a Profile for a Local User in Windows 2000

This article was previously published under Q258286

On This Page

Expand all | Collapse all

SUMMARY

This article describes how to assign a logon script to a profile for a local user's account on a Windows workstation or a Windows server. This logon script runs when the local user logs on locally to the computer. This logon script does not run when the user logs on to the domain.

NOTE: You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.

Assigning a Logon Script to a User's Profile

  1. On the taskbar, click the Start button, point to Settings, and then click Control Panel.
  2. Double-click Administrative Tools, and then double-click Computer Management.
  3. In the console tree, expand Local Users and Groups, and click Users.
  4. Click the user account that you want.
  5. Click Action, and then click Properties.
  6. Click the Profile tab, and then type the path and file name of the script in Logon script.
  7. Click Apply, and then click OK.

Notes

  • The default location for local logon scripts is the %Systemroot%\System32\Repl\Imports\Scripts folder. The %Systemroot%\System32\Repl\Imports\Scripts folder is not created on a new installation of Windows. Therefore, the %SystemRoot%\System32\Repl\Imports\Scripts folder must be created and shared out with 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 can access during logon. It is recommended that this folder be shared.
  • If the logon script is stored in a subfolder of the domain controller's logon script path (Sysvol\DomainName\Scripts), precede the file name with the relative path, for example, Clerks.bat or Our_users\user_1.cmd


APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbenv kbhowto kbhowtomaster KB258286
 

Article Translations

 

Related Support Centers