What a hard reset does and when you need one
A hard reset wipes your PC back to factory settings, removing all your files, programs, and personal data. Windows calls this "Reset this PC." It is different from a restart (which just reboots the machine) or a soft reset (which clears temporary files but keeps your programs and data). A hard reset is the nuclear option—use it when your PC is so slow or broken that normal fixes do not work, or when you are selling or giving away the machine.
You should hard reset when your PC has a virus that antivirus software cannot remove, when it crashes constantly and you have tried updating drivers and removing recent programs, or when it is so clogged with old files and programs that it barely runs. You should also hard reset if you are handing the PC to someone else and want to erase everything personal first. Do not hard reset just because the PC is slow—try uninstalling unused programs, clearing the hard drive of old files, or running a disk cleanup first.
Key Takeaways
- A hard reset erases everything on your PC and reinstalls Windows, so back up any files you want to keep before you start.
- You can reset your PC from Settings > System > Recovery > Reset this PC, and you choose whether to keep or remove your files during the process.
- The reset takes 20 minutes to an hour depending on your PC speed and whether you choose to remove files completely.
- If your PC will not start or you cannot log in, use a Windows installation USB or recovery drive to reset from the login screen.
- After a hard reset, reinstall your programs one by one and restore your backed-up files from an external drive or cloud storage.
Back up your files before you start
Before you hard reset, copy anything you want to keep to an external drive, USB stick, or cloud storage like OneDrive, Google Drive, or Dropbox. A hard reset deletes everything on your PC's main drive, so this step is not optional if you care about your photos, documents, or other files.
The fastest way is to plug in an external hard drive and drag your Documents, Pictures, Downloads, and Desktop folders onto it. If you use OneDrive or another cloud service, make sure your files have synced to the cloud first—check that the sync icon shows no pending uploads. If you have a lot of files, this can take an hour or more, so start the backup and let it run while you do something else.
Reset your PC from Settings if it still starts
If your PC boots normally and you can log in, the easiest path is through Settings. Open Settings (press Windows key + I), go to System, then select Recovery on the left side. Click "Reset this PC" under the Reset section.
Windows will ask whether you want to "Keep my files" or "Remove everything." If you choose "Keep my files," Windows removes all your programs and settings but leaves your Documents, Pictures, Downloads, and Desktop folders alone. If you choose "Remove everything," it erases everything and also gives you the option to remove files securely (which takes longer but makes them harder to recover). For most people, "Keep my files" is faster and still gives you a fresh start. Click Next, review the list of programs that will be removed, and then click Reset. Your PC will restart and the process will take 20 minutes to an hour.
Use a recovery drive if your PC will not start
If your PC crashes on startup, will not log in, or gets stuck in a boot loop, you cannot use the Settings method. Instead, you need a recovery drive—a USB stick with Windows recovery tools on it. If you have another PC available, you can create a recovery drive in about 10 minutes.
On a working PC, plug in a USB stick (8 GB or larger), open Settings, go to System > Recovery, and click "Create a recovery drive." Check the box for "Back up system files to the recovery drive" if you want the option to repair Windows without erasing it, then click Next. Select your USB stick from the list, click Next, and wait for the drive to be created. Once it is done, take the USB stick to the broken PC, plug it in, and restart. Press the key that opens the boot menu during startup—usually F12, F2, Esc, or Del, depending on your PC maker. Select the USB drive from the menu. Windows will load recovery options. Click "Troubleshoot," then "Reset this PC," and follow the same steps as above.
What happens during the reset process
Once you click Reset, your PC will restart and show a progress screen. Do not turn off the PC or unplug it during this time. Windows will remove your programs, erase your settings, and reinstall a fresh copy of Windows. If you chose "Remove everything," it will also securely overwrite your old files so they cannot be recovered. This step takes longer—sometimes 30 minutes to an hour on older PCs.
When the reset finishes, your PC will restart and show the Windows setup screen, just like when it came from the factory. You will need to create a new user account or sign in with a Microsoft account, choose your language and keyboard layout, and connect to Wi-Fi. After setup is done, you will have a blank desktop with no programs except the ones Windows includes by default (like Edge, Notepad, and Settings).
Reinstall your programs and restore your files
After the reset, your PC is clean but empty. Plug in the external drive where you backed up your files and copy them back to your Documents, Pictures, or other folders. Then reinstall the programs you use. Go to the Microsoft Store for built-in apps like Office or Spotify, or read installers from the maker's website for other programs. Install one program at a time and restart your PC after each one so you can spot any that cause problems.
Windows Update will also run in the background and read security patches and driver updates. Let this finish before you do anything else—it can take 30 minutes or more. You can check progress in Settings > Update & Security > Windows Update. Once updates are done, your PC should run much faster than it did before the reset.
Troubleshooting if the reset gets stuck or fails
If the reset starts but gets stuck on a progress screen for more than two hours, or if you see an error message, try these steps. First, make sure your PC is plugged in and has at least 20 percent battery if it is a laptop. If the reset is stuck, wait another 30 minutes—large drives can take a long time. If nothing changes, force a restart by holding the power button for 10 seconds, then try the reset again from Settings or from a recovery drive.
If you get an error message like "There was a problem resetting your PC," try resetting again but choose "Remove everything" instead of "Keep my files"—sometimes keeping files causes conflicts. If that does not work, use a recovery drive instead of the Settings method. If you still cannot reset, your hard drive may be failing, and you should take the PC to a repair shop or contact the maker's support line.
Frequently Asked Questions
Will a hard reset remove a virus?
Yes. A hard reset erases everything on your drive and reinstalls Windows from scratch, so any virus goes with it. However, if the virus is on an external drive or USB stick you also use, it can come back. After you reset, scan any external drives with antivirus software before you plug them back in.
Can I undo a hard reset?
Not completely. Once the reset finishes and you set up Windows again, your old files and programs are gone. If you chose "Remove everything" with find deletion, they cannot be recovered. If you only chose "Keep my files," your Documents and Pictures folders are still there, but your programs are gone. This is why backing up first is critical.
How long does a hard reset take?
Usually 20 minutes to an hour, depending on your PC's speed and hard drive size. Older PCs and large drives take longer. If you choose "Remove everything" with find deletion, add another 30 minutes. Do not turn off your PC during the reset—let it finish even if it seems stuck.
Do I need a product key after a hard reset?
No. If your PC came with Windows 10 or 11, the license is tied to your hardware and will reactivate automatically after the reset. If you bought a separate Windows license, you may need to enter the product key during setup, but Windows will usually recognize it and set up without asking.
What if I forgot my password and cannot log in to reset?
Use a recovery drive to reset from the login screen—you do not need to log in first. If you do not have a recovery drive, you can create one on another PC and use it on yours. Alternatively, if you remember your Microsoft account password, restart your PC, click "I forgot my password" on the login screen, and follow the steps to reset your account password.