Problem solve Get help with specific problems with your technologies, process and projects.

Auto logon for NT 4.0

Auto logon can easily be setup on any NT machine by adding two strings to the registry and modifying two others. Here's how.

Auto logon can easily be setup on any Windows NT machine by adding two strings to the registry and modifying two...


Start regedit and navigate to the following key:

"HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon"

Double click on DefaultUserName and enter the user name you wish to use.

Add a new String Value and name it AutoAdminLogon Set it's value to 1

Add another String Value and name it DefaultPassword Set it's value to the password of the user in "DefaultUserName"

NOTE: if the password for the account is blank, the AutoLogon will only work one time, then revert back to a manual logon.

Depending on your settings, modify DefaultDomainName to the name of your domain or the name of your computer.

To logon as a different user, just hold down the shift key while logging out. The normal logon prompt should appear.

To disable AutoLogon, change the value in the AutoAdminLogon to 0

This was last published in July 2001

Dig Deeper on Microsoft Active Directory

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.