What erasing your PC actually does

Erasing a PC removes all your files, programs, and settings and reinstalls Windows (or your operating system) from scratch. This is different from a factory reset — it wipes the drive completely rather than restoring it to how it came from the manufacturer. When you erase a PC, everything goes: your documents, photos, email, browsing history, installed software, and any personal configuration you've done.

The process leaves you with a blank machine running only the base operating system. You'll need to reinstall your programs, sign back into accounts, and reconfigure settings afterward. Most people erase a PC when selling or giving away the computer, when the system has become too slow or corrupted to fix, or when they want to remove malware that antivirus software couldn't catch.

Before you start, understand that erasing is permanent. Files deleted this way cannot be recovered through normal means. If you have documents, photos, or anything else you want to keep, back them up to an external drive or cloud storage first.

Key Takeaways

  • Back up all your files to an external drive or cloud storage before you begin, because erasing removes everything permanently.
  • Windows 10 and 11 have a built-in reset tool under Settings > System > Recovery that handles most erasures without extra software.
  • Choose "Remove everything" during the reset to wipe the drive completely, not "Keep my files" which only removes programs.
  • The process takes 30 minutes to two hours depending on your drive size and computer speed, and your PC will restart multiple times.
  • After erasing, you'll need to reinstall Windows updates, sign into your Microsoft account, and reinstall your programs one by one.

Back up your files before you start

The first step is moving anything you want to keep off the PC entirely. Connect an external hard drive or USB drive with enough space for your files. Open File Explorer, navigate to your Documents, Pictures, Downloads, and Desktop folders, and copy them to the external drive. This takes 10 minutes to an hour depending on how much data you have.

If you use cloud storage like OneDrive, Google Drive, or Dropbox, check that your important files have already synced to the cloud. You can verify this by opening the cloud app on your PC and confirming the files show as synced (usually a green checkmark). Cloud backup is safer than relying on an external drive alone because you can access your files from any device afterward.

For email, if you use Outlook or another desktop email client, export your mailbox before erasing. Open the program, go to File > Open & Export > Import/Export, and save your mail to a file on the external drive. If you use Gmail or Outlook.com through a web browser, your email is already stored online and will be there when you sign back in.

Use Windows built-in reset to erase your PC

Windows 10 and 11 both include a reset tool that erases your drive without needing external software. Open Settings by pressing the Windows key and typing "Settings," then click the Settings app. Go to System > Recovery (in Windows 11) or Update & Security > Recovery (in Windows 10).

Under "Reset this PC," click the "Reset PC" button. Windows will ask whether you want to "Keep my files" or "Remove everything." Choose "Remove everything" — this is the complete erase. If you choose "Keep my files," Windows only removes your programs and settings but leaves your documents behind, which defeats the purpose if you're trying to clean the drive entirely.

Next, Windows asks whether to reinstall from the cloud or use local files. "Cloud read" downloads a fresh copy of Windows from Microsoft's servers, which takes longer but gives you the newest version. "Local reinstall" uses files already on your PC, which is faster but may reinstall an older version. For most people, cloud read is the safer choice.

What happens during the erase process

After you confirm, Windows begins erasing. Your PC will restart several times — this is normal and expected. The screen will show a progress bar and may appear to be stuck for several minutes at a time. Do not turn off the computer or unplug it during this process, even if it seems frozen. The erase can take 30 minutes on a fast solid-state drive (SSD) or up to two hours on an older hard disk drive (HDD).

During the erase, Windows removes all files from the drive sector by sector and then reinstalls a fresh copy of the operating system. If your PC has a mechanical hard drive rather than an SSD, the process is slower because the drive has to physically move a read head across the spinning disk. If you're erasing because you're selling the computer, the complete erase ensures the new owner cannot recover your old files.

Once the erase finishes, your PC will boot into Windows setup. You'll see a screen asking you to choose your language, region, and keyboard layout. Follow the prompts to set up Windows as if it were brand new.

Set up Windows after the erase

After the erase completes, Windows setup will ask you to sign in with a Microsoft account or create a local account. If you have a Microsoft account (the email you use for Outlook, OneDrive, or Xbox), sign in with that — it will restore your OneDrive files and some settings automatically. If you don't have one, you can create one during setup or skip it and create a local account instead.

Windows will then check for updates and install them. This can take 15 to 30 minutes depending on how many updates are available. Let this finish completely before you do anything else — restarting during updates can cause problems.

Once updates finish, you'll have a clean Windows desktop. Now you need to reinstall your programs. Go to the Microsoft Store or the websites where you downloaded your software originally, and install each program one by one. If you had Microsoft Office, Adobe Creative Suite, or other paid software, you'll need your license keys or login credentials to reinstall them.

Reinstall your programs and restore your files

Start with the programs you use most often. For Microsoft Office, sign into your Microsoft account and Office will install automatically if you have a subscription. For other software, visit the publisher's website, read the installer, and run it. Keep your license keys and passwords nearby — you'll need them for most paid programs.

Once your essential programs are installed, plug in your external backup drive and copy your files back to your Documents, Pictures, and other folders. If you backed up to cloud storage, sign into your cloud account and let the files sync back down to your PC. This can take a while if you have a lot of files.

Finally, sign into your email, social media, and other online accounts. Your passwords are not stored on your PC after an erase, so you'll need to enter them again. If you use a password manager like Bitwarden or 1Password, sign into that first so you can copy your passwords from it.

When to erase instead of just resetting

A complete erase is more thorough than a standard reset, but it also takes longer and requires more setup afterward. If your PC is just slow or has a few programs you don't use, a standard reset (keeping your files) might be enough. If you're selling the computer, giving it away, or trying to remove malware that antivirus software missed, a complete erase is the right choice.

If you're erasing because of malware, make sure you've already disconnected the PC from the internet before you start. Some malware can reinfect your system during the erase if it's still connected. After the erase is complete, you can reconnect to the internet safely because the malware has been removed.

For most people, the Windows built-in reset tool is all you need. You don't need third-party software or command-line tools unless you're trying to do something specialized, like securely erase a drive so that data recovery is impossible even with specialized tools. For a standard erase, the built-in tool is faster and simpler.

Frequently Asked Questions

Can I undo an erase after I've started it?

No. Once the erase begins, you cannot stop it without corrupting Windows. If you realize you forgot to back something up, let the erase finish, then use data recovery software on the erased drive afterward. Recovery software can sometimes retrieve files from an erased drive, though success is not may provide.

Do I need the Windows installation disc to erase my PC?

No. The built-in reset tool downloads Windows from the internet, so you don't need a disc or USB drive. You do need an internet connection during the erase. If your internet is unreliable, use the "Local reinstall" option instead, which uses files already on your PC.

Will erasing remove viruses and malware?

Yes. A complete erase removes everything on the drive, including malware. However, if the malware is on an external drive or USB stick you're using, it can reinfect your PC after the erase. Make sure to scan any external drives with antivirus software before you reconnect them.

How long does it take to erase a PC?

The erase itself takes 30 minutes to two hours depending on your drive size and speed. Setting up Windows afterward, installing updates, and reinstalling your programs takes another two to four hours. Plan for a full afternoon or evening if you're doing this yourself.

What if my PC won't boot into Windows to start the erase?

If Windows won't start, you can erase from the Windows recovery environment. Restart your PC and press F11 (or F12 on some computers) repeatedly as it boots. This opens the recovery menu, where you can choose "Reset this PC" without needing Windows to load fully.