Windows 11 Disable Password on Startup with netplwiz

Mudin Saiful

A cartoon doormat with a pair of house slippers illustrating how to disable the password on startup in Windows 11

Tested on Windows 11 version 26H2 (OS Build 26300.9974), Pro edition, with a local account.

A password on your PC is a good thing most of the time. It keeps your files away from anyone who sits down at your desk while you’re out. But if your computer never leaves your home, and you’re the only one who uses it, typing the same password every morning gets old pretty fast.

There are times when you just want to press the power button, go make coffee, and come back to a desktop that’s ready. Or you have a PC that runs something all day, like a media center or a little home server, and it has to come back on its own after a power cut. You open netplwiz, the tool every guide tells you about, and the one checkbox you need isn’t even there.

In this article, we’ll cover how to disable the password on startup in Windows 11 the safe way, with automatic sign-in through netplwiz. I’ll also show you why the “Users must enter a user name and password to use this computer” checkbox goes missing on a local account and how I got it back, how to remove the password completely, and what happens to the PIN and the lock screen. I tested every step on my own PC with real restarts, and I’ll tell you which things didn’t work the way most guides say.

Before You Remove the Login Password

So, you’re ready to stop typing your password at startup? Read on, because there are two very different ways to do it, and picking the wrong one is how people end up confused. The first way keeps your password but lets Windows type it for you when the PC boots. That’s automatic sign-in. The second way deletes the password completely, so there’s nothing to type at all.

I strongly recommend the first one. With automatic sign-in your account still has a password, so the lock screen, remote access and shared folders keep their protection. With an empty password anyone who touches the keyboard is in, and Windows also blocks some network features for accounts without a password. Here’s what my PC looked like before I started:

Check your sign-in options

Windows 11 Sign-in options page where the PIN is unavailable because the account has no password

Press Windows + I to open Settings, then go to “Accounts” and click on “Sign-in options”. My account had no password at the start, and look at the result: “PIN (Windows Hello)” said “This option is currently unavailable” (number 1). Windows won’t let you create a PIN until the account has a password. Under “Password” (number 2) you’ll see either “Add” or “Change”, depending on whether you already have one.

Add a password if you need one for testing

The Add button for creating a local account password in Windows 11 Sign-in options

To test everything properly, I gave my local account a temporary password. Click on “Password” to expand it, then click on “Add” (number 1). If your account already has a password, you’ll see “Change” here instead, and you can skip to the next section.

Fill in the new password

Creating a temporary password for a local account in Windows 11

Type the new password twice and add a hint (number 1). The hint shows on the sign-in screen, so don’t make it the password itself. Click on “Next” (number 2), then on “Finish”.

Look at the new options

Windows Hello PIN becomes available after the Windows 11 account has a password

After a few moments the page updates. “PIN (Windows Hello)” now says “Sign in with a PIN (Recommended)” (number 1), and “Password” says “You’re all set up” (number 2).

See the password prompt at startup

Windows 11 sign-in screen asking for a password on startup

I restarted the PC to see the problem for myself. After the lock screen, Windows stopped at my user name with an empty “Password” box (number 1). This is the screen we’re going to get rid of.

Note: If you sign in with a Microsoft account, you can’t delete the password from Settings. The password belongs to your online account, not to the PC. Automatic sign-in with netplwiz is the method you want, and you’ll confirm it with your Microsoft account password, not your PIN.

How to Fix the Missing “Users Must Enter a User Name and Password” Checkbox

This is the part that tripped me up, and it’s where most guides fall short. The checkbox in netplwiz is what turns automatic sign-in on, but Windows 11 hides it when the PC is set to “passwordless” mode. Most articles tell you to turn off “For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device” in Sign-in options, and if you have a Microsoft account, that’s the first thing to try.

Unfortunately, that switch only shows up for Microsoft accounts. On my local account it wasn’t anywhere on the Sign-in options page, not before adding a password, not after, and not after setting up a PIN. The checkbox was still missing. The real cause was a registry value called “DevicePasswordLessBuildVersion”.

Open netplwiz and look for the checkbox

The Users must enter a user name and password checkbox missing in netplwiz on Windows 11

Press Windows + R, type “netplwiz” and press Enter. The “User Accounts” window opens with your users listed. On my PC there was no checkbox above “Users for this computer” (number 1). The window just went straight from the description to the user list.

netplwiz

Open the PasswordLess key in Registry Editor

DevicePasswordLessBuildVersion set to 2 in Registry Editor, which hides the netplwiz checkbox

