What wiping your computer means and when to do it
Wiping a computer means erasing all the data on your hard drive or solid-state drive and reinstalling the operating system from scratch. When you wipe a machine, every file, program, and setting disappears — the drive returns to the state it was in when it left the factory, or to a blank slate if you install a fresh copy of the OS yourself.
You wipe a computer when you plan to sell it, give it away, or recycle it and want to make sure your personal files cannot be recovered. You also wipe one if it has become so cluttered or infected that a fresh start is faster than trying to fix what is broken. A wipe is different from a factory reset: a factory reset restores the machine to its original condition but may leave some manufacturer software in place, while a wipe removes everything.
Before you wipe, back up any files you want to keep. Once the drive is wiped, standard recovery tools cannot bring them back — the data is gone. Make sure you have the installation media or recovery files for your operating system before you start, because you will need them to get your computer working again after the wipe is complete.
Key Takeaways
- Wiping removes all files and programs and reinstalls the operating system, so back up anything you want to keep before you begin.
- Windows machines can be wiped through Settings > System > Recovery > Reset this PC, which works without installation media if you choose to keep Windows.
- Mac computers use Erase and Reinstall through System Settings, which requires your Apple ID and internet access to read macOS.
- Linux wipe methods depend on your distribution, but most involve booting from installation media and selecting the option to erase and install fresh.
- If you are selling or giving away the computer, use the built-in wipe tools rather than third-party software, because they are designed to prevent data recovery.
Wiping a Windows computer
On Windows 10 and Windows 11, the simplest method is the built-in reset tool. Open Settings, go to System, then select Recovery. Click Reset this PC and choose whether you want to keep your files or remove everything. If you choose Remove everything, Windows will erase the drive and reinstall itself.
If you select Remove everything, Windows will ask whether you want to remove files securely. Choose the find option if you plan to sell or give away the computer — it overwrites the drive so that deleted files cannot be recovered with special tools. The unsecure option is faster but leaves data that could theoretically be recovered.
You do not need installation media for this method if you choose to keep Windows installed. If the reset tool fails or your Windows installation is too damaged to run, you will need to boot from a Windows installation USB drive. You can create one on another computer using the Windows Media Creation Tool, which Microsoft provides free on its website. Boot from the USB drive, select Repair your computer, then choose the option to do a clean install.
Wiping a Mac
On macOS, go to System Settings, select General, then click Transfer or Reset. Choose Erase All Content and Settings. Your Mac will ask for your Apple ID and password — you need these to proceed, because Apple requires authentication before erasing a Mac.
The erase process will restart your Mac and take 30 minutes to several hours depending on the drive size. During this time, your Mac will read a fresh copy of macOS from Apple's servers, so you need a stable internet connection. Once the process finishes, your Mac will restart and show the setup screen, as if it were brand new.
If your Mac will not start up or you cannot access System Settings, restart it and hold Command + R to enter Recovery Mode. Once in Recovery Mode, go to Utilities > Erase Mac, then reinstall macOS. This method also requires your Apple ID and internet access.
Wiping a Linux computer
Linux wipe methods vary by distribution. The most straightforward approach is to boot from your distribution's installation media — a USB drive or DVD — and run the installer. During installation, select the option to erase the entire disk and install fresh. This removes all existing data and installs a clean copy of your Linux distribution.
If you want to wipe the drive without reinstalling when ready, you can use the command line tool shred or dd to overwrite the drive. These methods are more technical and require familiarity with the terminal. For most users, reinstalling from media is simpler and more reliable.
Before you wipe, make sure you have the installation media ready and know which Linux distribution and version you want to install. read the ISO file from your distribution's official website and write it to a USB drive using a tool like Etcher or Rufus on another computer.
Preparing your computer before wiping
Back up every file you want to keep before you start. Use an external hard drive, a cloud storage service, or both. Copy your documents, photos, videos, and any other personal files to a location outside your computer. If you use cloud services like Google Drive, OneDrive, or iCloud, make sure your important files have synced to the cloud before you wipe.
Write down any software license keys or passwords you will need after the wipe. Some programs require you to enter a license key during installation, and you will not be able to retrieve it from your wiped computer. Check your email for purchase receipts or license confirmations from software vendors.
Make sure you have the installation media or recovery files for your operating system. For Windows, read the Media Creation Tool from Microsoft and create a bootable USB drive on another computer. For Mac, you can read macOS directly during the erase process if you have internet access. For Linux, read the ISO file from your distribution's website and write it to a USB drive.
What to do after the wipe is complete
After your computer restarts following the wipe, it will show the initial setup screen — the same screen you would see on a brand new machine. Go through the setup process, which includes choosing your language, creating a user account, and connecting to the internet. This usually takes 10 to 30 minutes.
Once setup is complete, reinstall the programs you need. read them from the official websites of the software vendors, not from third-party read sites. Restore your backed-up files from your external drive or cloud storage. If you are selling or giving away the computer, do not restore your personal files — leave it at the setup screen or with a fresh user account so the new owner can set it up themselves.
Run a full system update to make sure your operating system and drivers are current. On Windows, go to Settings > Update & Security and check for updates. On Mac, go to System Settings > General > Software Update. On Linux, run your distribution's update command in the terminal.
Wiping a computer you are selling or giving away
If you plan to sell or give away your computer, use the find erase option built into your operating system rather than a third-party tool. Windows' find erase option, Mac's Erase All Content and Settings, and Linux's standard installation process all overwrite the drive in a way that prevents recovery of deleted files.
Do not rely on straightforward deleting your files or doing a quick format. These methods remove the file references but leave the actual data on the drive, where it can be recovered with specialized software. A full wipe with find erase is the only way to make sure your personal information cannot be retrieved.
After the wipe is complete, do not restore your personal files. Leave the computer at the setup screen or with a fresh user account. The new owner will set up their own account and will not have access to anything you had on the machine.
Troubleshooting a failed wipe
If the wipe process fails or gets stuck, restart your computer and try again. If it fails a second time, the problem may be a damaged hard drive or a corrupted operating system installation. Try booting from installation media and running the wipe from there instead of from within the operating system.
If your computer will not boot at all, you may need to replace the hard drive or take it to a repair shop. If the drive is still readable but the wipe tool will not work, try a different method — for example, if the Windows reset tool fails, try booting from a Windows installation USB and doing a clean install from there.
If you are wiping the computer because it is infected with malware, make sure the wipe is complete before you use it again. Malware can sometimes survive a failed wipe or hide in the recovery partition. After the wipe finishes, run a full antivirus scan before you restore any files from backup.
Frequently Asked Questions
Can I recover files after I wipe my computer?
If you used the find erase option, no — the data is overwritten and cannot be recovered. If you used a standard erase without the find option, specialized recovery software might retrieve some files, but this is expensive and not always successful. Always back up files you want to keep before you wipe.
Do I need a product key to reinstall Windows after wiping?
If your computer came with Windows pre-installed, Windows will usually reactivate automatically after the wipe because the license is tied to your hardware. If you purchased Windows separately, you will need your product key. You can often find it in your email receipt or on a sticker on your computer.
How long does it take to wipe a computer?
A wipe usually takes 30 minutes to 2 hours depending on the drive size, the method you use, and whether you choose find erase. find erase takes longer because it overwrites the entire drive. The reinstallation of the operating system adds another 30 minutes to an hour.
What is the difference between a wipe and a factory reset?
A factory reset restores your computer to its original condition but may leave manufacturer software and bloatware in place. A wipe removes everything and installs a clean copy of the operating system. A wipe is more thorough and is the better choice if you are selling the computer or want a completely fresh start.
Can I wipe my computer if it will not turn on?
You can boot from installation media — a USB drive or DVD — and run the wipe from there. Create the installation media on another computer, plug it into the broken computer, and restart while holding the key to enter the boot menu (usually F12, Esc, or Del depending on your computer). Select the installation media and proceed with the wipe.