Mar 172008
 


Auto logon can be set for a user account in Windows XP, Server 2003 (not recommended) and later on which will allows a user to directly logon to windows without having to enter the Username and password in the Welcome Screen. While I have to admit this is not a great security feature, it helps when you have a PC at home or elsewhere which may not be holding critical data and is more a convenience factor.


To set Autologon in Windows

Using Power Toys

PowerToys is a small utility that can be downloaded from here to fine tune the performance and settings in Windows XP:

Download and install the PowerToys and follow the procedure listed below to enable the Auto logon feature in Windows XP:

1. Click Start – All Programs, Powertoys for Windows XP – TweakUI.

2. In the leftpane, click the arrow next to “Logon” and select “Autologon” and check the “Log on automatically at system startup” box.

3. Set the Username, Domain and Password.

4. Click Apply and OK.

Windows XP AutoLogon

Next time, when the system starts the user will be able to logon automatically.

Using the following Simple command

1. Click Start – Run and type the following command and click OK,

“Control userpasswords2″

2. In the Dialog box that appears, clear the Users must enter a user name and password to use this computer check box, and then click OK.

By Manually making registry changes as follows

1. Click Start – Run, type REGEDIT and click OK. This will start the Registry Editor.

2. Locate the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]

HKEY_LOCAL_MACHINE

         \SOFTWARE

                 \Microsoft

                       \WindowsNT

                              \CurrentVersion

                                       \Winlogon

3. In the right pane, double-click the DefaultUserName entry, type the user name, and then click OK.

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

If there is no DefaultPassword value, follow these steps to create the same:

i. On the Registry Editor menu, click Edit, click New, and then click String Value.

ii. Type DefaultPassword [for DefaultPassword] as the value name, and then press ENTER.

iii. Double-click the newly created key, and then type your password in the Value Data box respectively.

If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false) to disable the AutoAdminLogon feature.

5. Double-click the DefaultDomainName entry, type the Domain Name under the value data box, and then click OK (create one if you dont have one…Domain PCs only).

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

If there is no AutoAdminLogon entry, follow these steps to create the entry:

i. On the Registry Editor menu, click Edit, click New, and then click String Value.

ii. Type AutoAdminLogon as the value name, and then press ENTER.

iii. Double-click the newly created key, and then type 1 in the Value Data box.

7. Quit Registry Editor and restart the computer.

If you want to bypass the automatic logon to log on as a different user, hold down the SHIFT key after you log off or after Windows restarts. Note that this procedure applies only to the first logon.

To enforce this setting for future logoffs, the administrator must set the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]
HKEY_LOCAL_MACHINE

        \SOFTWARE

                \Microsoft

                     \WindowsNT

                        \CurrentVersion

                            \Winlogon

Value: ForceAutoLogon

Type: REG_SZ

Data: 1

This should allow Autologon to Windows everytime you restart your computer.

Incoming search terms:

  One Response to “Enable Autologon in Windows 2000,XP,2003”

  1. Worked fine in 2008 database edition. Had to create all the string values first.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>