Once and a while I have the need for Windows to automatically login after a reboot. For example, I have a Windows XP Media center machine, and I have a few custom cleanup and compression programs that run as desktop applications – so they don’t run if the machine is rebooted while I am gone.
This is a real bummer if I am on vacation, and by the time I come back it does not have enough room to record my favorite programs.
Automatic logins are not for everyone. Using this feature in windows leaves your password in the registry un-encrypted. You need to think carefully before you do it.
To force windows to login you need to drill down to this registry key:
In that key there are four values that are important:
AutoAdminLogon – A string value. Yes a string value. That is set to 0 or 1. If the value is 1, then the next time windows boots it will attempt to login with the credentials provided in the values shown below.
DefaultUserName – Username used to automatically login with.
DefaultPassword – Password used to automatically login with. Careful here. This is left in the registry unencrypted and easily read by anyone with an administrator account
DefaultDomainName – The domain name used when automatically logging in. Set to the name of the current computer name if the machine is not joined to a domain.
Personally, I have gotten tired of drilling down to these registry settings every time I want to make a machine automatically login, so I had one of our programmers whip out a quick app that will do it for us.
Click Here to download it – and as always, no spyware, adware…Just freeware goodness.
Oh yea, make sure you run it as administrator, and it does work with 2000, XP and Vista.
One more thing…Subscribe to my newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them. Click Here to get your free tools