Subscribe to Windows IT Pro
September 30, 2002 12:00 AM

Automatic NT Logon

Windows IT Pro
InstantDoc ID #26229
Rating: (1)

Windows NT lets you store your domain name, username, and password in the registry to automate the logon process. To enable automatic logon, you must first create the AutoAdminLogon value. Open regedt32 and go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon registry subkey. From the Edit menu, select Add Value. Enter

AutoAdminLogon

in the Value Name field. Select REG_SZ for the data type. Enter 1 in the String field and click OK.

Next, add your logon information to the registry. For the DefaultDomainName value, enter your domain name. For the DefaultUserName value, enter your logon username. For the DefaultPassword value, enter your logon password.

If the DefaultPassword value doesn't exist, select Add Value from the Edit menu. In the Value Name field, enter

DefaultPassword

Select REG_SZ for the data type. Finally, enter your password in the String field and click OK. If you don't enter your password in the String field, NT changes the AutoAdminLogon registry value from 1 (true) to 0 (false), thus disabling the AutoAdminLogon feature.

Close regedt32. Reboot your computer and restart NT. You will then be able to log on automatically.

You can bypass the AutoAdminLogon process and log on as a different user. Hold down the Shift key after a logoff or an NT restart.

Be aware that other users can also automatically log on to your computer. Another problem is timing conflicts. For example, if you have several network transports loaded, enabling automatic logon might cause NT to attempt to connect to network resources before the network transports load completely.

FASTFACT
91% of Windows & .NET Magazine readers support remote employees. Source: Readex Reader Profile 2002

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    8 years ago
    Oct 11, 2004

    Excellant....Rajesh

  • Joann Moore
    8 years ago
    May 06, 2004

    I think this article addresses what I am trying to accomplish but not sure. I want to bypass the user logon and password entry. When I installed win2k onmy computer I entered an option to pass by the logon info but my husband didn't on his. He wants me to set his to do this. Is the instructions above for this? As of now his systems stops and waits for him to enter a password or hit enter before win 2K will load.

  • Kaczy
    9 years ago
    Nov 07, 2003

    Exactly what I've been looking for. Thx.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.