Skip to content

Windows Server 2022 - Delete Recovery Partition


Likelihood of occurrence: Common

Cause of error: There is a recovery partition in our 2022 Image that needs to be deleted before you can expand the drive.

DANGER

PLEASE TAKE A SNAPSHOT OF THE VM BEFORE DOING THIS

Fix for issue:

Open CMD and run as Administrator

1

shell
DISKPART
2

shell
LIST DISK

WARNING

Ensure you do this step to ensure you're selecting the right Disk abd Partition

3

shell
SELECT DISK 0
4

shell
LIST PARTITION
5

shell
SELECT PARTITION 3

DANGER

AGAIN, please remember to take a snapshot - if you don't and this fix doesn't work - you will NEED to reimport the image - wasting many hours.

6

shell
DELETE PARTITION OVERRIDE