Windows: Disable Windows recovery environment to delete recovery partition

Hi,

if you want to delete the recovery partition, for example due to expand the C: drive you have to disable the recovery environment first. Disable means the Menu entry from the Bootmenu is removed.

Check if it is enabled

D:\> reagentc /info
Windows Recovery Environment (Windows RE) and system reset configuration
Information:

    Windows RE status:         Enabled

Disable the recovery environment

D:\> reagentc /disable

Determine disk which contains the recvorey partition

DiskManagement Recovery Partition
DiskManagement Recovery Partition

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online           60 GB  1024 KB        *
DISKPART> select disk 0

Disk 0 is now the selected disk.

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    System             100 MB  1024 KB
  Partition 2    Reserved            16 MB   101 MB
  Partition 3    Primary             59 GB   117 MB
  Partition 4    Recovery           508 MB    59 GB

The recovery partition is 4. Force delete the recovery partition

DISKPART> select partition 4

Partition 4 is now the selected partition.

DISKPART>  delete partition override 

Michael

One thought on “Windows: Disable Windows recovery environment to delete recovery partition”

Leave a Reply