Ask the Expert

Configuring automatic logon using a specific account

At the end of the installation in Windows 2000 Professional, you have a choice of automatically logging on using a specific account. If I choose not to set up this feature at first start up, how can I configure to automatically log on using a specific account? I need to set up a workstation with Windows 2000 Pro installed to be able to log on to Windows without any user interaction after automatic boot up.

Choosing to log on using a specific account will embed that account and the password that you enter in the registry of the Windows computer. When you boot the computer, it will automatically log on. You can find and change this information in the registry or change a computer to do autologon.

I assume that you have evaluated the risk you take by doing this. However, for other readers, please remember this is not a best practice. Logons are required for a reason. If a computer logs on without user interaction, anyone can use the computer as that person and will have the user rights and privileges as well as access to anything that that user has. Caution: Whenever editing the registry, use extreme care. It is possible to enter information, change settings or delete keys and make the Windows computer unusable.

Use the regedit.exe registry editor and locate the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersionsWinlogon key. Open the DefaultUserName entry, and enter the user name. Open the DefaultPassword value, and enter the password. Then open the AutoAdminLogon value and enter a 1. Close the editor. The next time the computer is booted, it will automatically use the user name and password in the registry to log on. If you want to bypass this logon and use another user name and password, hold down the SHIFT key after log off or after Windows restarts.

This was first published in November 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: