Tuesday, August 2, 2011

Windows - Auto Log on

You ever wonder how to log on automatically in a computer that has multiple user accounts and only use specific ones? Well, this article might be helpful for you.

In this article, we will tackle on how to make windows log on automatically without entering your credentials like username and your password. We can do this by tweaking the registry, but we must be very careful about it. Registry is where all the magic happens in a windows platform so we must take good care of it. Back up before doing something with your registry.

We will be using our registry editor to add our log on information. To do this, follow these steps.
  1. Click "Start" then click "Run", type in "regedit" and then press "OK" button or press "ENTER". After pressing "ENTER" a new window will come out - the registry editor.

  2. In the registry editor, locate the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

  3. Using your desired account name and password, double-click the "DefaultUserName" entry, type your user name, and then click "OK".

  4. Double-click the "DefaultPassword" entry, type your password under the value data box, and then click "OK".

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

    Note: If the DefaultPassword registry entry does not exist, Windows XP automatically changes the value of the AutoAdminLogonregistry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature after the computer is restarted.

  6. Double-click the "AutoAdminLogon" entry, type 1 in the Value Data box, and then click "OK."

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

  8. Exit Registry Editor.

  9. Restart your computer and see the magic.

Enjoy the tweak and remember to back-up everything before doing anything.

No comments:

Post a Comment