How to Clean a Windows PC Before Selling or Giving It Away: Safe Steps for Windows 11 and 10

Flat illustration of a desktop monitor beside a padlock with a circular refresh arrow, a gift box tied with a blue ribbon, and a blank folder being swept toward a bin
Flat illustration of a desktop monitor beside a padlock with a circular refresh arrow, a gift box tied with a blue ribbon, and a blank folder being swept toward a bin

If you plan to clean a PC before selling it, a normal clean-up is not enough. A PC cleaner removes junk files, but it leaves your documents, accounts, saved passwords and installed apps exactly where they are. To hand a Windows computer to someone else, you need to back up what you want to keep, sign out of your accounts and then reset Windows so that your files, apps and settings are gone. This guide shows the steps for Windows 11 and Windows 10, explains the one setting that matters for privacy, and covers what to check before the buyer collects the PC.

Last reviewed: November 23, 2026. The reset steps were compared with Microsoft's support pages listed under Sources. Nothing here was run on a real PC, and no secure-erase tool was tested.

Quick answer

  • A cleaner is the wrong tool for this job. Use Reset this PC > Remove everything instead.
  • Turn on Clean data under Change settings when you sell, donate or recycle the PC. Microsoft says it makes removed files harder to recover.
  • Back up first, because a reset cannot be undone. Sign out of Microsoft 365, game launchers and browsers before you start.
  • Stop at the first setup screen after the reset so the next owner sets up their own account.

In this guide

How to clean a PC before selling: cleaning, deleting and wiping are different

People use "clean" for several very different jobs. Only the last three rows below prepare a PC for a new owner, and the last two are the best choices when you are selling.

What you doWhat it removesGood enough for a sale?
Run a PC cleaner or Disk CleanupTemporary files, caches, the Recycle BinNo. Your documents, accounts and apps stay.
Delete your files and uninstall apps by handThe files you pickNo. Settings, accounts and leftovers remain, and deleted files may be recoverable.
Reset this PC, Keep my filesApps and settings, not personal filesNo. Your files stay on the PC.
Reset this PC, Remove everythingPersonal files, apps and settings, then reinstalls WindowsYes, for most sales.
Remove everything with Clean dataThe same, plus a cleaning pass of the driveBest built-in choice. Takes longer.
Clean install from Windows installation mediaErases the Windows drive you selectYes, but it is the advanced route.

Our overview of what a PC cleaner does and does not do explains why junk removal is a different job from wiping a PC.

Which route fits you

  • Are you selling, donating or recycling the PC to someone outside your household?
    • Yes: use Remove everything with Clean data, as described below.
    • No: go to the next question.
  • Are you passing it to a family member who will use their own account?
    • Yes: you can still use Remove everything, which is simplest. Or create an account for them and remove yours (see the note under the reset steps).
    • No: go to the next question.
  • Are you keeping the PC and just want it tidier?

Before you start: back up and sign out

A reset with Remove everything deletes your personal files. There is no undo button, so do the preparation first.

Step 1: Back up what you want to keep

Copy documents, photos, game saves, browser bookmarks and anything else you need to an external drive or cloud storage. Our guide to backing up a Windows PC shows both file backups and a system image. After copying, open a few files from the backup to confirm they work. Check hidden places too: the Desktop, Downloads, Documents, Pictures and the browser profile folders.

You should see: your files open from the backup drive or cloud folder, not from the PC.

If this fails: if the drive is making noises or files will not copy, stop and read how to check hard drive or SSD health before you reset anything.

Step 2: Make a list of what is tied to this PC

Write down the services you have signed in to. Typical items are:

  • Microsoft 365 or other office suites that limit the number of installs.
  • Game launchers such as Steam, Epic or Xbox, and the games you will need to download again.
  • Photo, video and design software with per-device licences.
  • Browser sync, password managers and two-factor apps that trust this PC.
  • Cloud storage such as OneDrive that is signed in on this PC.

You should see: a written list with one line per service.

If this fails: if you cannot remember a service, check your browser's saved sign-ins and your password manager for sites you use on this PC.

Step 3: Sign out and deactivate

Sign out of each service, and where an app offers Deactivate or Sign out of this device, use it. Our general advice for Microsoft 365 is to look for the install under your Microsoft account's services and subscriptions page, since the wording changes over time. In your browser, turn off sync and sign out so your profile does not stay on the PC. If you want to know exactly what your browser keeps, read what a cleaner does and does not delete from browsers.

You should see: each service showing you are signed out, or the app confirming the device was deactivated.

If this fails: if an app has no sign-out or deactivate option, sign out on its website and check its list of devices.

Step 4: Note what the buyer will ask about

Open Settings, then System, then About to copy the model, processor, memory and storage. Our guides on checking PC specs and finding the serial number and warranty show where to look. The Settings path above is written for Windows 11, and menu names can differ slightly on Windows 10. To see how much free space each drive has, open File Explorer and select This PC; our guide to freeing up disk space in Windows 11 covers the next steps. Our general advice: if the drive uses BitLocker, keep your recovery key until the reset is done; see how to find your BitLocker recovery key.

You should see: the model, processor, memory and storage on the About screen.

If this fails: if the screen does not show them, check the label on the PC or its original box.

Wipe the PC with Reset this PC

Plug a laptop into power and keep it plugged in for the whole reset. Close all apps first.

Windows 11

  1. Open Settings > System > Recovery.
  2. Next to Reset this PC, select Reset PC.
  3. Choose Remove everything.
  4. Choose Cloud download or Local reinstall. Microsoft describes Cloud download as a fresh copy of Windows with the latest updates, and Local reinstall as using the files already on the PC, which it says is faster on a slow internet connection.
  5. On the settings screen, select Change settings and turn on Clean data.
  6. Read the summary, then select Next and Reset.

