How to Wipe a PC With or Without Windows OS (Hard Drive & SSD Included)

Elowen Wilson
2026-08-17
Home > Resources > Data Wipe > How to Wipe a PC With or Without Windows OS (Hard Drive & SSD Included)

TL;DR:

To wipe a PC with Windows OS booting normally, execute the built-in Windows Reset ("Remove everything" + "Clean data"), run command-line tools like diskpart clean all, or use a reliable GUI utility like iReaShare Data Wipe to overwrite drive sectors using multi-pass military algorithms (DoD 5220.22-M / Gutmann) without misidentifying drive letters.

To wipe a PC without Windows OS (unbootable, crashed, or blank system), access the motherboard's BIOS/UEFI NVMe Secure Erase feature, boot into a Linux Live USB to run low-level terminal commands, or extract the internal drive and connect it externally to a working PC via USB adapter for sanitization.

how to wipe pc with or without os windows

Part 1. Understand Storage Sanitization: SSD vs. HDD Erasure Principles

Sanitizing a computer drive permanently requires applying the correct overwriting technology based on your storage physical hardware type:

  • Magnetic Hard Disk Drives (HDDs): Store data across spinning magnetic platters. You can permanently destroy data on Windows PC by overwriting physical sectors with binary zeros, ones, or random bit sequences using algorithms like DoD 5220.22-M or Gutmann.

  • Flash-Based Solid State Drives (SSDs): Utilize NAND flash memory controlled by wear-leveling controllers. Standard software sector overwriting might skip reserved blocks in over-provisioning areas. True SSD sanitization requires firing controller-level ATA Secure Erase or NVMe Sanitize commands to flush electrical voltage across all physical NAND cells.

Part 2. Prepare Your Computer Before Wiping: Pre-Sanitization Checklist

Perform these necessary steps prior to initiating a drive erase to avoid accidental lockouts or losing vital software access:

  • Back Up Essential Data: Copy critical documents, family photos, and browser data to an external flash drive or cloud storage platform.

  • Export Product Licenses: Save activation serial keys for Windows OS, Microsoft Office, and installed premium software.

  • Deauthorize Personal Accounts: Log out of Microsoft, iTunes, Steam, Adobe Creative Cloud, and active password managers.

  • Turn Off BitLocker Encryption: Open Command Prompt as Administrator and enter manage-bde -off C: to decrypt drive volumes before running low-level wipers.

  • Clear TPM Keys in BIOS: If selling the PC hardware along with the motherboard, clear the Trusted Platform Module (TPM) security keys in the UEFI menu.

Part 3. Wipe a PC WITH Windows OS Installed (3 Working Methods)

If your Windows 11 or Windows 10 computer powers on and boots to the desktop, you can use native built-in Windows features or dedicated Windows disk utilities to erase local drives.

Method 1: Reset Windows PC and Clean Drive Data Completely

Windows includes an internal recovery wizard that reinstalls the operating system while purging user files from local drives.

  1. Press Win + I to open the Settings app.

  2. Navigate to System > Recovery (Windows 11) or Update & Security > Recovery (Windows 10).

  3. Click Reset PC (or Get Started).

  4. Select Remove everything to erase user files and applications.

  5. Choose Local reinstall or Cloud download.

  6. Click Change settings, toggle Clean data? to Yes, and click Confirm.

  7. Click Reset to start the automated wiping and reinstall process.

Note: Enabling "Clean data" executes a single zero-fill pass on the system drive. It does not perform multi-pass overwriting on secondary attached hard drives.

delete everything including windows 10/11 os on pc with factory reset

Method 2: Wipe Hard Drive via Windows Command Line (Diskpart & Cipher)

Advanced users can execute low-level sector overwriting without installing third-party utilities by using native command prompt utilities.

Erase Physical Disks using Diskpart Clean All:

launch cmd on windows pc

  1. Press Win + X and select Terminal (Admin) or Command Prompt (Admin).

  2. Type diskpart and press Enter.

  3. Type list disk to display all attached physical storage drives.

  4. Type select disk X (replace X with your actual drive index number).

  5. Type clean all and hit Enter. This command writes binary zeros across every logical sector on the selected drive. See more details >>

use diskpart command to delete everything on pc except windows os

Overwrite Unallocated Free Space using Cipher Command:

To sanitize deleted file traces on an active volume without removing your current OS files, open Admin CMD and run:

cipher /w:C:

This writes 0x00, 0xFF, and random numbers across all unallocated clusters on drive C:.

Method 3: Overwrite Drive Sectors Safely via iReaShare Data Wipe Software

Executing CLI tools like diskpart clean all risks selecting the wrong disk index, which can accidentally erase system partitions. Furthermore, native Windows tools lack custom compliance options for multi-pass sanitization standards.

