fortypoundhead.com

Auto Logon to a Windows Machine

Posted On 2007-05-03 by FortyPoundHead
Keywords: Automatic Logon
Tags: Tip Software Hack/Tweak Networking Windows
Views: 1741


Windows NT includes a feature that allows you to automatically logon to the machine and network, bypassing the Winlogon dialog box.

To enable this function you need to add several new values to the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] key.

1. Add a new value of 'DefaultUserName' and set the data to the username you wish to automatically logon as.

2. Add a new value of 'DefaultPassword' and set this to the password for the username above.

3. Add a new value of 'DefaultDomainName' and set this to the domain of the user. Ignore this value if the NT box is not participating in NT Domain security.

4. Add a new value of 'AutoAdminLogon' and set it to either '1' to enable auto logon or '0' to disable.

5. Exit and reboot, Windows should not ask for a password and automatically show the desktop of the user.

WARNING: The password is stored in registry, which means anyone who has access to the machine has access to the password.

Note: You can bypass this function by holding the during the boot process.

Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

Value Name: AutoAdminLogon

Data Type: REG_SZ

Data: (0=disable, 1=enable)

More Info: http://support.microsoft.com/support/ntserver/serviceware/10141775.asp


About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.224.30.39

Before you can post, you need to prove you are human. If you log in, this test goes away.



Recent Forum Posts

Fold Code Manager into main KB?
VB6Boy posted on July 22, 2017 at about 14:42 in Site News

Fold Code Manager into main KB?
dwirch posted on July 22, 2017 at about 14:41 in Site News

Fold Code Manager into main KB?
dwirch posted on July 21, 2017 at about 22:46 in Site News

Fold Code Manager into main KB?
dwirch posted on July 20, 2017 at about 7:55 in Site News

Job Spammer: Sam Mallon
dwirch posted on July 18, 2017 at about 18:36 in Spammers

When setting up a certificate authority ...
dwirch posted on July 13, 2017 at about 9:07 in General