Tuesday, December 23, 2008

Automatically logon to your machine!

If you are like me then you use a lot of virtual machines (a lot). To make it easier to load up these virtual machines and get started right away, I’ve found it very convenient to have them automatically logon during boot. So, here’s an easy way to set that up. This will work with any machine, not just virtual environment, so, if you have a home office that you want to turn on in the morning while you get coffee, this will work too.

Note: The account that you are going to use to logon must have a password for this to work

From the machine that you which to automate logon
1. Click Start and then Run

2. Type in regedit, to start the Registry Editor. Note: This can also be accomplished by opening the executable: C:\WINDOWS\system32\regedt32.exe

3. Navigate to the this location: \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

4. Change the DefaultDomainName vaule to match the domain you want to authenticate against. If don't have a domain and want to logon to the local machine, type in the computer name.

5. Change the DefaultUserName to the user you want to automatically logon as

6. Change the DefaultPassword to match the password for the user you are logging on as. If you do not see the DefaultPassword key, you will need to add it.
a. From the dropdown menu, select Edit and then New
b. From the flyout menu, select String Value
c. Name the new key DefaultPassword
d. Double click on the new key, DefaultPassword
e. Type in the password to match the username used above

7. Change the AutoAdminLogon vaule to 1. If you do not see the AutoAdminLogon key, you will need to add it.
a. From the dropdown menu, select Edit and then New
b. From the flyout menu, select String Value
c. Name the new key AutoAdminLogon
d. Double click on the new key, AutoAdminLogon
e. Type in 1

No comments:

Post a Comment