Resetting a computer: what to do before you sell or dispose of it
Deleting files is not enough before selling or discarding a computer. How to back up, sign out, reset Windows or a Mac, and deal with one that will not start.
📚 Computer Basics · 13/49·⏱ About 7min read·Information updated 2026-10-23
📋 Key facts5
Order
Back up > release accounts and licenses > reset > remove the device from your account
Windows 11
Settings > System > Recovery > Reset PC > Remove everything
Before handing over
Turn on the Clean data option (takes longer)
Mac
System Settings > General > Transfer or Reset > Erase All Content and Settings
As of
Microsoft and Apple support documents, October 2026
Why deleting files is not enough
Before you sell a computer, pass it on to family, or dispose of it, you need to reset it. Moving files to the Recycle Bin and emptying it may not remove every trace from the drive, and less visible information also remains, such as passwords and sign-ins saved in the browser, messenger apps, and certificate files. Microsoft explains that turning on Clean data during a reset makes it harder for other people to recover files you removed, which also means that files deleted the ordinary way may still be recoverable. This guide is based on Microsoft and Apple support documents as of October 2026; if the machine belongs to your employer, follow your company's return and security rules first.
Back up first and make a list
A reset cannot be undone, so backing up comes first. Besides obvious files such as documents, photos and videos, check the desktop and Downloads folder, browser bookmarks, messenger conversations, certificate files, and product keys or purchase records for paid software. If you were using cloud sync, the reliable way to confirm the upload finished is to open the files on another device. If you backed up to an external drive, it is safest to confirm that it opens on another computer before moving on.
Documents, photos and videos, plus the desktop and Downloads folder
Browser bookmarks and account sync status
Certificate files and product keys for paid software
Messenger conversation backups
Release accounts and licenses
Some cleanup has to happen inside programs before the reset. Paid software with a limit on installations usually needs this computer to be deregistered, either inside the program or on the vendor's account page, before you can use it on a new machine. Sign out of browsers, messengers and cloud apps, and for messengers linked to your phone, also check the list of signed-in devices on the phone. Unpair any Bluetooth keyboard, mouse or earphones you are not handing over with the computer. On a Mac, Erase All Content and Settings takes care of signing out of Apple services, but on a Mac that cannot use this feature you need to sign out of iCloud and Messages yourself.
Windows: Remove everything in Reset PC
On Windows 11, go to Settings > System > Recovery and choose Reset PC. On Windows 10, look for Reset this PC under Settings > Update & Security > Recovery. Of the choices, Keep my files leaves your personal files in place, so it is not suitable for a computer you are passing on; choose Remove everything to erase personal files, apps and settings and reinstall Windows. Turning on the Clean data sub-option takes longer but makes deleted files harder to recover, and Microsoft recommends it when you donate, recycle or sell a PC. Between Cloud download, which fetches a fresh copy of Windows, and Local reinstall, which uses files already on the computer, Cloud download is convenient if your internet is fast enough, since it includes the latest updates.
Keep my files: when you will keep using it
Remove everything + Clean data: when selling or passing it on
Cloud download: downloads a fresh copy of Windows
Local reinstall: when the internet is slow
What to check before and after a Windows reset
If the device is encrypted, for example with BitLocker, find your recovery key before you start the reset. You may be asked for it when working in the recovery environment. During the reset the screen may stay black for a long time or restart on its own; forcing a restart at that point can make the reset fail, so it is best to wait. When the reset is finished, if this computer is still in the device list on the Microsoft account website, find it and remove it. Note that Microsoft states Clean data is a consumer feature that does not meet government or industry data-erasure standards, so for a work computer that held a lot of sensitive data, consider a separate professional erasure procedure.
Mac: Erase All Content and Settings
If your Mac has Apple silicon or the Apple T2 Security Chip and runs macOS Monterey (12) or later, Erase All Content and Settings is the simplest route. On macOS Ventura (13) or later, go to System Settings > General > Transfer or Reset, choose this item and follow the onscreen instructions. On Monterey (12), open System Preferences from the Apple menu and choose this item from the System Preferences menu in the menu bar. It erases all user accounts and data and every app you installed, signs you out of Apple services such as iCloud, and turns off Find My and Activation Lock. The operating system stays in place, so there is no need to reinstall it. For a Mac that cannot use this feature, Apple's guidance is to start up from macOS Recovery, erase the Mac with Disk Utility, reinstall macOS, and on an Intel-based Mac also reset NVRAM.
Handing over a computer that will not turn on
A computer that will not start because it is broken cannot be reset, so the data stays on its drive. On a desktop, or a laptop whose drive can be removed, the sure method is to take the drive out and keep or destroy it yourself. However, some laptops have storage attached to the main board that cannot be removed; in that case, have it repaired so it starts and then reset it, or ask the manufacturer's service center how the data can be handled. If you physically destroy a drive, take care not to be hurt by fragments, and do not touch the laptop battery, since puncturing or crushing it can cause a fire. For disposal, follow your local rules for discarding electronics.
Final checks before handing it over
When the reset is done, the first setup screen appears. Signing back in with your own account there starts collecting information again, so it is better to stop at that screen and turn the power off. Apple likewise says that when handing over a Mac, you should quit at the setup assistant screen by pressing Command-Q. Finally, check again that your backup opens properly, that paid software has been deregistered, and that the device has been removed from your account's device list. Menu names and requirements can change with operating system versions, so it is a good idea to check Microsoft's and Apple's current support documents before you start.