How to Wipe a PC Before Selling or Donating It

The Problem

Deleting folders and emptying the Recycle Bin is not enough. The next owner can recover photos, tax documents, and saved browser passwords with free software in minutes. You need a proper reset—and on sensitive machines a full erase—plus account unlinking so the PC does not stay tied to your Microsoft login.

Keeping the PC but starting fresh? See reinstall Windows without losing data.

Step 1: Back Up Everything, and Verify It

  1. Copy your files to an external drive or another PC.
  2. Open several of them from the backup before wiping anything. "It looked like it copied" is where the regret starts.
  3. Export browser bookmarks and passwords, or confirm they are synced to your account.
  4. Save software licence keys you will need on the next machine.
  5. Photograph anything on the desktop you might forget.

Step 2: Deauthorise and Sign Out

Some software counts installations against a device limit, and reclaiming a slot after the PC is gone is awkward.

  • Adobe: Help → Sign Out.
  • Microsoft 365: deactivate the install at account.microsoft.com/services.
  • iTunes: Account → Authorisations → Deauthorise This Computer.
  • Password manager: remove the device from your vault's device list.
  • Two-factor authenticators: move any authenticator app off the machine first, and check whether it was a trusted device for any account.
  • Sign out of Steam, banking sites, and email in every browser.

Step 3: Unlink the Device

  1. SettingsPrivacy & securityFind my device → turn Off, so the buyer is not blocked later.
  2. SettingsAccounts → remove any secondary accounts.
  3. After the wipe, go to account.microsoft.com/devices and Remove the device from your account list.
  4. If the machine was ever enrolled in a work or school account, unenrol it from SettingsAccountsAccess work or school — otherwise it may remain managed and effectively unusable for the buyer.

Step 4: Note the BitLocker Recovery Key

If BitLocker is on, keep the recovery key available until the wipe has finished, in case the reset process asks for it. See enable BitLocker drive encryption.

Encryption is also your friend here: on a drive that was encrypted, destroying the key makes the remaining data unreadable regardless of what a recovery tool finds.

Step 5: Reset the PC

  1. SettingsSystemRecoveryReset this PCReset PC.
  2. Choose Remove everything—not "Keep my files"; you are selling it.
  3. Choose the source:
    • Cloud download — a fresh image from Microsoft, roughly 4 GB. Best result.
    • Local reinstall — rebuilt from the recovery files already on the PC.
  4. Click Change settings and set Clean data:
    • Off — fast, and adequate for an ordinary home sale.
    • On — overwrites the drive, takes hours, and is the right choice for a work laptop or anything sensitive.
  5. Confirm and let it run. Keep a laptop plugged in throughout.

At the very end, when the PC restarts into the "Let's start with region" screen, shut it down rather than completing setup. The buyer should do that themselves, and it proves the machine is genuinely reset.

Step 6: For Sensitive Data, Go Further

A standard reset with Clean data off leaves data recoverable by someone determined. For work machines, or if the drive held financial or medical records:

  • SSD: use the manufacturer's tool (Samsung Magician, Crucial Storage Executive, WD Dashboard) to issue a Secure Erase or Sanitize command. This tells the drive's controller to discard its encryption keys and mark every block empty—far more thorough and far faster than overwriting.
  • Hard drive: a full overwrite pass is appropriate. One pass of zeros is sufficient against software recovery; the multi-pass folklore is decades out of date.
  • Either: boot from Windows installation media → Custom install → delete every partition on the internal drive → install a blank Windows so the buyer sets it up from scratch.

Step 7: The Physical Checklist

  • Remove any SD card, SIM card, or second drive in a caddy.
  • Check the optical drive for a disc.
  • Wipe fingerprints and check for sticky notes with passwords underneath.
  • Reset the BIOS/UEFI to defaults, and remove any BIOS or drive password—a machine with a forgotten supervisor password is close to worthless.
  • Clear any Secure Boot custom keys you added.
  • Include the original charger.

For a PC You Are Recycling Rather Than Selling

If the machine is dead or worthless, remove the drive and keep it, or destroy it physically. Donating the shell without the drive is entirely normal and charities expect it.

What Not to Do

  • Don't rely on formatting alone. A quick format clears the file table, not the data.
  • Don't just delete your user account. Files remain on the drive.
  • Don't sign back in with your Microsoft account "to test it". That re-links the device.
  • Don't use degaussers or drills on an SSD expecting hard-drive results—for flash storage, Secure Erase is both more effective and less messy.

One Line for the Buyer

Tell them to run Windows Update and a Defender scan on first boot. They inherit a clean OS, not your problems.