For a visually safe and flexible GUI experience, using specialized disk sanitization software provides clear drive labeling alongside certified erasure algorithms. iReaShare Data Wipe is a dedicated Windows utility engineered to wipe internal HDDs, SSDs, external hard drives, USB flash drives, and SD cards permanently.

Explore Key Capabilities of iReaShare Data Wipe:

  • Select Multiple Overwriting Standards: Provides customizable data wiping modes ranging from Quick Overwrite (1 pass) to recognized military algorithms such as DoD 5220.22-M (3/7 passes) and Gutmann (35 passes).

  • Target Specific Disks or Partitions: Enables users to wipe an entire disk drive, wipe specific secondary non-system partitions, or sanitize unallocated free space without damaging the current operating system.

  • Visual Drive Selection: Displays volume labels, capacity, file formats, and connection bus types to eliminate disk index confusion.

  • Destroy Data Irrecoverably: Overwrites master boot records (MBR/GPT), index tables, and raw sectors to render data 100% unrecoverable by forensic tools.

Follow Steps to Wipe a Hard Drive with iReaShare Data Wipe:

Step 1: Download and install iReaShare Data Wipe on your Windows computer.

Download for Win

Step 2: Launch the program and select your preferred module (e.g., File Shredder, Drive Wiper, or Free Space Wiper).

launch data wipe and select module

Step 3: Select the target disk drive or partition from the visual list. Choose your desired security wiping standard (e.g.,Quick Erase or Deep Erase).

choose drive wiper

Step 4: Click Erase Now to initiate permanent sector destruction.

erase hard drive with os installed

Video Guide: Watch the video to erase hard drive with iReaShare Data Wipe.

Part 4. Wipe a PC WITHOUT Windows OS Installed (Unbootable or Blank System)

If a computer cannot boot into Windows due to a missing OS, crashed system files, or black screen errors, standard Windows software cannot be launched directly. Use these hardware-level or out-of-band sanitization strategies instead.

Method 4: Erase SSD from UEFI/BIOS Setup (NVMe & SATA Secure Erase)

Modern motherboard firmware (ASUS, MSI, Gigabyte, ASRock, Dell, HP, Lenovo) includes built-in SSD erasure tools inside the UEFI BIOS interface.

  1. Power on the PC and repeatedly tap the BIOS hotkey (typically F2, Del, F12, or Esc).

  2. Switch to Advanced Mode (usually F7).

  3. Navigate to the Tool, Security, or Utilities tab.

  4. Select utilities such as ASUS Secure Erase, MSI Secure Erase+, NVMe Sanitization, or HP DriveLock.

  5. Select your target internal SSD from the physical hardware list.

  6. Confirm the action. The motherboard sends a hardware command directly to the drive controller to flush electrical charges across all NAND storage blocks.

Warning: UEFI Secure Erase is designed specifically for flash-based SSD storage, making SSD data unrecoverable. Do not run BIOS Secure Erase on mechanical HDDs.

Method 5: Connect Hard Drive Externally to Another PC to Wipe Data

When an unbootable computer lacks native UEFI Secure Erase tools—or when you need to sanitize mechanical HDDs or corrupted partitions using a Windows GUI tool—connecting the drive to another working PC is the most practical approach.

  1. Power off the unbootable PC, unplug the power cable, and open the computer case.

  2. Remove the internal 2.5-inch SATA drive, 3.5-inch desktop HDD, or M.2 NVMe SSD.

  3. Insert the drive into a compatible USB hard drive enclosure, docking station, or M.2 NVMe-to-USB adapter.

  4. Plug the USB enclosure into a secondary functional Windows PC.

  5. Open iReaShare Data Wipe on the working PC.

  6. Select the connected external drive, pick your target security algorithm (such as DoD 5220.22-M), and execute the full disk wipe safely.

  7. Safely disconnect the sanitized drive once the process completes.

Method 6: Sanitize Storage Drives using Linux Live USB (dd & nvme-cli)

System administrators can boot an unbootable PC using a bootable Linux Live USB (such as Ubuntu or GParted Live) to execute command-line drive sanitization tools without needing Windows.

Overwrite HDDs using the dd Command:

  1. Boot the PC into the Linux Live environment.
  2. Open the Terminal and run lsblk to identify your target drive path (e.g., /dev/sdb).
  3. Run zero-fill sector overwriting by entering:
sudo dd if=/dev/zero of=/dev/sdX bs=1M status=progress

(Replace /dev/sdX with your actual target drive name. Verify the target carefully to avoid wiping the live USB stick).

Sanitize NVMe SSDs using nvme-cli Tools:

  1. In the Linux terminal, install the package: sudo apt install nvme-cli.
  2. List connected NVMe drives: sudo nvme list.
  3. Send a hardware sanitize command:
sudo nvme sanitize /dev/nvme0n1 -a 0x02

The action parameter 0x02 performs a hardware-level Block Erase across all NVMe NAND blocks.

destroy ssd physically

