How to remove the password when logging into Windows 11

When logging into Windows 11, the user is required to enter either the account password, or PIN code, which the system offers to set during the initial setup. If desired, you can log in without a password or PIN code.

This instruction details about, how to disable password prompt when logging into windows 11 this way, to log in automatically, in this case, the PIN code will also not be requested. Additionally, the possibilities of completely removing the password for the account and canceling the re-login after exiting the sleep mode are described.

Disabling password prompt when logging into Windows 11 for Microsoft account and local account

The standard way to disable the password and PIN code request allows you not to enter them when logging into Windows 11, that is, logging in when you turn on and after restarting is performed automatically. At the same time, in fact, the account password remains and in rare cases may be required. Steps, to remove the password requirement:

  1. Go to the Settings (you can use the Start menu, and you can by pressing the Win I) keys.
  2. Go to the Accounts - Login Options section.
  3. In the ‘Advanced Settings’ section, disable the ‘To increase security, allow Windows Hello login for Microsoft accounts on this device’ option and close the settings window.
  4. If the option is not active in the previous step and it cannot be disabled, run the command prompt as an Administrator and enter the command
    reg ADD 'HKLMSOFTWAREMicrosoftWindows NTCurrentVersionPasswordLessDevice' /v DevicePasswordLessBuildVersion /t REG_DWORD /d 0 /f
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPasswordLessDevice

    DevicePasswordLessBuildVersion0

  5. Press the keys. Win Rnetplwizcontrol userpasswords2
  6. A window opens with a list of users. In order to, to disable the password prompt when logging in for the current user, uncheck ‘Require username and password input’ and apply the settings. The mark may not be displayed, if the first steps were not completed.
  7. When applying, you will need to enter a password and confirm the password. Be very attentive to the layout and case, and also remember, what you need to enter is the Windows 11 password (local account or Microsoft account), not a PIN.
  8. After performing all these actions and restarting the computer or laptop, the password will not be requested when logging into Windows 11.

This is the main method, which works the same for both Microsoft accounts, so for a local account (offline account). However, there are additional ways.

Attention:

Sysinternals Autologon

The free Autologon utility for automatic login without a username and password is available on the Microsoft website, extremely easy to use:

  1. Download the utility from the official page https://docs.microsoft.com/ru-ru/sysinternals/downloads/autologon and unpack the archive to a convenient location.
  2. Run the downloaded utility and agree to the terms of use.
  3. The name of the current user and computer (domain) will be automatically inserted in the program window, you just need to enter the current password and click the ‘Enable’ button to activate the login without a password.

In my test, the program works successfully in Windows 11 both for local accounts, the same is true for Microsoft accounts.

Using the registry editor

There is a way, allows you to remove the password when logging in using the registry editor, however, when using it, you should consider, that the password in the registry will be stored in plain text and, if desired, it can be viewed.

To disable the password when logging in to the registry, follow these steps:

  1. Launch the Registry Editor, to do this, press the keys. Win Rregedit
  2. Go to the registry key
    HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogon
  3. Double-click on the parameter. AutoAdminLogon1
  4. In the right pane of the registry editor, right-click and create a string parameter named DefaultPassword
  5. Similarly, create parameters named DefaultDomainNameDefaultUserName

When editing is complete, close the registry editor and restart the computer: the account will be logged in automatically.

Completely removing the password for the local account

In the case, if your Windows 11 computer uses a local account, you can remove the password of this account, as a result, you will not have to enter it (you may also need to delete the PIN code, to do this, follow steps 1-3 from the previous method, and then delete the PIN code in the Accounts - Login Options). How to do this in the Parameters:

  1. Go to Settings - Accounts - Login Options.
  2. Open the ‘Password’ item and click ‘Change’.
  3. Enter the current password and click ‘Next’.
  4. Leave all fields for specifying a new password empty and click ‘Next’.

You can also remove the password of the local account using the command line:

  1. Run the command prompt as an administrator or, if desired, Windows Terminal (also on behalf of the administrator, you can do this by right-clicking on the ‘Start’ button).
  2. At the command prompt, type net user
  3. Enter the
     command. net user username '
  4. Close the command prompt.

Now the specified user does not have a password, that’s why you won’t need to enter it when logging in.

Disabling password entry after exiting sleep mode

After these actions, your laptop or computer may continue to require you to enter a password after Windows 11 exits sleep mode. To prevent this from happening, follow these steps:

  1. Go to Settings - Accounts - Login Options.
  2. In the ‘Advanced Settings’ section, find the item ‘In case of your absence, after what time should Windows require you to re-log in?’
  3. Click on the arrow next to the drop-down list and select ‘Never’.

These actions will be enough, so that the password is not requested after using sleep mode.

If for some reason disabling the password request after sleep did not work, you can use the registry editor:

  1. Create a
     section in the registry. HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftPowerPowerSettings0e796bdb-100d-47d6-a2d5-f7d2daa51f51
  2. Inside this section, create two DWORD parameters named ACSettingIndexDCSettingIndex0
  3. Close the Registry editor and restart your computer or laptop.

Additional information

If your computer uses a screensaver (screen saver), then a password may also be requested after it. To check the splash screen settings:

  1. Press the Win R keys on the keyboard, enter
    control desk.cpl,,@screensaver
  2. Make sure, that either the screensaver is disabled (set to ‘No’), or the ‘Start from the login screen’ mark is removed.

Also pay attention to the following point: if your smartphone is synchronized with Windows 11, and in the Settings - Accounts - Login Options section, ‘Dynamic Blocking’ is enabled, This may also result in a screen asking for a PIN or password.