Windows 11 · How-To

How to Factory Reset Windows 11

By , Editor · · About a 6-minute read
The short answer

To factory reset Windows 11, open Settings, go to System › Recovery, and under Recovery options click Reset PC. Choose Keep my files to refresh Windows while keeping your documents, or Remove everything for a true factory reset. Then pick Cloud download or Local reinstall, confirm, and let it run. The full walkthrough and the trade-offs are below.

A reset reinstalls Windows 11 from scratch and puts every system setting back to default. It is the fastest fix for a PC that has become slow, unstable or cluttered, and it is the standard step before you sell, recycle or hand on a computer. Because it can erase data, it is worth understanding the options before you start rather than clicking through the wizard blind.

Back up first — a reset can be irreversible

Even the "Keep my files" option removes your installed apps and can occasionally hit a snag. Before you begin, copy anything you care about to an external drive or to OneDrive, and make sure you know your Microsoft account password and your BitLocker recovery key (Settings › Privacy & security › Device encryption). Microsoft's page on finding your BitLocker recovery key lists the other places it may be stored: your Microsoft account, a work or school account, a printout, or a USB flash drive. Plug a laptop into mains power — a reset must not be interrupted midway.

1Open Recovery settingsSettings › System › Recovery2Click “Reset this PC”Then choose how to reset3Keep my files or Remove everythingPick what gets erased4Cloud download or Local reinstallHow Windows is rebuilt5Confirm and resetPC restarts and reinstallsWindows 11 reset
Resetting Windows 11 — the choices you make along the way.

Reset this PC, step by step

This is the built-in method and the one Microsoft recommends for a standard factory reset. The path and the option names below match Microsoft's own Reset your PC support article.

  1. Open Settings — press
    Windows + I
    or choose it from the Start menu.
  2. In the left sidebar select System, then scroll down and click Recovery. The direct path is:
    Settings › System › Recovery
  3. Under Recovery options, find Reset this PC and click the Reset PC button.
  4. Choose how much to remove:
    • Keep my files — reinstalls Windows and removes your apps and settings, but leaves your personal files in place.
    • Remove everything — deletes your files, apps and settings for a genuine factory reset.
  5. Choose how Windows is reinstalled:
    • Cloud download — downloads a fresh copy of Windows 11 (roughly 4 GB) from Microsoft's servers.
    • Local reinstall — rebuilds Windows from files already on the PC, with no large download.
  6. If you are giving the PC away, click Change settings on the confirmation screen and turn on Clean data (and, on a multi-drive PC, Delete files from all drives). More on that below.
  7. Review the summary of what will happen, then click Next and Reset. The PC restarts several times and finishes on its own — this can take anywhere from about 20 minutes to a few hours depending on the options you chose.
Windows 10 note

The steps are almost identical on Windows 10, but the menu lives at Settings › Update & Security › Recovery, and the button reads Get started under "Reset this PC" rather than "Reset PC". The Keep my files / Remove everything and Cloud download / Local reinstall choices are the same.

Keep my files vs Remove everything

This first choice decides what survives the reset.

Keep my files is the right pick when the PC is yours and you want a clean-running Windows without losing your data. It wipes installed programs and returns settings to default, but your Documents, Pictures, Desktop and other personal folders stay. You will need to reinstall your apps afterwards. This is the go-to option for fixing sluggish performance, broken updates or a system that has accumulated too much junk.

Remove everything is a full factory reset. It deletes personal files, apps and settings, returning the PC to a like-new state. Use it when you are selling, donating or recycling the machine, or when a problem is stubborn enough that you want a completely fresh start. Because it erases your data, back up anything you need first.

Cloud download vs Local reinstall

After the first choice, Windows asks how it should get its installation files. Both routes end with the same Windows 11; they differ only in the source.

  • Cloud download fetches a fresh, up-to-date copy from Microsoft. Choose it if you have a solid internet connection, or if the on-device recovery image is missing or corrupted — a common reason a local reset fails. It uses several gigabytes of data, so avoid it on a metered or mobile connection.
  • Local reinstall rebuilds Windows from files already stored on the PC, with no download. It is faster on a slow connection and works offline, but it will fail if those recovery files are damaged — in which case switch to Cloud download.