Press Windows + R, type “regedit”, press Enter and click on “Yes”. Paste the path below into the address bar at the top and press Enter (number 1). Inside the “Device” key you’ll find “DevicePasswordLessBuildVersion”. Mine was set to 2 (number 2), which is the value that hides the checkbox.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device

Change the value to 0

Changing DevicePasswordLessBuildVersion to 0 so auto login can be set up in Windows 11

Double-click on “DevicePasswordLessBuildVersion”. Replace the 2 with 0 in “Value data” (number 1) and click on “OK” (number 2). If you’re on a Microsoft account and the Windows Hello switch is greyed out, this is also the fix.

Open netplwiz again

The Users must enter a user name and password checkbox back in netplwiz

Close netplwiz if it’s still open and run it again. On my PC the checkbox “Users must enter a user name and password to use this computer” (number 1) showed up right away, already checked. I didn’t need to restart.

If you prefer one command over clicking through the registry, this does the same thing from a Command Prompt opened as administrator. If you’ve never done that, here’s how to open CMD as administrator in Windows 11.

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v DevicePasswordLessBuildVersion /t REG_DWORD /d 0 /f

Warning: Editing the registry is safe when you change only the value shown here. Don’t delete the key, and write down the old number (2 on my PC) so you can put it back later.

How to Disable the Password on Startup Using netplwiz

Now for the main event. Unchecking the box tells Windows to sign in one account automatically when the PC starts. Windows asks for that account’s password once and saves it, so it can type it in for you at every boot.

I tested this with a PIN set up as well, because a lot of people on forums worry that the PIN gets in the way. It doesn’t, as long as you give netplwiz your password and not your PIN. The process has several steps:

Set up a PIN (optional)

The Set up button for creating a Windows Hello PIN in Windows 11

This step is only here because I wanted to test both together. In “Sign-in options”, click on “PIN (Windows Hello)” and then on “Set up” (number 1). Windows asks for your account password first, then for the new PIN twice. If you don’t want a PIN, skip this.

Uncheck the box and apply

Unchecking Users must enter a user name and password in netplwiz to turn on auto login

Go back to netplwiz and select your account in the list. Uncheck “Users must enter a user name and password to use this computer” (number 1), then click on “Apply” (number 2).

Enter your password for automatic sign-in

Typing the password in the Automatically sign in window of netplwiz in Windows 11

A small window called “Automatically sign in” pops up with your user name already filled in. Type your password in “Password” and “Confirm Password” (number 1), then click on “OK” (number 2). Click on “OK” once more in the “User Accounts” window to close it.

Note: This window doesn’t check whether the password is correct. If you type the PIN here, or make a typo, Windows will simply stop at the sign-in screen at the next restart. So, type it carefully. For a Microsoft account, use the Microsoft account password.

Check what netplwiz changed

AutoAdminLogon set to 1 in the Winlogon registry key after enabling auto login in Windows 11

I was curious where the password went, so I looked at the Winlogon key in PowerShell. “AutoAdminLogon” was now 1 (number 1) and “DefaultUserName” was my account. There was no “DefaultPassword” value, which is good news. netplwiz keeps the password in an encrypted spot called an LSA secret instead of plain text. Keep in mind that someone with administrator rights on the PC can still read it.

Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' | fl AutoAdminLogon,DefaultUserName,DefaultPassword

Restart and watch

Windows 11 going straight to the desktop without a password after a restart

Restart your computer and keep your hands off the keyboard. On my PC the lock screen and the password box were skipped, and the desktop showed up on its own at 15:24 (number 1), about a minute after I hit restart.

My experience: Before I unchecked the box, every restart stopped at the password screen. After, the PC went straight to the desktop each time I restarted. What surprised me was the next test. I signed out with “shutdown -l” and expected Windows to sign me right back in. It didn’t. It stayed on the lock screen and asked for my PIN. Automatic sign-in only kicks in when the PC boots.

What Still Asks for a Password After Automatic Sign-In

This is where a lot of people think the trick “stopped working”. Automatic sign-in only covers the moment Windows starts. Locking the PC, signing out and switching users are separate, and they still ask for your PIN or password.

That’s actually a nice middle ground. Your PC starts without any typing, but when you walk away and press Windows + L, nobody can get in without your PIN.

Lock the PC to see the difference

The Windows 11 lock screen still asking for a PIN while auto login is on

I pressed Windows + L right after the automatic sign-in. The lock screen came back with “Enter your PIN” (number 1). Signing out gave me the same screen. If you set up a PIN, this is where it’s useful, because it’s shorter than your password.

