Automatic Login to Windows

There may be instances when users may have to auto-login to Windows without manually selecting their Windows user account. Using a password in Windows isn’t required, only suggested. But even if you don’t fill one in, you still have to click your user icon to start the login process. You can auto login to your Windows via the following steps:

For Windows XP

  • Press the Windows key + R on your keyboard to launch the “Run” dialog box.
  • Type in control userpasswords2
  • Press Enter. The User Accounts window will display.
  • Select the user from which you want to login automatically
  • Uncheck the box “Users must enter a username and password to use this computer”.
  • Click “OK”
  • You will then be prompted to enter the current password and confirm it.
  • After doing so, you will no longer be prompted to enter your password upon login

For Window Vista and Windows 7:

  • Go to start button.
  • Type netplwiz in the search box
  • Or:
  • Press the Windows key + R on your keyboard to launch the “Run” dialog box.
  • Type in control userpasswords2
  • Select the user from which you want to login automatically
  • Uncheck the box “Users must enter a username and password to use this computer”.
  • Enter the password of the account in the box.
  • Click ok

Automatic Login with Domain Account

  • Open Regedit and Navigate to the following registry key:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  • Double-click the DefaultUserName entry, type the user name to log on with, and then click OK.If DefaultUserName registry value name is not found, create the new String Value (REG_SZ) with value name as DefaultUserName.
  • Double-click the DefaultPassword entry, type the password for the user account under the value data box, and then click OK.If there is no DefaultPassword value, create a new String Value subkey (REG_SZ) with DefaultPassword as the value name.Note that if no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon registry key from 1 (true) to 0 (false) to turn off the AutoAdminLogon feature.
  • In Windows Vista or 7, DefaultDomainName has to be specified as well, else Windows will prompt of invalid user name with user name displayed as .\username. To do so, double click on DefaultDomainName, and specify the domain name of the user account. If it’s local user, specify local host name.If the DefaultDomainName does not exist, create a new String Value (REG_SZ) registry key with value name as DefaultDomainName.
  • Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK.If there is no AutoAdminLogon entry, create a new String Value entry (REG_SZ) with AutoAdminLogon as the value name.
  • If exist, delete the AutoLogonCount key.
  • Quit Registry Editor.
  • Click Start, click Restart, and then click OK.

No comments:

Post a Comment