Monday, May 26, 2025

Windows: Remove recovery partition from disk

Sometimes such a partition prevents you from expanding the system disk with Windows OS in a virtual environment. To remove it, run the console with elevated privileges and run:

1. First, disable the recovery environment:
reagentc /disable

2. Then run:
diskpart
list volume


Pay attention to the volume number for the recovery partition, remember it.

3. Delete the partition:
select volume N
delete volume override
exit


where N - the number of your recovery partition.

As a result of these actions, the recovery partition will be deleted and the space it occupied will be freed up.

No comments:

Post a Comment