Part 5. Compare PC Wiping Methods and Security Standards

Review the comparative matrix below to choose the right sanitization method based on your OS status and hardware type:

Sanitization Method OS Status Needed Drive Compatibility Erasure Mechanism Risk of Accidental Data Loss
Windows Reset Bootable OS Required Internal HDD / SSD Single-pass logical zero fill Low
Diskpart Clean All Bootable OS / WinRE HDD / SSD / USB Sector-by-sector zero overwrite High (Drive letter mismatch)
iReaShare Data Wipe Bootable OS (Direct) / Unbootable (via Enclosure) HDD / SSD / USB / SD Cards Multi-pass overwriting (DoD 5220.22-M / Gutmann / NIST) Low (Visual drive confirmation)
UEFI BIOS Secure Erase No OS Required SATA / NVMe SSDs Only Hardware ATA/NVMe voltage flush Low
Linux Live USB (dd / nvme-cli) No OS Required HDD / SSD Terminal sector block zeroing / NVMe Sanitize High (Command-line risk)
 

Part 6. Troubleshoot Common PC Wiping Errors and Failures

1. Fix "There was a problem resetting your PC. No changes were made"

Cause: Corrupted Windows Recovery Environment (WinRE) binary files or missing local recovery images.

Solution: Launch Command Prompt as Administrator and run reagentc /enable. If system recovery fails completely, remove the internal hard drive, mount it into a USB enclosure, connect it to another PC, and wipe it using iReaShare Data Wipe or diskpart.

2. Unlock SATA SSD when Security State Shows "Frozen" in BIOS

Cause: System motherboard firmware locks SATA drive security states during bootup to prevent unauthorized password modifications.

Solution: Power cycle the hardware. While keeping the PC powered on in the BIOS screen, carefully disconnect the SATA power cable from the back of the SSD, wait 5 seconds, and reconnect it. Refresh the BIOS screen to unfreeze the Secure Erase feature.

3. Resolve Diskpart "Access is Denied" or Read-Only Errors

Cause: Drive volumes are locked by BitLocker encryption flags or write-protection attributes.

Solution: Inside Diskpart, type attributes disk clear readonly and press Enter. If partitions remain locked, run clean before attempting clean all, or use a dedicated GUI wiping tool to clean raw sectors directly.

Part 7. Review Frequently Asked Questions (FAQs About PC Wiping)

Q1: Does wiping a PC delete the Windows Operating System permanently?

Answer: It depends on the wiping method selected. Using Windows Reset reinstalls a clean copy of Windows OS while removing user files. However, running diskpart clean all, performing UEFI BIOS Secure Erase, or using tools like iReaShare Data Wipe on the primary drive erases all system structures, leaving the hard drive blank without an OS.

Q2: Is a standard Quick Format sufficient before selling a used laptop?

Answer: No. A Quick Format only clears the master file table (MFT) index without destroying physical data blocks. File recovery software can easily retrieve private documents from a quick-formatted drive. A complete sector-level overwrite is mandatory before selling your PC.

Q3: Are multi-pass algorithms like Gutmann (35 passes) necessary for SSDs?

Answer: No. Multi-pass algorithms were developed for older magnetic HDDs. Applying 35 overwriting passes to a modern SSD provides no extra security and causes excessive NAND flash write wear. A single NIST SP 800-88 pass or an NVMe Sanitize command is fully sufficient for flash memory.

Q4: How do I wipe a laptop with a broken or dead display screen?

Answer: Plug an external monitor into the laptop via HDMI or DisplayPort, power on the system, and press Win + P to mirror your screen. Alternatively, extract the storage drive and connect it externally to another PC to sanitize it using iReaShare Data Wipe. See more about how to wipe a hard drive on a dead computer here.

Final Thoughts on Secure Data Sanitization

Wiping your computer completely is a critical security measure before selling, recycling, or donating PC hardware.

If your Windows OS boots normally, native options like Windows Reset or Command Prompt provide basic wiping capabilities, while dedicated tools like iReaShare Data Wipe deliver visual drive mapping and customizable military algorithms (DoD/Gutmann) without risk of drive index errors.

For unbootable PCs without an operating system, using motherboard UEFI NVMe Secure Erase or connecting the hard drive externally to another PC guarantees complete, irrecoverable data destruction.

Related Articles:

How to Delete Everything Except Windows 10 OS on PC (Useful Tips)

How to Easily Reset a Hard Drive in Windows 11/10 [Step by Step]

How to Wipe a Thumb Drive Without Effort? (3 Solutions)

How to Format Hard Drive on Windows 11/10 PC Effectively

Elowen Wilson Senior Editor
Elowen has been specializing in iOS devices and data transfer for over three years. She is very familiar with all generations of iPhones and iPads, so she is able to provide readers with all kinds of useful guides and tips about iOS backup, data recovery, unlocking, system repair, etc.