Article ID: 97597
Article Last Modified on 10/31/2006
APPLIES TO
- Microsoft Windows 2000 Server
- Microsoft Windows NT Advanced Server 3.1
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Server 4.0 Standard Edition
- Microsoft Windows NT Workstation 3.1
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows NT Workstation 4.0 Developer Edition
This article was previously published under Q97597
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SUMMARY
Windows NT allows you to automate the logon process by storing your password and other pertinent information in the Registry database.
NOTE: This feature allows other users to start your computer and use the account you establish to automatically logon. Also, timing conflicts can occur. For example: If you have several network transports loaded, enabling automatic logon may make Windows NT attempt to connect to network resources before the network transports are completely loaded.
MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
Use the Registry Editor (Regedt32.exe) to add your logon information, as follows:
- Start REGEDT32.EXE and locate the following Registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Establish your domain name, account name, and password, using the values you would normally type when logging on. You should assign the following values:
DefaultDomainName
DefaultUserName
DefaultPasswordNOTE: The DefaultPassword value may not exist. If it doesn't, from the Edit menu, choose Add Value. In the Value Name field, type DefaultPassword. Select REG_SZ for the Data Type. In the String field, type your password, and then save your changes.
Also, if no DefaultPassword string is specified, Windows NT automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), thus disabling the AutoAdminLogon feature.
- From the Edit menu, choose Add Value. Enter AutoAdminLogon in the Value Name field. Select REG_SZ for the Data Type, enter 1 in the String field, and then save your changes.
- Exit REGEDT32.
- Exit Windows NT, and then turn off your computer.
- Restart your computer and Windows NT. You should be 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 you restart Windows NT.
It is also important to note that if the DONTDISPLAYLASTUSERNAME value is set to 1, Autoadminlogon does not function.
Additional query words: regedit auto login autologon automated
Keywords: kbinfo kbusage KB97597