How to enable auto logon on Windows

This tutorial provides step by step instruction to enable auto logon on Windows 8.1, Windows 7 and Windows Vista.

Auto logon in Windows 8

There are couple of ways to enable auto logon on Windows 8.1, either by removing the password for the user or by using option available as part of the User Accounts screen.

Removing password for user

If an userโ€™s password is set to empty then you will be able to automatically login to the system. This is not the neat way but will solve the problem and this will work only when you have one user setup on system.

Navigate to Windows 8 sidebar and click the Settings icon.

More PC Settings in Windows 8

Click More Settings and navigate to Users section.

Change your password in Windows 8

Under Users screen, click the Change your password option and empty the password after entering the current password.

User Accounts.

Windows 8 users can access User Account screen by typing control userpasswords2 in the Run dialog window. If you are not able to find Run menu option then check out how to open command prompt in Windows 8.

In the User Accounts screen, un tick the check box with label as Users must enter a user name and password to use this computer. Then click OK button to confirm and save the changes.

User Account screen in Windows 8

Auto logon in Windows 7 and Windows Vista

Auto logon feature can be enabled for Windows 7 by using User Accounts. The User Accounts window can be accessed either by

opening control userpasswords2 using the run command or

run auto logon windows 7

by typing netplwiz in search programs and files text box

windows 7 user accounts

The user accounts window has an option users must enter a user name and password to use this computer and by un ticking the checkbox the auto logon can be enabled for Windows 7. It is recommended to be disable this feature if you are not the only user of the Windows PC  and to avoid unauthorized access of the system by other users.

Also See: Turn on/off guest account on Windows 7 and Windows 8.1

In Category: Vista, Windows 7, Windows 8

Ravi Shankar

A Software developer and blogger who is always looking to provide technical help to the wider community.

Show 6 Comments
  • rsergio July 13, 2009, 6:30 am ๎˜Š

    Look at this article how to Windows 7 autologon

  • 56ksurfer August 16, 2009, 11:47 am ๎˜Š

    I find this guide all over the web but it does not work for me. Just installed Windows 7 Prof/EN from MSDNAA. I tried the “DefaultPassword” RegistryKey, trying around with “ForceAutoLogon” (works but I cannot logon from RemoteDesktop..)
    I just don’t know how to make it work!

  • Truk September 22, 2011, 8:21 pm ๎˜Š

    So this is all fine and dandy but I can think of at least 15 (not all listed) reasons why this method is not my desired method.

    So many people say why would you ever want auto login. I can think of more reasons why I need it than why I should not use it. I will list just a few reasons.

    For home: I have to have individual accounts so my kids do not have administrator rights (or delete my files etc.) and if you do as this article suggests everyone that gets on your computer will all have the same rights on a single account. So why the auto login? If you have stuck with me here is the main reason: I have a camera attached to my computer and as windows is NOTORIOUS for the computer just reboots whenever it feels like it or my kids restart it for some reason and if I am not there the computer sits in a non-logged in state or in another profile until I login which may be hours to days and all my scheduled tasks and other programs will not run unless the computer is logged in fully into my profile.

    For work: if there is a power outage and the computer reboots even after the UPS runs (or if you do not have one for whatever your reasons are) out of battery I need the computer to boot fully into my profile so that certain tasks will execute. There are a bunch more reasons for work and the applicability.

    so my desired method:

    If you are on a domain the only thing that is missing that stops the autologin is that you need to add a new String Value titled DefaultDomainName. Most examples do not list the domain at all. If you don’t know what your DefaultDomainName then search your registry for the value DefaultDomainName and it should show up. Put that value in the DefaultDomainName location. Make sure you have changed the AutoAdminLogon to 1, added the String Value DefaultPassword and its value, and added the String Value DefaultUserName and its value.

    Once you have done the above in the registry at the location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon if you are like me your computer will automatically log in all by its self!!

    Good luck.

Leave a Comment

Get your free copies of the following tech guides by joining the Digital Answers mailing list.