Windows 10

  1. Open Settings > Update & Security > Recovery.
  2. Under Reset this PC, select Get started.
  3. Choose Remove everything, then the reinstall method.
  4. On the settings screen, turn on Clean data and select Next, then Reset.

Menu names can differ slightly between builds. Windows 10 reached its end of support in October 2025, so if you sell a Windows 10 PC, tell the buyer which Windows version it runs and let them decide about updates.

What Clean data means

Microsoft's Reset your PC page describes Clean data as the option to use when you plan to donate, recycle or sell the PC. It takes longer, but it makes it harder for other people to recover files you removed. Microsoft does not promise that recovery is impossible, and it says the data erasure is aimed at consumers and does not meet government and industry data erasure standards. Treat Clean data as a strong built-in step, not a guarantee. If the PC held very sensitive data, such as business records or financial files, you may prefer to keep the drive or have it professionally destroyed.

You should see: the PC restarts, shows a progress percentage and later reaches a first-time setup screen asking for your region or language.

If this fails: Microsoft says the screen may stay black for a long period, occasionally upwards of 15 minutes. Restarting the PC yourself during the reset could make it fail, so wait it out. If it reports an error, see what to do when Windows says there was a problem resetting your PC.

Giving the PC to a family member instead

If you would rather keep Windows installed, you can create an account for them first and then remove yours. Our general advice is to open Other users under Accounts in Settings, pick your old account and choose the option to delete the account and data. Menu wording varies by version, and this does not remove everything a full reset does, such as apps you installed for all users. For a clean hand-over, the reset is still the more thorough choice.

After the reset: final checks

  1. Stop at the setup screen. Switch the PC off at the first screen that asks for region or language. This is general practice, not a Microsoft rule, and it lets the buyer set up their own account.
  2. Check your Microsoft account. On another device, open account.microsoft.com/devices and sign in. If the PC is still listed, use its options to remove it. Our general advice is to check this after the reset, because menu wording may differ.
  3. Check the BIOS or firmware. If you set a BIOS or startup password, remove it so the buyer is not locked out.
  4. Remove media and accessories. Take out SD cards, USB drives and discs, and peel off any label that shows a password or account name.
  5. Keep the receipt and a note of the date you reset the PC, together with the serial number.

If the reset will not run

If Windows will not start, Settings is not reachable or the reset fails, use the Windows recovery options. Microsoft's Recovery options page lists the reset choice in the Windows Recovery Environment. Our guide to resetting Windows 11 shows how it works with Keep my files, and the article on repairing Windows 11 without losing files lists safer options when the goal is a repair rather than a sale. As a last resort, a clean install from a USB drive erases the drive you choose during setup. Read it carefully before you pick a drive, and back up first.

If the PC has been behaving as if it is infected, scan it first with Windows Security and follow our guide to removing a virus or malware, then reset it.

What a PC cleaner cannot do here

A cleaner can clear temporary files and some caches, but it is not built to remove your accounts, your documents or the apps you installed. To remove an app properly, see our guide to uninstalling programs completely in Windows. Some cleaners include a file shredder or free-space wiper. These overwrite deleted data in free space, which is a different job from a reset, and their quality varies. If you are tempted by one, check it against our PC cleaner safety checklist. For a sale, the built-in reset with Clean data is simpler and carries no extra install. A cleaner is also not a replacement for the steps above: read PC cleaner vs. manual cleanup if you are unsure how the two approaches differ.

Clean the outside too

A tidy exterior helps the sale. Shut the PC down and unplug it. Wipe the case and screen with a slightly damp, soft cloth, avoid spraying liquid on the machine and keep moisture away from ports. Our guides show how to clean a laptop safely and the mistakes to avoid. For a desktop, see cleaning the PC interior without damaging components.

Frequently asked questions

Questions about wiping the PC

Can I just delete my files and sell the PC?

You should not. Deleted files can often be recovered, and your accounts and apps would remain. Use Reset this PC with Remove everything.

Is Remove everything enough, or do I need Clean data?

For a sale, donation or recycling, Microsoft points to Clean data, which takes longer but makes removed files harder to recover. For a PC that stays in your household, Remove everything alone is usually enough.

How long does the reset take?

It depends on the PC, the drive and the options. Clean data takes longer. Microsoft gives no fixed time, so leave the PC plugged in and wait.

Do I need my Windows product key to sell the PC?

Our general advice: the buyer usually does not need your Windows key, but this article did not check Microsoft's licensing pages. If you bought a retail licence and want to move it to another PC, check Microsoft's licence terms first.

Questions about accounts and safety

Will the reset remove my Microsoft account from the PC?

It removes the accounts stored on the PC. The device may still be listed on your Microsoft account online, so check the devices page as described above.

What if I forgot to back up something?

If the reset has not started, stop and back up. If it has finished, recovery is unlikely. See our article on recovering files after a cleanup for the options.

Should I reset a PC with a failing hard drive before selling it?

Check the drive first. A failing drive can fail during the reset, and a buyer will not want it. See our drive health guide linked above.

Is a reset enough for a PC that held business or banking files?

For very sensitive data, consider keeping the drive or having it professionally destroyed, because no built-in tool can promise that recovery is impossible.

How this guide was checked

The reset options, Clean data wording and recovery paths follow Microsoft's support pages listed below. The account clean-up steps, the advice to stop at the setup screen and the sensitive-data advice are general guidance, not Microsoft instructions. Menu names differ between Windows 10 and 11 builds, and no step was run on a real PC for this article.

More help

For more Windows fixes and clean-up advice, browse the PC repair guides or try the Repair Assistant.

Sources