Erasing a computer means using its built-in factory reset — Windows Reset, macOS Erase All Content, or Chromebook Powerwash — to remove personal data before resale or donation.
Whether selling a laptop, donating a desktop, or handing a work computer back to IT, this article covers how to erase computer data using the built-in tools in each operating system. Windows uses Reset this PC, Macs use Disk Utility and Recovery, and Chromebooks use Powerwash. Each method removes personal files and restores factory settings, but choosing the right options inside each tool determines whether your data stays gone.
This guide covers the exact steps for Windows 11, Windows 10, Apple silicon Macs, Intel Macs, and Chromebooks, plus the critical pre-erase tasks that prevent locked accounts and lost data.
What Happens When You Erase a Computer?
Erasing a computer triggers its built-in factory reset — removing personal files, installed programs, and account settings, then reinstalling the operating system so the device is clean for the next owner or for a fresh start. The reset tools on Windows, Mac, and Chromebook all accomplish this, though the depth of data removal and recovery risk differ by platform.
For most home users, the standard OS reset is sufficient before resale or donation, as outlined in Consumer Reports’ computer-wiping guidance. Organizations handling sensitive data may require certified erasure standards like NIST SP 800-88, but the factory reset handles the vast majority of use cases.
Erase a Windows PC (Windows 11 and 10)
Microsoft provides two paths to the same reset tool. On Windows 11, open Start > Settings > System > Recovery > Reset PC. On Windows 10, the path is Start > Settings > Update & Security > Recovery > Reset this PC > Get started.
You then choose between Keep my files (refreshes the OS while keeping personal data) and Remove everything (deletes all files, settings, and apps). For erasing a computer you plan to sell or donate, choose Remove everything. Microsoft also offers Cloud download or Local reinstall — Cloud download is faster on a decent connection and pulls the freshest system files.
If the PC won’t boot normally, boot from a recovery drive or interrupt startup three times to reach Windows Recovery Environment (Windows RE), then select Troubleshoot > Reset this PC. The reset removes user data but does not overwrite the drive, so recovery software may retrieve fragments. The table below shows when extra steps are needed.
Erase a Mac (Apple Silicon and Intel)
Apple splits the process by chipset, so knowing whether you have an M-series or Intel Mac is essential.
Apple silicon (M1, M2, M3, M4): Shut down the Mac, then press and hold the power button until startup options appear. Choose Options > Continue, then open Disk Utility. Select the main drive (usually Macintosh HD), click Erase in the toolbar, choose APFS as the format, keep the volume name Macintosh HD, and click Erase Volume Group. After Disk Utility finishes, quit it and reinstall macOS from the recovery window. If you’re selling or giving away the Mac, press Command-Q during the setup assistant to shut it down cleanly.
Intel Macs: Restart and immediately hold Command-R to enter macOS Recovery. Open Disk Utility, select the startup drive, and choose Erase. Use Mac OS Extended (Journaled) as the format. After erasing, quit Disk Utility and choose Reinstall macOS from the main menu.
Before erasing any Mac, sign out of iCloud via System Settings > Apple Account. This deauthorizes your account and lets the next owner activate the device.
Erase a Chromebook
Chromebooks use a feature called Powerwash. Sign out of the device completely, then press Control + Alt + Shift + R. Select Restart, and when the reset window appears, choose Powerwash then Continue. The Chromebook erases all local data and returns to a factory-fresh state. The next owner signs in with their own Google account.
| Method | Data Recovery Possible? | Best For |
|---|---|---|
| Windows Reset (Keep my files) | Yes, personal files remain | Refreshing a slow PC |
| Windows Reset (Remove everything) | Possibly, with recovery software | Selling or donating a PC |
| Windows Reset + clean drive option | Very difficult | Sensitive data on a PC |
| macOS Erase Volume Group (Apple silicon) | Very difficult after reinstall | Selling or donating a Mac |
| macOS Disk Utility Erase + Reinstall (Intel) | Very difficult after reinstall | Selling or donating a Mac |
| Chromebook Powerwash | Very difficult (encrypted storage) | Selling or donating a Chromebook |
| Third-party secure wipe (DoD/NIST) | Virtually impossible | High-security data destruction |
What To Do Before You Erase Any Computer
Three tasks apply to every OS before you start the reset.
First, back up anything you want to keep — photos, documents, passwords, browser bookmarks — to an external drive or cloud service. A full erase is permanent.
Second, sign out of all cloud accounts: iCloud on a Mac, Microsoft account on Windows, Google account on a Chromebook, plus any sync services like Dropbox or Adobe Creative Cloud. Leaving an account signed in can lock the device to your identity and prevent the next owner from activating it.
Third, deactivate software licenses if required. Adobe Creative Suite, Microsoft Office, and other license-managed applications may need to be deactivated on the current device before they can be transferred.
Can a Factory Reset Leave Data Behind?
The biggest mistake is assuming a standard reset makes data unrecoverable. A plain reset removes file references but does not overwrite the storage. Recovery software can sometimes retrieve fragments, especially from solid-state drives where the trim process hasn’t run.
For sensitive data — financial records, medical information, business files — use the drive-cleaning option if your OS offers it during the reset, or use certified erasure software that overwrites the drive with random patterns. Standards like DoD 5220.22-M and NIST SP 800-88 define the overwriting patterns certified tools use.
Other common errors: choosing Keep my files on Windows when you mean to sell the device, forgetting to sign out of iCloud on a Mac (which activates Activation Lock), and using the wrong recovery key combination for the Mac’s chipset.
| Your Situation | Recommended Method | Why |
|---|---|---|
| Selling to someone you don’t know | OS reset + clean drive option | Prevents recovery of personal data |
| Donating to a friend or family | Standard OS reset (Remove everything) | Sufficient for a trusted recipient |
| Recycling at a drop-off center | OS reset + physically remove or destroy drive | Recyclers may not guarantee data destruction |
| Returning to an employer or school | Follow IT policy; do not reset unless instructed | MDM wipe may be automatic once online |
| Keeping the device for a fresh start | OS reset (Keep my files or Remove everything) | Depends whether you want a completely clean slate |
| Device held sensitive data (taxes, medical records) | NIST-compliant wipe or physical drive destruction | Certified standards guarantee data is unrecoverable |
Erase Your Computer by Operating System: Steps That Match Your Device
The sequence that protects your data before any computer changes hands is straightforward: back up, sign out of cloud accounts, deactivate licenses, then run the appropriate reset tool for your OS with the most thorough option selected — Remove everything for Windows, Erase Volume Group for Apple silicon Macs, Disk Utility erase for Intel Macs, and Powerwash for Chromebooks. If the device held sensitive information, add a drive-cleaning or certified-wipe step after the standard reset.
That sequence covers every common scenario from selling a laptop to donating a desktop. The built-in tools handle the work — the choices you make inside them determine whether your data stays private.
References & Sources
- Consumer Reports. “How to Wipe a Computer Clean of Personal Data.” Covers built-in reset steps for Windows, macOS, and ChromeOS.
- Microsoft Support. “Reset your PC.” Official Windows reset procedure and options.
