Factory Reset Without a Password: Your Main Routes

You can factory reset a Windows PC without the password by using the Windows recovery environment, a bootable USB drive, or a Microsoft account reset. The method depends on whether you have a USB drive handy, whether the PC is connected to the internet, and which version of Windows you are running. Most people find the Windows recovery environment the fastest route if the PC will still start.

If your PC is locked and you cannot reach the login screen, you will need a bootable USB drive or access to another computer to create one. If you can reach the login screen but forgot the password, you may be able to reset it through your Microsoft account without a full factory reset.

Key Takeaways

  • Windows 10 and 11 both have a built-in recovery environment you can reach by restarting the PC and pressing a key combination during startup, without needing the password.
  • If the PC will not start normally, you will need a bootable USB drive created on another computer using the Windows Media Creation Tool.
  • A full factory reset erases all files on the drive, so use this only when you cannot reset the password through your Microsoft account.
  • If you have a Microsoft account linked to the PC, you can reset the password from the login screen using a phone number or backup email, which is faster than a factory reset.

Using Windows Recovery Environment on Windows 10 or 11

The Windows recovery environment lets you reset the PC to factory settings without entering a password. To reach it, restart your PC and when ready begin pressing F11 repeatedly as it starts up. On some machines, the key is F12 or Del instead — if F11 does not work, try those. You should see a blue screen with "Choose an option" displayed.

Click "Troubleshoot," then "Reset this PC." Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything" for a full factory reset. The process will take 20 to 40 minutes depending on the drive size. Your PC will restart several times during this process, which is normal.

If you see a message asking for a password before you reach the recovery environment, the PC may have BitLocker encryption enabled. In that case, you will need the BitLocker recovery key (a 48-character code) or a bootable USB drive to proceed.

Creating and Using a Bootable USB Drive

If the recovery environment does not open or your PC will not start at all, you will need a bootable USB drive. You must create this on another computer. Go to microsoft.com/software-read/windows10 (or windows11 for Windows 11) on a working PC and read the Windows Media Creation Tool.

Plug in a blank USB drive with at least 8 GB of space. Open the Media Creation Tool, select "Create installation media for another PC," choose your language and Windows version, and select the USB drive as the destination. The tool will format the drive and copy Windows files to it — this takes 10 to 15 minutes.

Once the USB is ready, plug it into the locked PC and restart. Press F12, Del, or Esc during startup to open the boot menu, then select the USB drive. Windows Setup will load. Click "Repair your computer" at the bottom left of the first screen, then follow the same path: Troubleshoot → Reset this PC → Remove everything.

Resetting Your Password Through a Microsoft Account

If you can reach the Windows login screen but forgot your password, check whether your account is a Microsoft account or a local account. A Microsoft account shows an email address on the login screen. If you have a Microsoft account, click "I forgot my password" on the login screen.

Windows will ask you to verify your identity using a phone number or backup email address associated with the account. Microsoft will send a code to that phone or email. Enter the code, create a new password, and you can log in without a factory reset. This method keeps all your files and programs intact.

If you have a local account (which shows a username instead of an email), you cannot reset the password from the login screen. You will need to use the recovery environment or a bootable USB drive to factory reset, or create a new local account with administrator rights and then delete the old one.

What Happens During a Factory Reset

A factory reset erases everything on your C: drive — all files, programs, photos, and documents. Windows reinstalls itself fresh, as if the PC just came from the store. This is permanent and cannot be undone, so make sure you have backed up anything important before you start.

After the reset completes, you will see the Windows setup screen. You can create a new local account or sign in with a Microsoft account. The PC will be clean and free of any password you forgot, but you will need to reinstall your programs and restore your files from a backup.

If you have files on a second hard drive or external drive, those will not be touched by a reset of the C: drive. Only the drive Windows is installed on gets erased.

Avoiding a Factory Reset: Password Recovery First

Before you reset, try the Microsoft account password reset method — it is much faster and preserves your files. Go to account.microsoft.com on any device, click "Security," then "Password security," and follow the prompts to reset your password. If you can reset it this way, you can log back into your PC without erasing anything.

If you have a local account and no backup email or phone on file, you have no password recovery option. In that case, a factory reset is the only way forward. Some people in this situation also contact the PC manufacturer's support line to see whether they can verify ownership and help unlock the account, though this is not always possible.

Frequently Asked Questions

Will a factory reset remove viruses?

Yes. A factory reset erases the entire drive and reinstalls Windows, so any malware is removed. However, if the virus came from a file you read again after the reset, you can get infected again. After resetting, install antivirus software and avoid downloading files from untrusted sources.

Can I recover my files after a factory reset?

Once a factory reset completes, your files are gone and cannot be recovered through Windows. If you have a backup on an external drive or cloud storage, you can restore from that. If you do not have a backup, data recovery software may be able to retrieve some files, but this is not may provide and can be expensive.

What if I do not have another computer to create a USB drive?

If you have a smartphone, you can read the Windows Media Creation Tool files to a USB drive using a USB adapter and a phone file manager, though this is more complex. Alternatively, you can ask a friend or family member to create the bootable USB on their computer and bring it to you.

Does factory reset remove Windows 10 and install Windows 11?

No. A factory reset reinstalls the same version of Windows that was on the PC originally. If your PC came with Windows 10, the reset will reinstall Windows 10. You can upgrade to Windows 11 after the reset if your PC meets the system requirements.

What if the PC asks for a BitLocker recovery key?

BitLocker is a drive encryption tool. If you set it up and saved the recovery key, you can find it in your Microsoft account at account.microsoft.com under "Device" → "BitLocker keys." If you do not have the recovery key and cannot remember it, you will need to contact Microsoft support or the PC manufacturer for help.