When in doubt on a healthy PC with good broadband, Cloud download is the more reliable modern default.

Selling or giving away a PC: the "Clean data" option

A normal Remove everything reset does a quick format. Your files are marked as deleted but the underlying data lingers on the drive, and recovery tools can often rebuild it. That is fine if you are keeping the PC, but not if it is about to belong to someone else.

On the confirmation screen, click Change settings and you will see two toggles:

  1. Clean data — when on, Windows overwrites the drive so files cannot be easily recovered. Microsoft describes it as removing files and cleaning the drive, and points to it in the Reset your PC documentation if you plan to donate, recycle or sell the machine. This is the setting to enable before selling or donating a computer. It adds significant time — often several hours, especially on a large or traditional hard drive.
  2. Delete files from all drives — on by default only the Windows drive is cleaned. Turn this on to also wipe additional internal drives. External USB drives are not touched, but unplug them to be safe.

Before you start, sign out of and remove your Microsoft account, and turn off BitLocker (or record its recovery key). That leaves the next owner with a clean device and no ties to your account.

"Clean data" is not a certified secure erase

For ordinary personal use, Clean data is more than enough. If you handle regulated or highly sensitive information, treat it as a best-effort wipe rather than a guaranteed one — organisations with strict requirements typically use dedicated drive-sanitisation tools or physically destroy the drive.

If the reset won't start or won't finish

If Reset this PC is greyed out, errors out, or the PC will not boot into Windows at all, you still have options:

  • Reset from the recovery environment. Hold Shift while clicking Restart, or interrupt boot three times to reach Windows Recovery (WinRE), then choose Troubleshoot › Reset this PC. The same Keep my files / Remove everything choices appear. Microsoft Learn's Windows Recovery Environment technical reference lists holding Shift while selecting Restart among WinRE's entry points, and notes that WinRE also starts on its own after two consecutive failed attempts to start Windows.
  • Create a recovery drive in advance. Search the Start menu for
    recoverydrive.exe
    and follow the wizard to build a bootable USB recovery drive (a 16 GB or larger stick). Keep it somewhere safe — it can start and reset a PC that no longer boots.
  • Fresh Start / clean install. Older Windows builds had a separate Fresh Start tool; that capability is now folded into Reset this PC with the Cloud download option, which gives you the newest Windows without preinstalled manufacturer extras. For the most thorough result, download the Media Creation Tool from Microsoft, build a bootable USB, and do a full clean install — the strongest way to clear deep-seated problems.
More Windows help

Browse all how-to guides for step-by-step Windows 11 walkthroughs, or dig through the windows-now.com archive of restored community posts going back to the Windows XP and Vista era.

Frequently asked

Does a factory reset remove viruses and malware from Windows 11?

Usually, yes. Choosing Remove everything wipes the Windows partition and reinstalls a clean copy, which clears the vast majority of malware. Pairing it with Cloud download is safest, because it pulls fresh installation files from Microsoft instead of reusing a local image that could itself be infected. A small number of threats hide in firmware or in the recovery partition and can survive a reset, so if you suspect something serious, a full clean install from a USB drive is the stronger option.

Should I use Cloud download or Local reinstall?

Use Cloud download if you have a reliable internet connection and want the newest, known-good Windows files — it also fixes cases where the local recovery image is damaged. Use Local reinstall if your connection is slow or metered, since it rebuilds Windows from files already on the PC and does not download roughly 4 GB. Both end at the same place; they only differ in where the installation files come from.

Is a factory reset enough before I sell or give away my PC?

For most people, yes — but turn on the extra cleaning option. Choose Remove everything, open Change settings, and switch Clean data on so Windows overwrites the drive instead of just marking files as deleted. Without it, a quick format leaves data that recovery tools can often rebuild. Also sign out of your Microsoft account and disable BitLocker or note your recovery key beforehand so the next owner starts clean.

How long does resetting Windows 11 take?

Keeping your files with a Local reinstall typically takes 20 to 45 minutes on a modern PC with an SSD. A Cloud download adds however long it takes to fetch several gigabytes over your connection. Turning on Clean data for a secure wipe is by far the longest option and can run for several hours, especially on large or traditional hard drives, so start it when you will not need the PC.