How to Wipe a Windows 11 PC Before Selling It

First back up your files and sign out: unlink OneDrive, sign out of paid apps, and note your BitLocker recovery key in case Windows asks for it. Then open Settings > System > Recovery > Reset PC, choose Remove everything, and turn on Clean data before you start the reset. This walkthrough is for Windows 11 home PCs and laptops you plan to sell, donate or give away.

What a reset erases, and what it doesn’t

Reset this PC reinstalls Windows from scratch. With Remove everything selected, it deletes your personal files, apps and settings, so the buyer starts at the same setup screens as a new PC. That is enough for most sellers, with one important detail: a quick reset removes files without cleaning the drive, which leaves recoverable traces. The Clean data option cleans the drive as well, which Microsoft says makes it much harder to recover files and recommends when you sell, donate or recycle a PC. It takes longer, sometimes hours.

Two limits are worth knowing before you begin:

  • Microsoft states that this cleaning does not meet government and industry data erasure standards. For a home user selling a laptop, it is a sensible level of protection; if the drive held regulated business data, follow your company’s disposal policy instead.
  • A reset is final. Anything you didn’t back up is gone once it begins, and there is no undo.

If the PC was issued by an employer or school, don’t reset or sell it. It is managed by your organization, and Microsoft’s recovery guidance points owners of work or school PCs to their IT department; the usual route is to return it.

Step 1: Save everything you want to keep

Spend more time here than on the reset itself. A missed folder is the most common regret after selling a PC.

  1. Copy your personal folders (Desktop, Documents, Downloads, Pictures, Music and Videos) to an external drive, or back them up with Windows Backup. Check Downloads in particular: people often keep tax forms and receipts there without realizing it.
  2. If you use OneDrive, open its taskbar icon and confirm it says your files are up to date, so nothing is still waiting to upload.
  3. Make sure your browser passwords and bookmarks sync to your account or a password manager. If they live only in the browser on this PC, export them first.
  4. Write down the desktop programs you’ll want on your next PC, and find their license keys or purchase emails. Microsoft Store apps can be downloaded again later from your account.
  5. Look for less obvious data: game saves stored outside the cloud, email archives such as Outlook data files, and photos synced from a phone into a local folder.

Afterward, open the external drive on another computer (or browse OneDrive on the web) and spot-check a few files. A backup you haven’t opened isn’t confirmed yet.

Step 2: Sign out, unlink and find your recovery key

The reset removes your accounts from the PC itself, but some services still count the PC as one of your devices until you release it. Do these while Windows still works:

  1. OneDrive: select the OneDrive cloud icon on the taskbar, select the gear icon and choose Settings, open the Account tab, then select Unlink this PC. Your files stay in OneDrive online.
  2. Paid apps with install limits: sign out of Microsoft 365 apps and any other software that limits how many computers you can use (creative suites, game launchers, cloud backup tools). Many of these let you deactivate the PC from inside the app or from your account page on the vendor’s website.
  3. Phone and accessories: on your phone, remove the PC from its Bluetooth list so it doesn’t try to reconnect, and unpair any mouse, keyboard or headphones you are keeping.
  4. BitLocker recovery key: if your PC’s drive is encrypted, Microsoft says to have the BitLocker recovery key ready before a reset, and a reset started from the recovery screens needs it. If the key was backed up to your Microsoft account, you can see it at aka.ms/myrecoverykey from any device; Microsoft’s page on finding your BitLocker recovery key lists the other places it might be.

Unplug USB drives, SD cards and any disc in the drive before the next step, so you don’t hand them over by accident.

Step 3: Reset with Remove everything and Clean data

Plug a laptop into its charger first. The reset restarts the PC several times, and a battery running out partway through can leave Windows unusable.

  1. Open Settings (press Windows+I) and select System > Recovery.
  2. Under Recovery options, next to Reset this PC, select Reset PC.
  3. Choose Remove everything. (Keep my files is for fixing your own PC, not for selling it.)
  4. Choose how to reinstall Windows. Cloud download fetches a fresh copy with recent updates and helps if local files are damaged, but needs a steady internet connection. Local reinstall uses files already on the PC and is the better choice on a slow connection.
  5. On the Additional settings screen, select Change settings. Turn Clean data on and select Confirm. If the PC has more than one internal drive, an option to delete files from all drives may also appear; turn it on if you stored files on the second drive.
  6. Select Next, review the summary on the Ready to reset this PC screen, and select Reset.
  7. Leave the PC alone until it finishes. The screen can stay black for a long time (Microsoft mentions upwards of 15 minutes at times) and the PC restarts on its own. Restarting it yourself could cause the reset to fail.

