fortypoundhead.com

AutoAdminLogon

Posted On 2007-09-18 by FortyPoundHead
Keywords:
Tags: Software Hack/Tweak Vista
Views: 3164


The idea behind AutoAdminLogon is that a user(name) can logon at a computer without having to type a password. A typical scenario would be a test machine on a private network. With AutoAdminLogon enabled, when you restart the machine it automatically logs on a named user. The trick, which also its liability, is to set a value for DefaultPassword in the registry.

Launch Regedit.

Navigate to:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon

Set: AutoAdminLogon = 1 (one means on, zero means off)

Tip: Try Regedit`s `Find`: AutoAdminLogon
Create a new String Value called

DefaultPassword

Set: DefaultPassword = "P@ssw0rd"

Check for the existence of a REG_SZ called DefaultUserName. The value should reflect the user who you wish to logon automatically. If this value does not exist, then right-click in the right pane, New, REG_SZ, name it, DefaultUserName. Set the string value to the required UserName.
Optional Item: If your Vista Machine has joined a domain, then create a String Value called DefaultDomainName.

Set: DefaultDomainName = "OnlyYouKnowDomain"
Here is a summary of the four key registry settings:

"AutoAdminLogon"="1"
"DefaultUserName"="xxx"
"DefaultPassword"="xxxx0xxxx"
"DefaultDomainName"="xxx.xxx". Definitely needed in a domain situation.


For users of Vista Home Editions
I have been using AutoAdminLogon since NT 3.5, however, in Vista Home editions there is a much easier alternative, namely tick: 'Users must enter a user name and password'.

Navigate to the Control Panel, User Accounts and finally click on the Users tab, then remove the tick in:
'Users must enter a user name and password'. All you need to do next is type the password twice in the, 'Automatically Log On' dialog box. See screenshot. Once you restart Vista, it will logon that user automatically.

Double-check the logic of what you are ticking. Also, when you set a registry value to one or zero, read the value carefully. Half of all people who write and say 'Guy that tweak did not work', have not understood the logic, double negatives are a particular source of errors.

Before you try the above configuration, note: I did not, repeat, not find this setting in a machine which had joined an Active Directory domain.

Just out of interest I would check the registry to see how AutoAdminLogon has been configured (Regedit, Edit (menu) find AutoAdminLogon).


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.156.36.82

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



Recent Forum Posts

New security implemented
dwirch posted on July 23, 2017 at about 6:58 in Site News

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