Factory Reset Without a Password: Your Main Options
A factory reset clears everything on your PC and reinstalls Windows from scratch, which bypasses the password entirely. You do not need to know the current password to do this — you only need access to the physical machine and either a USB drive or another computer to create installation media. The reset will delete all files, programs, and settings, so this is a last resort when you cannot remember the password and have no other way in.
Windows offers two built-in paths: the cloud-based reset through the login screen (if you can reach it), and a full reinstall using installation media (if you cannot). The cloud reset is faster but requires internet and sometimes a Microsoft account recovery. The media method is more reliable because it does not depend on remembering anything — you are straightforward replacing the operating system.
Key Takeaways
- A factory reset erases everything on the PC and reinstalls Windows, so back up any files you need before starting.
- If you can reach the Windows login screen, the cloud reset through "Reset this PC" is the fastest route and takes 20 to 40 minutes.
- If you cannot reach the login screen, you will need a USB drive and another computer to create Windows installation media, which takes longer but always works.
- After the reset completes, you will set up Windows as a new user with a new password you choose yourself.
- The reset removes all user accounts, programs, and personal files — there is no way to recover them afterward.
Reset Through the Login Screen (Cloud Method)
If you can reach the Windows login screen but do not know the password, Windows 10 and 11 both offer a built-in reset option. Look at the login screen for a link that says "I forgot my password" or "Reset password" — the exact wording varies by Windows version. Click it, and Windows will walk you through recovering your Microsoft account or resetting the local account.
This path requires an internet connection and either a phone number or backup email address tied to your Microsoft account. If you have neither, or if the account recovery fails, you will need to move to the installation media method instead. The cloud reset, when it works, takes 20 to 40 minutes and leaves your files intact — it only removes the password lock.
After the reset, you will be asked to sign in again. Use your Microsoft account credentials if you recovered them, or create a new local account with a password you choose. Once you are in, you can retrieve your files from the user folder.
Reset Using Installation Media (When You Cannot Reach Login)
If the login screen is not reachable or the cloud reset did not work, you will need to create Windows installation media on a USB drive using another computer. Go to the Microsoft Windows read page on a working PC, select your Windows version (10 or 11), and read the Media Creation Tool. Plug in a blank USB drive with at least 8 GB of space, run the tool, and follow the prompts to create bootable installation media.
Once the USB is ready, plug it into the locked PC and restart the machine. As it boots, press the key that opens the boot menu — this is usually F12, F2, Esc, or Del, depending on the PC manufacturer. Select the USB drive from the menu. Windows will load from the USB and present you with setup options.
When the installer asks where to install Windows, select the drive where Windows currently lives (usually C:), and the installer will format it and install a fresh copy. This erases everything on that drive. The installation takes 15 to 30 minutes. When it finishes, the PC will restart and ask you to set up Windows as a new user — create a password you will remember this time.
What Happens to Your Files and Programs
A factory reset removes all user accounts, installed programs, and personal files from the drive where Windows is installed. If your files are on a separate drive (like a D: drive), they may remain untouched — but the reset process does not distinguish between drives, so assume everything is gone unless you are certain your files are elsewhere.
Before you start a reset, physically remove any external hard drives or USB devices that contain files you need. If the PC is still running and you can log in as any user, copy important files to an external drive first. Once the reset begins, there is no way to recover files afterward.
Choosing Between Cloud Reset and Installation Media
Use the cloud reset if you can reach the login screen and have internet access. It is faster, simpler, and does not require another computer or a USB drive. It also has a better chance of preserving files if something goes wrong.
Use installation media if the login screen is not reachable, if the cloud reset fails, or if you want the most thorough wipe. This method is more reliable because it does not depend on any existing Windows settings or account recovery — you are replacing the entire operating system from the ground up.
If you are not sure which one to try first, start with the cloud reset. If it does not work, you can always create installation media and try the full reset.
Preparing the PC Before You Start
Write down the product key for Windows if you have it — it is usually on a sticker on the PC case or in your purchase email. You may need it during reinstallation, though Windows 10 and 11 often set up automatically if the PC was previously activated.
Disconnect all external devices except a keyboard and mouse. Unplug external hard drives, printers, USB hubs, and any other peripherals. This prevents the reset from accidentally affecting other devices and reduces the chance of installation errors.
Make sure the PC is plugged in and will not run out of battery during the reset. A power loss in the middle of a factory reset can leave Windows unbootable. If this is a laptop, plug it in and let it charge fully before starting.
After the Reset: Setting Up Windows Again
When the reset finishes, Windows will ask you to choose a language, time zone, and keyboard layout. Then it will ask you to sign in or create a new account. Create a local account with a username and password you will remember, or sign in with a Microsoft account if you have one.
After setup, Windows will be bare — no programs except the built-in apps. You will need to reinstall any programs you use regularly. If your files were on the same drive as Windows, they are gone and cannot be recovered. If they were on a separate drive, you can access them through File Explorer once you are logged in.
Update Windows when ready after setup. Go to Settings > Update & Security > Check for updates and install all available patches. This closes security gaps and ensures your system is current.
Frequently Asked Questions
Can I recover my files after a factory reset?
No. A factory reset permanently deletes all files on the drive where Windows is installed. If your files were on a separate drive (D:, E:, etc.), they may still be there. If they were in Documents, Desktop, or Downloads on the C: drive, they are gone. Back up anything you need before starting the reset.
Do I need the Windows product key to factory reset?
No. You can reset and reinstall Windows without a product key. Windows 10 and 11 will usually set up automatically if the PC was previously activated with that key. If set up fails, you can still use Windows — you will just see a watermark on the desktop and have limited customization options.
How long does a factory reset take?
The cloud reset through the login screen takes 20 to 40 minutes. A full reset using installation media takes 30 to 60 minutes, depending on the PC speed and drive size. Do not interrupt the process or turn off the PC while it is running.
What if the PC will not boot into Windows at all?
You will need to use installation media. Create a bootable USB drive on another computer using the Media Creation Tool, plug it into the locked PC, and boot from the USB. The installer will let you format the drive and install Windows fresh, even if the current installation is corrupted or inaccessible.
Will a factory reset remove a BIOS or firmware password?
No. A factory reset only affects Windows and the files on your drives. A BIOS password is stored in the PC's firmware and requires a different process to remove — usually a hardware reset or a call to the manufacturer. If the PC has a BIOS password, you will hit it before Windows even loads.