I titled this post as a question, because I’m not sure if I’m missing something or what; please fill me in if I am. Here’s the story:
Today at work I had a Windows XP Pro machine suddenly decide that the automatic login was too convenient; it’s attached to a piece of inspection equipment, and the manufacturer set it up to be on its own domain and log in automatically. But when it was booted up today it decided it needed to have a password. And nobody knew the password.
I was able to guess the password after a few tries (they’re so predictable), but the question then became, how the heck do I re-enable the automatic login? The users on this machine really didn’t want to have to mess around with a password, so I poked around for a while in the Control Panel & Help system, but didn’t find any answers. I resorted to checking Microsoft’s knowledgebase, and found this gem of a solution:
- Click Start, click Run, type regedit, and then click OK.
- Locate the following registry key:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Using your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.
- Double-click the DefaultPassword entry, type your password under the value data box, and then click OK.
If there is no DefaultPassword value, create the value. To do this, follow these steps:
- In Registry Editor, click Edit, click New, and then click String Value.
- Type DefaultPassword as the value name, and then press ENTER.
- Double-click the newly created key, and then type your password in the Value Data box.
If no DefaultPassword string is specified, Windows XP automatically changes the value of the AutoAdminLogon registry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature.
- Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK.
If there is no AutoAdminLogon entry, create the entry. To do this, follow these steps:
- In Registry Editor, click Edit, click New, and then click String Value.
- Type AutoAdminLogon as the value name, and then press ENTER.
- Double-click the newly created key, and then type 1 in the Value Data box.
- Quit Registry Editor.
- Click Start, click Restart, and then click OK.
Cool. Edit the registry to re-enable the auto-login. Genius. And that isn’t even touching the reason why it got disabled in the first place. Isn’t there an easier way to do this? For crying out loud…
Contrast that with Mac OS X (10.5.7 to be exact)…
- Click the Apple Menu, pull down to System Preferences, & click on Accounts,
- Flip the Automatic login: from Disabled to the login account you want to use, and enter the password when prompted.
- Go about your work, getting things done.
Now isn’t that a lot easier?