How To Erase Recovery Partition | DiskPart Method

Deleting a Windows recovery partition requires the DiskPart utility with the override parameter — the standard Disk Management GUI cannot remove protected system partitions.

Most people discover the hidden recovery partition only when a disk map or cleanup tool reveals it: 500MB to 1GB of space reserved for restoring Windows to factory settings. Trying to delete it from Disk Management usually hits a grayed-out button or a missing “Delete Volume” option.

This article covers exactly how to erase recovery partition content using the DiskPart command, what happens afterward, and the one precaution you must take before touching anything.

Before You Delete — Make A Recovery Drive First

Deleting the recovery partition removes your PC’s built-in ability to reset Windows or restore factory settings without external media. If something goes wrong later — a corrupt update, a failing drive, or a bad configuration — you’ll need that USB drive.

Open the Start menu, search for Recovery Drive, and launch the tool. Check Back up system files to the recovery drive, connect an empty 8GB or larger USB drive, and click Create. The process takes about 10–15 minutes and gives you a fallback that no command-line shortcut can replace.

How To Erase The Recovery Partition With DiskPart

DiskPart with the override flag is the only method that reliably deletes a protected recovery partition on Windows 10 (version 2004 and later) and all versions of Windows 11. The GUI cannot do this.

  1. Press Win + S, type cmd, right-click Command Prompt, and select Run as administrator. (Pressing Win + X and choosing Windows Terminal (Admin) also works.)
  2. Type diskpart and press Enter.
  3. Type list disk and note your system drive (usually Disk 0). Then type select disk 0 (replace 0 with your actual disk number).
  4. Type list partition and find the partition labeled Recovery, typically 500MB to 1024MB in size.
  5. Type select partition X where X is the partition number of the recovery partition.
  6. Type delete partition override and press Enter. Do not type delete partition alone — omitting override triggers a “Permission Denied” error every time.
  7. Type exit to close DiskPart, then restart your computer. Windows may automatically create a new recovery partition during boot.

Microsoft’s official documentation confirms the delete partition override syntax is required for protected partitions on GPT disks (standard on modern Windows devices).

What The Recovery Partition Deletion Actually Changes

Deleting the partition trades native recovery ability for disk space. The table below shows what shifts before and after the deletion.

Aspect Before Deletion After Deletion
Factory reset ability Available from Settings (Reset this PC) Requires the USB recovery drive
Disk space used 500MB–1GB occupied Space freed for the C: drive
Windows Update compatibility Recovery partition present as expected Windows may recreate the partition automatically
Reset this PC function Works natively without external media Requires the recovery drive or installation media
Partition protection System-protected, blocked in Disk Management Removed from the disk layout
Reversibility Recovery partition is intact and bootable Requires manual recreation via DiskPart + reagentc
Reboot behavior Normal boot with recovery partition present Windows may create a new ~1GB recovery partition

Can You Use Disk Management Instead?

It is worth checking Disk Management first because the process is faster — but it almost never works on modern Windows installations. Press Win + R, type diskmgmt.msc, and press Enter. Locate the partition labeled Recovery or OEM Partition, right-click it, and select Delete Volume. If the option is grayed out or absent, the partition is protected and you must use DiskPart with override. If deletion succeeds, right-click the C: drive and select Extend Volume to absorb the freed space.

What Happens After You Delete The Recovery Partition?

Two things can happen immediately, and you need to plan for both.

Automatic recreation. Windows 10 and 11 may detect that the recovery partition is missing and create a new one during the next boot cycle. This new partition is roughly 1GB, which may negate the space gain. If this happens and you still want the space gone, you can re-run the DiskPart steps, but the partition may come back again on future updates.

Loss of native recovery. The “Reset this PC” option in Settings will no longer work without insertion of the recovery USB you created earlier. If you skipped the Recovery Drive step, you now have no built-in way to restore Windows to factory state. The only fallback is downloading a Windows ISO from Microsoft and creating bootable media on another PC.

Common Mistakes That Break The Process

Most errors happen in the command sequence. The table below covers the five most frequent ones and how to avoid each.

Mistake Why It Fails The Fix
Using delete partition without override Permission denied — the protection flag blocks deletion Always type delete partition override
Selecting the wrong disk or partition Can corrupt the boot system or delete the wrong volume Double-check the disk number with list disk and confirm partition size/label
Expecting Disk Management to work Recovery partitions are protected on most modern systems Use DiskPart with override — it is the reliable path
Skipping the reboot Freed space may not appear as unallocated until restart Restart immediately after running the override command
No recovery drive before deletion No fallback exists if the system fails or needs a reset Create a recovery USB first — it takes 10 minutes

Using The Freed Disk Space

After the reboot, the space that was occupied by the recovery partition should appear as unallocated on your disk. The easiest way to claim it is through Disk Management: right-click the C: partition, select Extend Volume, and follow the wizard to add the unallocated space to your main drive. If the Extend option is grayed out, the unallocated block is not adjacent to C: — in that case, a third-party partition manager can typically move it into place.

How To Erase Recovery Partition — Steps In Order

Follow this sequence exactly to avoid any risk to your system:

  1. Create a recovery USB drive using the built-in Recovery Drive tool (8GB+ USB required).
  2. Open Command Prompt or Windows Terminal as administrator.
  3. Run diskpart, then list diskselect disk 0list partition.
  4. Select the recovery partition: select partition X.
  5. Delete it: delete partition override.
  6. Exit DiskPart (exit) and restart your PC.
  7. Open Disk Management and extend the C: drive into the freed space.
  8. Store the recovery USB in a safe place — it is now your only native restore option.

That is the entire process. You keep the disk space, and as long as you have that USB drive, you have not lost the ability to recover Windows.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.