As a rough example, Jordan’s three-year-old laptop with a 512 GB drive might finish a plain reset in an hour or two (Microsoft puts most recovery jobs at 30 minutes to 2 hours), while the same reset with Clean data turned on could run well into the evening. Start it when you won’t need the PC for the rest of the day. For the reset screens on their own, with more detail on the Keep my files option, there is a separate walkthrough on resetting Windows 11 to factory settings.

If you can’t sign in to Windows

Forgotten passwords and broken Windows installs are common on older PCs headed for resale. You can still reset from the Windows Recovery Environment (WinRE):

  1. On the sign-in screen, select the Power icon, then hold down Shift while you select Restart.
  2. When the blue recovery menu appears, select Troubleshoot > Reset this PC.
  3. Choose Remove everything, then Cloud download or Local reinstall.
  4. If you’re asked, enter the BitLocker recovery key you looked up in Step 2.
  5. When asked how to clean the drive, choose the full cleaning option rather than just removing files, then select Reset.

Step 4: Stop at the setup screen

When the reset ends, Windows opens the first-time setup screens, usually starting with a country or region question. Don’t continue. If you sign in with your own account now, you put your details back on the PC and have to reset again. Instead:

  1. Confirm you see the setup screen and not your old sign-in screen or desktop. That is your proof the reset worked.
  2. Hold the power button until the PC turns off.

The buyer will start at that same screen and set it up with their own account. Windows activation normally isn’t a problem for them: on most PCs that came with Windows 11, activation uses a digital license tied to the hardware, so Windows activates itself once the PC goes online. The buyer can confirm it under Settings > System > Activation.

Step 5: Remove the PC from your Microsoft account

This last step happens on the web, so you can do it from your phone or new PC after the reset. It takes the old PC out of your account’s device list, and the Unlink step below stops it counting toward the limit of 10 devices that can download Microsoft Store apps and content.

  1. Sign in at account.microsoft.com/devices.
  2. Find the PC you’re selling. Select it (on some layouts through Show details and More actions), then choose Remove.
  3. Check the box confirming you’re ready to remove the device and select Remove.
  4. If the PC also appears in the list of devices used for Microsoft Store content, select Unlink there and confirm.

Microsoft’s checklist before you recycle, sell or gift a Windows PC covers the same account steps.

When you want more than a reset

For most people, Remove everything with Clean data is the right balance of effort and protection. Consider going further in these cases:

  • The PC held unusually sensitive files, such as client records or scans of identity documents. Some PC makers include a secure erase tool for the drive in their firmware or support software; check your model’s support page. The surest option is to remove the drive and keep it, then sell the PC without storage or with a new drive.
  • The PC had persistent problems or a cluttered factory image. A clean install from a USB drive replaces everything on the drive, including the maker’s extra software. The steps for a clean install of Windows 11 cover that route; stop at the setup screen afterward, just as in Step 4.
  • The PC has a second drive you only used for storage. Make sure it was included in the clean (Step 3, step 5), or format it yourself before the reset.

Before you hand it over

Does the reset remove Windows 11?

No. It reinstalls Windows, so the buyer gets a working copy of Windows 11 with no personal data, ready for first-time setup. That is usually what buyers expect.

Can I cancel once it has started?

You can back out at any screen before you select Reset. After that, let it finish; interrupting it is more likely to leave the PC unable to start than to save your files.

Do I need to give the buyer a product key?

Usually not, for a PC that came with Windows 11, because its digital license is linked to the hardware. If you upgraded it with a retail product key you bought separately, keep a note of that key in case the buyer’s copy doesn’t activate.

What about the outside of the PC?

Peel off stickers with personal information (a name label, a sticky note with a Wi-Fi password), and check bags and cases for papers. If you include the original box, look inside it for receipts showing your address.

Is a reset enough if I’m only giving the PC to a family member?

Yes, and you can skip Clean data if you trust them and want a faster reset. Still sign out, unlink OneDrive and remove the PC from your Microsoft account so they set it up with their own.

Ready to start? Plug in an external drive and begin Step 1 with your Downloads and Desktop folders, the two places people most often forget.