Most guides also tell you to set “If you’ve been away, when should Windows require you to sign in again?” to “Never”, so the PC doesn’t ask for a password after sleep. Unfortunately, that option never appeared on my PC, with or without a password and PIN, because my PC doesn’t support sleep or hibernation. You can see that in the “Additional settings” list in my screenshots above. If your laptop does have it, set it to “Never” in “Sign-in options” and Windows won’t ask after it wakes up. If it asks anyway, also look at the screen and sleep settings in “System” and “Power”.

How to Remove a PIN Without Breaking Automatic Sign-In

If you don’t want a PIN at all, you can remove it. Do it after you set up automatic sign-in, not before. A Microsoft Q&A answer explains that removing the PIN first can leave you stuck on a password prompt you didn’t expect.

Here’s how that should go:

Click Remove under PIN

The Remove button for deleting the Windows Hello PIN in Windows 11

Go to “Settings”, “Accounts”, “Sign-in options” and expand “PIN (Windows Hello)”. Click on “Remove” (number 1) next to “Remove this sign-in option”.

Confirm and verify your password

Confirming PIN removal in Windows 11 Sign-in options

Windows warns you that face and fingerprint sign-in will stop working without a PIN. Click on “Remove” (number 1) again, then type your account password in the “Windows Security” window and click on “OK”. After a few moments the PIN section goes back to “Set up”.

How to Remove the Password Completely on a Local Account

The last option is the blunt one: no password at all. Windows only lets you do this for a local account. You’ll still see the lock screen picture on some PCs, but there’s nothing to type, and Windows signs you in on its own.

I would strongly suggest doing this only on a PC that never leaves your house, has no sensitive files, and doesn’t share folders with other computers. Even then, automatic sign-in from the previous section is the better choice for most people. Here’s what you do:

Press Ctrl + Alt + Delete

Change a password on the Ctrl Alt Delete screen in Windows 11

Press Ctrl + Alt + Delete and click on “Change a password” (number 1). This is the same screen netplwiz points you to with “To change your password, press Ctrl-Alt-Del and select Change Password”. You can also use “Change” under “Password” in Sign-in options.

Leave the new password empty

Leaving the new password empty to remove a local account password in Windows 11

Type your current password in “Old password” (number 1). Leave “New password” and “Confirm password” completely empty (number 2), then click on the arrow (number 3).

Finish

Your password has been changed message after removing the Windows 11 login password

After a few moments you will see “Your password has been changed”. Click on “OK” (number 1). From the next restart on, Windows goes straight to the desktop because there’s no password to ask for.

Warning: An account without a password has no protection at all. Anyone who can reach the keyboard gets your files, browser and saved logins. If your PC has BitLocker or device encryption, it doesn’t help here either, because the disk unlocks at boot. Only do this if you’re okay with that.

If you also used netplwiz before removing the password, open it again and check the box once more. The saved password in automatic sign-in is now wrong, and you don’t want an old password sitting there. On my PC, checking the box set “AutoAdminLogon” back to 0, and after a restart the PC still signed in on its own because the account had no password.

Common Problems When Disabling the Startup Password

The checkbox is missing in netplwiz

On a Microsoft account, turn off “For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device” in Sign-in options and open netplwiz again. If that switch isn’t there or is greyed out, set “DevicePasswordLessBuildVersion” to 0 as shown above. That’s what worked on my local account.

Windows still asks for a password after I unchecked the box

Most of the time the password you typed in the “Automatically sign in” window was wrong, or you typed your PIN. Check the box, click on “Apply”, uncheck it again and type the right password. Also remember that signing out and locking will always ask, only a restart or a cold boot signs in automatically.

The PIN option says “This option is currently unavailable”

That’s what I saw on an account without a password. Windows needs a password before it lets you create a PIN. Add a password first, then set up the PIN.

I want my password back

Open netplwiz, check “Users must enter a user name and password to use this computer” and click on “OK”. If you removed the password, add a new one in “Sign-in options”, “Password”, “Add”. If you changed the registry value, set “DevicePasswordLessBuildVersion” back to the number you wrote down, which was 2 on my PC.

This concludes how to disable the password on startup in Windows 11. For most people, the best setup is to keep the password, uncheck the box in netplwiz, and let Windows sign in on its own when the PC starts, while the lock screen still asks for your PIN. If the checkbox is missing on a local account, the “DevicePasswordLessBuildVersion” value is the one to check. Next, you would probably want your PC to boot even faster, and my guide on how to disable fast startup in Windows 11 explains when that setting helps and when it gets in the way. You can also look at the Windows 11 settings for best performance I changed on this same PC. If Windows keeps asking for a password no matter what you try, write what you see in the comments and I’ll take a look.

Leave a Comment