Feb 21, 2024

Windows 10 : Create Recovery Partition

Sometimes we just need to fix the Windows Recovery Partition or just wanted to increase that partition size so that Windows Update able to run without any error.

The recommended Recovery Partition size by Microsoft is at least 1GB.

There are 2 scenarios here :-

1. The Recovery Partition is NOT available in the HDD/SSD.

2. The Recovery Partition is available but the size is too small (eg. less than 1GB).


METHOD 1 (No Recovery Partition).

1. Open --> Computer Management.

2. Goto --> Disk Management.

3. Right-Click on [C:] drive, select --> Shrink Volume.

4. Decrease the [C:] drive volume, enough to have a balance of 1GB (or 1000 MB).

5. Once the [C:] drive volume have shrinked successfully, you will now see an empty volume available.

6. Create the a new partition on the empty volume, FORMAT it but do not assign any drive letter yet.

6. Now, open --> CMD (as admin).

7. Run --> Diskpart utility and set the correct configurations for Recover Partition to work.

C:\>diskpart

8. List all available drive and select the correct drive.

DISKPART>list disk

DISKPART>select disk 0

9. Next, is to display all the available partition in that drive and select the new partition. Assuming that the new partition is numbered 4.

DISKPART>list partition

DISKPART>select partition 4

10. Now we need to configure the partition, depending on your drive's configuration it may either be MBR or GPT type. Choose the correct command based on your drive's configuration.

MBR
DISKPART>set id=27

GPT
DISKPART>set id=06d1-4d40-a16a-bfd50179d6ac

DISKPART>gpt attributtes=0X8000000000000001

11. Once done, just exit the Diskpart utility.

12. Now we need to enable and create the recovery partition. This make take a while to complete.

C:\>reagentc /enable

13. Once completed, you should now be able to view the new partition have been identified as "Recovery Partition" in the Disk Management panel.


METHOD 2 (Exiting Recovery Partition).

1. If there is an existing Recovery Partition in the drive, we need to first disable it. Open --> CMD (as admin).

C:\>reagentc /disable

2. Next is to run Diskpart utility.

C:\>diskpart

3. List all available drive and select the correct drive.

DISKPART>list disk

DISKPART>select disk 0

4. Next, is to display all the available partition in that drive and select the new partition. Assuming that the existing Recovery Partition is numbered 4.

DISKPART>list partition

DISKPART>select partition 4

5. As the Recovery Partition cannot be deleted, we need to force delete the partition.

DISKPART>delete partition override

6. Open --> Computer Management.

7. Goto --> Disk Management.

8. Right-Click on [C:] drive, select --> Shrink Volume.

9. Decrease the [C:] drive volume, enough to have a balance of 1GB (or 1000 MB) on the empty volume.

10. Once the [C:] drive volume have shrinked successfully, you will now see an empty volume available.

11. Create the a new partition based on the empty volume, FORMAT it but do not assign any drive letter yet.

12. Back to the command prompt and while still in Diskpart utility, we need to ensure the correct partition is selected.

DISKPART>select partition 4

13. Now we need to configure the partition, depending on your drive's configuration it may either be MBR or GPT type. Choose the correct command based on your drive's configuration.

MBR
DISKPART>set id=27

GPT
DISKPART>set id=06d1-4d40-a16a-bfd50179d6ac

DISKPART>gpt attributtes=0X8000000000000001

14. Once done, just exit Diskpart utility and next is to re-enable back the Recovery Partition. This may take a while to complete.

C:\>reagentc /enable

15. Once completed, you should now have a larger Recovery Partition size in the Disk Management panel.



!!! HAPPY COMPUTING !!!


No comments:

Post a Comment