Log On User Account Automatically at Windows 8 Startup

How to Automatically Sign in to User Account at Startup in Windows 8 and 8.1


information   Information
This will show you how to have Windows 8 or 8.1 sign in to a local user account or Microsoft account of your choice automatically at startup without the user needing to enter a user name and password.

You must be logged in as an administrator to be able to do the steps in this tutorial.

Note   Note
If you only have one user account on the computer that is not password protected, then Windows 8 will automatically log on to that account at startup by default.

warning   Warning
If you change the password for the local account or Microsoft account that you have Windows 8 set to sign in to automatically at startup, then you will need to turn off automatic log on for this user, and turn it back on to enter the new password.

If you connect though RDP (remote desktop), have automatic log in set on for your MS account and change it to a local account, then you can't sign in. RDP prompts for your user and password but doesn't accept the new one on the Windows log-in screen. You need to sign in directly (not through RDP) and turn off automatic log on for the user, and turn it back on to enter the new password.


EXAMPLE: Windows 8 Sign in Screen

Logon.jpg






OPTION ONE

To Turn On or Off Automatic Sign-in at Startup in Netplwiz


1. Press the Windows + R keys to open the Run dialog box, type netplwiz or control userpasswords2, and press Enter.​
2. If prompted by UAC, then click/tap on Yes.​
3. Do either step 4 or 5 below for what you would like to do.​
Step1.jpg

4. To Turn On Automatic Sign in for a Local User Account or Microsoft Account
NOTE: You could also use this step to change what user account you would like Windows 8 to sign-in to automatically at startup.​
A) Check the Users must enter a user name and password to use this computer box. (see screenshot below step 3)​
Note   Note
Is your PC is a member of a domain by chance, then the "Users must enter a user name and password to use this computer." box will not be available.

B) Select the User Name of the local user account or Microsoft account that you want to have Windows 8 log on to automatically at startup. (see screenshot above)​
Note   Note
If this is for a Microsoft account, then you do not want to select the one that is only a member of the HomeUsers group. You would want to select the one listed that is part of both the HomeUsers and Administrators or Users group instead.

C) Uncheck the Users must enter a user name and password to use this computer box, and click/tap on OK. (see screenshot below step 3)​
D) Enter the password of the selected local user account or Microsoft account twice, and click/tap on OK. (see screenshot below)​
Note   Note
If the selected local user account does not have a password created for it, then leave the password fields empty. Microsoft accounts will always have a password.

password.jpg

5. To Turn Off Automatic Sign in for All Users
A) Check the Users must enter a user name and password to use this computer box, and click/tap on OK. (see screenshot below step 3)​







OPTION TWO

To Turn On or Off Automatic Sign-in at Startup in Registry Editor



warning   Warning
:busted: This option is not as secure as using OPTION ONE above.

It is recommended to use OPTION ONE above if you are able to instead. OPTION ONE will save the password in the Credential Manager where it's encrypted and cannot be viewed by anyone.

This option (OPTION TWO) will save the entered password (steps 4G-4H) in the DefaultPassword string value in Registry Editor where it can be seen by anyone with access.


1. Press the :winkey: + R keys to open the Run dialog, type regedit, and click/tap on OK.​
2. In Registry Editor, navigate to the location below. (see screenshot below)​
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Automatic_log_on_Regsitry-1.png

3. Do step 4 or 5 below for what you would like to do.​
4. To Turn On Automatic Sign in for a Domain, Local, or Microsoft Account
NOTE: You could also use this step to change what user account you would like Windows 8 to sign-in to automatically at startup.​
A) In the right pane on Winlogon, double click/tap on the AutoAdminLogon string value to modify it. (see screenshot below step 2)​
B) Type 1, and click/tap on OK. (see screenshot below)​
Automatic_log_on_Regsitry-1A.png
C) Double click/tap on the DefaultDomainName string value to modify it. (see screenshot below step 2)​
D) Type the computer name (if local) or domain name, and click/tap on OK. (see screenshot below)​
Automatic_log_on_Regsitry-2.png
E) Double click/tap on the DefaultUserName string value to modify it. (see screenshot below step 2)​
F) Type the user name (ex: Shawn) of the account you want to automatically be signed in to at startup, and click/tap on OK. (see screenshot below)​
NOTE: This will be the same name as the user account's C:\Users\(UserName) profile folder.​
Automatic_log_on_Regsitry-3.png
G) Double click/tap on the DefaultPassword string value to modify it. (see screenshot below step 2)​
NOTE: If you do not have a DefaultPassword string value, then right click or press and hold on an empty area in the right pane of the Winlogon key, click/tap on New and String Value, type DefaultPassword, and press Enter.​
H) Type the password of the user account you want to automatically be signed in to at startup, and click/tap on OK. (see screenshot below)​
Automatic_log_on_Regsitry-4.png
I) Go to step 6 below.​

5. To Turn Off Automatic Sign in for All Users
A) In the right pane on Winlogon, double click/tap on the AutoAdminLogon string value to modify it. (see screenshot below step 2)​
B) Type 0 (zero), and click/tap on OK. (see screenshot below step 4B)​
C) Right click or press and hold on the DefaultPassword string value, and click/tap on Delete. (see screenshot below step 2)​
NOTE: If you do not have a DefaultPassword string value, then that's ok, and go to step 6 below.​
D) Click/tap on Yes to confirm. (see screenshot below)​
Automatic_log_on_Regsitry-5.png
E) Go to step 6 below.​

6. When finished, close Registry Editor.​


That's it,
Shawn


 

Attachments

  • User_Accounts.png
    User_Accounts.png
    14.7 KB · Views: 466
Last edited:
Very handy, thanks. Certainly beats typing it in every time, especially seeing as I am the only one who has access to my computer.
I have a question, though. Is this just for system startup, or is it global for every log on process?
 
You're welcome Avalon,

Yeah, it would only automatically log on at startup. If you log off, switch user, lock, etc...., you would still have to log on as usual.
 
Interesting you should say that, because mine is always off at boot... Maybe if I turn this on, it will always be on at boot? I guess there's only one way to find out... :3
 
This worked perfectly well when I had Win8 in a partition and also with my Win8 in vBox. But my installation on the USB3 stick does not cooperate. I made the setting, but I still have to log in with the password. I wonder why.
 
Hello Wolfgang,

I haven't played with Windows To Go on a USB stick yet, but it's probably treating it like a network login where you must sign in with a password. :(
 
anybody found a way to disable auto sign in without passwords ? (local accounts)

so when an user boots up the pc doesn't find itself logged in another user's account.



 
Last edited by a moderator:
thanks! i will see if the side effects are deal breakers for my scenario, for the options Two/Three.

I was already using option one (winaero), but looks like it isn't working anymore (reported on winaero website, found there a post of an user with the same problem)


edit: seems i can live with the cons, as we don't use remote desktop for now, won't be using the store, and there's no big deal on setting the accounts as admins.

tough i fear for more
yet unknown side-effects, so i'll keep a lookout for the winaero method


 
Last edited by a moderator:
This works perfectly on my laptop. However no matter what I try it just doesn't work on my desktop. I've tried it with both local and Microsoft accounts. Any ideas?
 
Back
Top