Windows sends you to the login screen after starting your PC or waking it up if your user account includes a password. However, there are a few scenarios where you want to disable this screen altogether.
For instance, you may need to put the computer to sleep or restart the computer several times a day and find it tedious to have to enter your password time and again. It is possible to disable this screen by removing your password.
However, if you disable the screen on the initial startup, you leave your computer vulnerable to external access. So, it might be worth just disabling it during wake-ups from sleep. Regardless, we have mentioned various ways to perform both operations in this article.
Table of Contents
How to Disable Login Screen on Initial Boot?
There are mainly two ways through which you can disable the login screen during the initial boot. You can either use the Netplwiz utility or change some registry entries.
From Netplwiz
The easiest way to disable the login screen after powering up your computer is through the Netplwiz tool. In the later Windows, the option is hidden by default. So, first, you need to modify a certain registry entry. Here is the complete process:
- Open Run by pressing Win + R.
- Type
regedit
and press Enter to open the Registry Editor. - Navigate to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device
- See if DevicePasswordlessBuildVersion shows the value 0.
- If it doesn’t, double-click on the entry, set the Value data to
0
, and click OK. - Then, open Run again.
- Enter
netplwiz
to open the Network Places Wizard, which can manage your user accounts. - Uncheck Users must enter a username and password to use this computer and click OK.
- Enter your administrator password and click OK.
Using Registry Editor
You can also use the Registry Editor to log in automatically to your account. You need to enable the option and create entries for your credentials in the Winlogon registry key for this purpose. To do so,
- Open the Registry Editor.
- Navigate to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Double-click on AutoAdminLogon. Set its Value data to
1
and click OK. - If the value is not there, right-click on Winlogon and select New > DWORD (32-bit) Value. Set its name to
AutoAdminLogin
and value to1
. - Then, create the following entries if they are not present:
- DefaultDomainName
- DefaultUserName
- DefaultPassword
- You can right-click on an empty area on the right pane and select New > String Value to create the entries.
- Now, make sure the entries have the correct values for your user account.
- You need to set the value of DefaultUserName to your user account name and DefaultPassword to the corresponding password.
- The DefaultDomainName should be your computer name. You can use the
msinfo32
Run command and check System Name to find the necessary value.
Remove Password
Even after applying the above methods, you will still get to the login screen after signing out or locking your computer. However, if you don’t even need this layer of security, you can only bypass the login screen by removing your password.
Doing so will also remove the login screen when you wake your PC after sleep or hibernate.
Here’s one of the methods you can use to remove the password:
- Open Run.
- Type
lusrmgr.msc
and press Enter to open Local Users and Groups. - Go inside Users.
- Right-click on your account and select Set Password.
- Select Proceed and click OK without entering any password.
How to Disable Login Screen on Wake-up?
If you don’t want to enter the password again after waking from sleep or hibernation, you can apply one of the following methods:
Through Account Settings
The quickest way to disable the login requirement on wake-up is through your account settings. Here’s how you can do so:
do so through your account settings. Here’s how you can do it:
- Press Win + I to open Settings.
- Go to Accounts > Sign-in options.
- Set If you’ve been away, when should Windows require you to sign in again? to Never.
Using Local Group Policy Editor
You can use the Local Group Policy Editor to disable this option. Doing so overwrites any changes you make to your setting, so it is a more permanent solution. To change the policy,
- Press Win + R to open Run.
- Type
gpedit.msc
and press Enter to open the Local Group Policy Editor. - Go to Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings.
- Double-click on Require a password when a computer wakes (plugged in).
- Check Disabled and click OK.
- Do the same for Require a password when a computer wakes (on battery).
Restart your PC to apply the changes.
Through Registry Editor
If you are a Windows Home user, you likely don’t have the Local Group Policy Editor on your system. You can use the Registry Editor to change the same configuration in such cases. To do so,
- Open Run.
- Navigate to
Computer\HKEY_CURRENT_USER\Control Panel\Desktop
. - Look for DelayLockInterval and double-click on it.
- If you can’t find it, right-click on Desktop and select New > DWORD (32-bit Value). Name it as
DelayLockInterval
and double-click on it. - Set the Value data to
0
and click OK.
Restart your PC to apply the change.
Changing Some Hidden Power Options
Your power options also contain hidden options that enable/disable the login screen during wake-up. Here’s how you can disable the option:
- Open Run.
- Type
cmd
and press Ctrl + Shift + Enter to open the Elevated Command Prompt. - Enter the following commands:
powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
- You don’t need the second command if you are not a laptop user.