How to Bypass Windows Password If You Never Set One

Windows Asks Password You Never Set One

Windows may occasionally prompt you for a password, even if you haven’t set one. This can occur due to a security feature, data corruption, or an oversight. This guide will help you bypass Windows password requirements when you never set one to begin with.

Use a Blank Password

In many cases, Windows creates the password requirement with a blank password. This is especially true when it asks for a password when you try to reset/restore Windows from the Windows Recovery Environment.

Do this by pressing Enter without typing anything in the password field, and Windows will accept it.

Use Another Account to Remove Password Requirement

If your PC has another administrator account, you can log in to the admin account, and remove the password requirement for the other user account by following the instructions below.

Note: this method will not delete your data, but if the data is encrypted using EFS, it will become inaccessible. You will also lose access to locally stored passwords.

Press Windows + R, and type lusrmgr.msc in the Run dialog to open the Local Users and Groups Management tool. Open Users, then right-click on the desired user account, and select Set Password.

Set password for other User Account in the Groups Management Tool

Click Proceed on the warning, leave the password spaces blank, and click OK to bypass the password in Windows. Alternatively, add a password to change it.

Set blank password for the other user account

Log out of the current account, and log in to the original account. There is no need to restart the PC.

Remove Password Using the Command Prompt

You can also use the Windows Command Prompt to bypass the current password. This is useful if you are a Windows Home user, as you won’t have access to the Local Users and Groups Management tool. More importantly, you can access the Command Prompt from outside Windows using Windows Recovery Environment (WinRE).

To access WinRE, you need to repeatedly press a specific key when the PC starts. This key is different for each manufacturer, but common ones include F2, F8, F10, F11, F12, and Del.

In WinRE, go to Troubleshoot -> Advanced options, and select Command Prompt.

Select Command Prompt in the WinRE environment

Run the following command:

net user username ""
Enter the command to remove Password in Command Prompt

Replace username with the username of the desired account. You can also add a new password by adding it between the quotes.

Boot Into Safe Mode

If the password requirement is due to corrupted files, then booting into safe mode will fix the issue, as it won’t ask for the password. Although there are many ways to access safe mode in Windows, using Windows Recovery Environment (WinRE) would be the most suitable.

Open WinRE as described above, go to Troubleshoot -> Advanced options -> Startup Settings, and restart the PC. Select Enable Safe Mode with Command Prompt.

boot into Safe Mode with Command Prompt

If you manage to access the user account in safe mode, you can remove the password requirement using Command Prompt like we did above.

Restore Your System to Earlier Date

If the issue happened recently, and you were previously able to access the account, Windows System Restore can help. System Restore will restore your PC to a time went you had access. You can run System Restore from WinRE too, so you don’t have to log in to another account.

In WinRE, go to Troubleshoot -> Advanced Options, and open System Restore.

Access System Restore settings from Winre

Choose a date and time from before you were asked to provide a password, and follow the steps to restore the PC.

Restore the system to an earlier date with System Restore

Tip: If you think this issue is due to data corruption, you can also reset the PC by going to Troubleshoot -> Reset this PC. Your personal data will not be deleted, but all settings will reset, and apps will be uninstalled.

Use the Hidden Administrator Account

Windows has a hidden super administrator account that is hidden by default. It can be enabled when troubleshooting your PC. If you have no secondary account, and other methods aren’t working, you can enable this account to troubleshoot the issue.

Open Command Prompt from WinRE, and run the following command:

net user administrator /active:yes
Enable the hidden Administrator Account with this command

Restart the PC to reach a new account with the name Administrator. This account has complete access to your PC. You can use it to reset the password, reset/restore the PC, fix corrupted system files, or even move data to a new user account.

Once the problem is fixed, disable the Administrator account. Open Command Prompt, and execute the following command:

net user administrator /active:no

Many of these methods depend on accessing the Windows Recovery Environment. If WinRE isn’t working for you, create a Windows recovery drive to access troubleshooting options.

Image credit: Freepik with alterations. All screenshots by Karrar Haider.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Karrar Haider
Karrar Haider - Contributor

Karrar is drenched in technology and always fiddles with new tech opportunities. He has a bad habit of calling technology “Killer”, and doesn't feel bad about spending too much time in front of the PC. If he is not writing about technology, you will find him spending quality time with his little family.