Article ID: 310584 - View products that this article applies to.
This article was previously published under Q310584
Notice
This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.
Notice
This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.
Expand all | Collapse all

On This Page

SUMMARY

This article describes how to configure Windows to automate the logon process by storing your password and other pertinent information in the registry database. This feature allows other users to start your computer and use the account you establish to automatically log on.

Important If you enable autologon, it is more convenient to use Windows. However, this feature may pose a security risk. If you set a computer for autologon, anyone who can physically obtain access to the computer can gain access to all of the computer contents, including any network or networks it is connected to.

In addition, when autologon is enabled, the password is stored in the registry in plain text. The specific registry key that stores this value is remotely readable by the Authenticated Users group. This setting is recommended only for cases in which the computer is physically secured and in which steps have been taken to make sure that untrusted users cannot remotely access the registry.

Use Registry Editor (Regedt32.exe) to enable automatic logon

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows


To enable automatic logon, follow these steps:
  1. Start Regedt32.exe, and then locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  2. Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.
  3. Double-click the DefaultDomainName entry, type the domain name, and then click OK.
  4. Double-click the DefaultPassword entry, type your password, and then click OK.

    Note If the DefaultPassword value does not exist, follow these steps:
    1. Click Add Value on the Edit menu.
    2. In the Value Name box, type DefaultPassword, and then click REG_SZ for the Data Type
    3. Type your password in the String box, and then save your changes.
    Also, if no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), which disables the AutoAdminLogon feature.
  5. Click Add Value on the Edit menu, enter AutoAdminLogon in the Value Name box, and then click REG_SZ for the Data Type.
  6. Type 1 in the String box, and then save your changes.
  7. Quit Regedt32.
  8. Click Start, click Shutdown, and then click OK to turn off your computer.
  9. Restart your computer and Windows. You are now able to log on automatically.
NOTE: To bypass the AutoAdminLogon process, and to log on as a different user, hold down the SHIFT key after you log off or after Windows restarts.

Properties

Article ID: 310584 - Last Review: May 20, 2008 - Revision: 4.2
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
Keywords: 
kbhowto kbhowtomaster KB310584

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com