Factory reset methods that work without a password

A factory reset clears your Windows installation and returns your PC to its original state, which removes the password requirement entirely. You have three main paths: using Windows built-in recovery tools if you can still boot the system, creating a bootable USB drive from another computer, or using password reset discs if you made one before locking yourself out.

The fastest route depends on what you can still access. If Windows starts but you cannot log in, you may be able to reach recovery options from the login screen itself. If the PC will not start normally, you will need another computer to create installation media. If you prepared ahead, a password reset disc can unlock the account without erasing anything.

Key Takeaways

  • Windows 10 and 11 can sometimes be reset from the login screen using "Reset this PC" without needing the password, though this erases all files.
  • A bootable Windows installation USB created on another computer lets you perform a clean install that bypasses the password entirely.
  • If you created a password reset disc before locking yourself out, it can unlock your account without erasing data.
  • Microsoft account passwords can sometimes be reset online at account.microsoft.com, which then syncs to your PC on next login.
  • Local account passwords have no online recovery option and require either a reset disc, bootable media, or third-party tools.

Using Windows recovery options from the login screen

On Windows 10 and 11, the login screen itself sometimes offers a password reset path. Look for a link that says "Reset your password" or "I forgot my password" below the password field. If your PC is connected to a Microsoft account, clicking this link walks you through answering security questions or receiving a code to your backup email address.

If you see a "Reset this PC" option on the login screen, you can use it to perform a factory reset without entering the password. This option appears more often on newer Windows 11 systems. The reset will erase all files on the drive, so this is only useful if you have no data you need to keep or if you have backups elsewhere.

This method only works if Windows can still start and reach the login screen. If your PC will not boot at all, or if these options do not appear, you will need to use bootable media instead.

Creating a bootable Windows installation USB on another computer

If the login screen offers no reset option, you can create a Windows installation USB on any other computer and use it to perform a clean install. You will need a second PC with internet access, a USB drive with at least 8 GB of storage, and the Windows version you want to install (Windows 10 or 11).

Go to microsoft.com/software-read and read the Windows installation tool for your version. Run the tool on the second computer, select "Create installation media for another PC," and follow the prompts to write Windows to the USB drive. This takes 10 to 20 minutes depending on your internet speed and USB drive.

Insert the USB into your locked PC, restart it, and press the key that opens the boot menu — usually F12, F2, Esc, or Del, depending on your PC manufacturer. Select the USB drive from the boot menu. Windows setup will start, and you can choose to perform a clean install. This erases the entire drive and installs a fresh copy of Windows with no password set.

Using a password reset disc if you created one earlier

If you created a password reset disc on this PC before locking yourself out, you can use it to reset your local account password without erasing any files. This is the only method that preserves your data and programs.

Insert the reset disc into your locked PC and restart. The system should recognize the disc and prompt you to use it to reset your password. Follow the on-screen steps to create a new password. Once you log in with the new password, all your files and programs remain intact.

If you did not create a reset disc before, this option is not available. You can only create a reset disc from an account you can already log into.

Resetting a Microsoft account password online

If your PC is connected to a Microsoft account (rather than a local Windows account), you can reset the password from any web browser without touching the locked PC. Go to account.microsoft.com and select "Security" or "Sign in options." Look for "Reset your password" and follow the prompts to verify your identity using a backup email or phone number.

Once you reset the password online, go back to your locked PC and try logging in with the new password. The change syncs to your computer on the next login attempt. This method only works for Microsoft accounts, not for local accounts created only on your PC.

If you do not remember the email address or phone number associated with your Microsoft account, or if you cannot access them, you will not be able to reset the password this way and will need to use one of the other methods.

What happens to your files after a factory reset

A factory reset erases everything on your drive: all programs, all documents, all photos, all settings. Windows is reinstalled fresh with no password set. You will need to reinstall any programs you use, restore files from a backup if you have one, and set up Windows from scratch.

If you have important files on the drive and no backup, do not perform a factory reset. Instead, try the password reset disc method if you have one, or the Microsoft account password reset if your account is online-connected. If neither of those options is available, consider taking the PC to a repair shop before erasing everything.

After the reset completes, Windows will ask you to create a new account. You can create a local account (password stored only on this PC) or sign in with a Microsoft account (password stored online and synced to this PC). If you choose a Microsoft account, you will be able to reset the password online in the future.

Preventing this situation in the future

Create a password reset disc now while you can log in. On Windows 10 or 11, search for "Create a password reset disc" in the Start menu, insert a USB drive or blank CD, and follow the prompts. Store the disc somewhere safe. If you ever lock yourself out, this disc will let you reset your password without losing any data.

If you use a Microsoft account, write down your backup email address and phone number and store them somewhere you can find them. These are your lifeline if you forget the password — you can reset it online from any computer.

Consider using a password manager like Bitwarden, 1Password, or KeePass to store your passwords in an encrypted file. If you forget your Windows password but remember your password manager password, you can look up the Windows password in the manager after you reset the account.

Frequently Asked Questions

Will a factory reset remove viruses or malware?

Yes. A factory reset erases the entire drive and reinstalls Windows, which removes any malware that was present. However, if malware is on an external drive or USB device, it will still be there after the reset. Scan any external storage with antivirus software before reconnecting it to your PC.

Can I factory reset a PC that will not start at all?

Yes, but you need a bootable USB drive created on another computer. If the PC will not start, it cannot create the USB itself. Borrow another computer, create a Windows installation USB, and use it to boot your locked PC and perform a clean install.

What if I do not have another computer to create bootable media?

You can use a smartphone or tablet to read the Windows installation tool and write it to a USB drive using an adapter, though this is more complicated. Alternatively, ask a friend or family member to create the USB for you. If neither option works, a local computer repair shop can create bootable media for a fee.

Will resetting my password online work if I forgot my Microsoft account password too?

No. If you forgot both your Windows password and your Microsoft account password, you will need to reset the Microsoft account password first at account.microsoft.com using your backup email or phone number. Once that is reset, you can use the new Microsoft password to log into your PC.

Can I recover files after a factory reset?

Possibly, but not reliably. Data recovery software like Recuva or EaseUS Data Recovery can sometimes recover files from a drive after a reset, but success depends on how much new data has been written to the drive since the reset. The more you use the PC after the reset, the less likely recovery becomes. If you have important files, restore from a backup instead.