Windows Recovery Partition

From Leo's Notes
Last edited on 30 December 2021, at 01:52.

Windows 10 will set up a recovery partition which is used when in booting in the Windows Recovery Environment (WinRE). When imaging your OS disk to another one, this recovery partition may prevent the main OS partition from expanding without first deleting this partition.

Delete the Windows recovery partition[edit | edit source]

Open command prompt as an administrator, then follow the following:


Microsoft DiskPart version 10.0.19041.610

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-3DO6UEH

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          931 GB      0 B
  Disk 1    Online          476 GB   365 GB
  Disk 2    Online          931 GB      0 B

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Primary            549 MB  1024 KB
  Partition 2    Primary            110 GB   550 MB
  Partition 3    Recovery           527 MB   111 GB

DISKPART> select partition 3

Partition 3 is now the selected partition.

DISKPART> delete partition

Virtual Disk Service error:
Cannot delete a protected partition without the force protected parameter set.

DISKPART> delete partition override

DiskPart successfully deleted the selected partition.


Leaving DiskPart...