Moving Windows Recovery Partition
Open Command Prompt as Admin
reagentc /disableThis command disables the recovery partition and moves it into a file named Winre.wim, located in C:\Windows\System32\Recovery.
With Command Prompt still open, perform the following actions:
diskpartlist diskselect disk ##list partitionselect partition ##You are selecting the Recovery Partition at this point. We are going to delete it and then recreate it at the end of the disk space.
delete partition overrideOpen Disk Management and check out the disk. The Recovery Partition should be gone. To put the recovery partition back, we will need to expand the disk size, but leave 1024MB of space. So, take the remaining space in the Extend Volume Wizard, subtract 1024, and use that product as the expanded volume size.
On the 1024MB (1GB) unallocated space at the end of the disk, create a New Simple Volume with the following settings:
Do not assign drive letter
Volume Label: New Recovery
Click Next and finish the new volume setup. Then, return to your elevated Command Prompt and DiskPart to finish adding the recovery partition back using the following commands:
list partition
select partition ##For GPT disks, we need to set the identifier so enter the following command exactly as you see it:
set id=de94bba4-06d1-4d40-a16a-bfd50179d6acWe then need to hide the drive, so again, enter the following command exactly:
gpt attributes=0x8000000000000001Note: there are 14 zeros in the number above, if you are unable to copy/paste into a terminal window
Keeping the Command Prompt window open, type the following to Exit DiskPart
exitIMPORTANT: Re-enable the Windows Recovery Partition using the following command:
reagentc /enableLast updated
Was this helpful?