Home » Computers » Automatically login in Windows

Automatically login in Windows

Method 1:

For windows XP

You can also turn on automatic logon without editing the registry in Windows XP Home Edition and in Windows XP Professional on a computer that is not joined to a domain. To do this, follow these steps:
Click Start, and then click Run.
In the Open box, type control userpasswords2, and then click OK.
Note: When users try to display help information in the User Accounts window in Windows XP Home Edition, the help information is not displayed. Additionally, users receive the following error message:
Cannot find the Drive:\Windows\System32\users.hlp Help file. Check to see that the file exists on your hard disk drive. If it does not exist, you must reinstall it.>
Clear the “Users must enter a user name and password to use this computer” check box, and then click Apply.
In the Automatically Log On window, type the password in the Password box, and then retype the password in the Confirm Password box.
Click OK to close the Automatically Log On window, and then click OK to close the User Accounts window.

For windows 7

1. Click on Start and then enter the following command in the search box:
netplwiz

Press the ENTER key.
This command will load the Advanced User Accounts Control Panel applet.

2. In the Users tab, uncheck the box next to Users must enter a user name and password to use this computer.

3. Click on the Apply button at the bottom of the User Accounts window.

4. When the Automatically Log On dialog box appears, enter the user name you wish to automatically login to Windows 7 with. Then enter your account password in the two fields where it’s asked.

5. Click the OK button.

6. Click OK on the User Accounts window to complete the process.
From now on, when your PC starts up, Windows 7 will log on automatically.

Method 2:

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.
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.
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.
Exit Registry Editor.
Click Start, click Restart, and then click OK.
After your computer restarts and Windows XP starts, you can log on automatically.

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 XP 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\Windows NT\CurrentVersion\Winlogon

Value:ForceAutoLogon
Type: REG_SZ
Data: 1

Leave a Reply

Your email address will not be published. Required fields are marked *