Creating Recovery Partition on Drive

Created by Michael Lister, Modified on Thu, 9 Jan at 8:52 AM by Michael Lister

How to create a recovery partition on the device's own hard drive (Windows 10)



Setting aside partition on till's drive:


1. Open Disk Management on the till


2. Table of partitions for each disk will be displayed along the bottom of the screen

Right click a partition you can shrink, this will be the right most partition on the disk

Ideally this will be the C partition, DO NOT shrink any system partitions


Select Shrink Volume...


3. Shrink the volume by 1024 MB (1GB)


4. A new partition will display called Unallocated

Right click this and select New Simple Volume...


5. Assign a letter to the partition (e.g. E)


6. Ensure File System for the partition is NTFS


7. Name the Partition (e.g System Recovery)



You now have a partition put aside to set as recovery



Setting up partition to be seen as a valid recovery destination:


We need to apply a couple of settings to this new partition in order for Windows to see it as a valid destination for the recovery environment


The steps we perform change slightly depending if the till is set on a MBR or GPT system, see steps below on how to check:


Checking partition style setup


1. Within Disk Management on the till, right click the disk listed beside the partitions


2. Select Properties


3. Select the Volumes tab


4. This will be either GPT or MBR, keep note of what this is



Setting up partition as recovery


1. Open elevated CMD (run as admin)


2. Open diskpart


diskpart


3. Select the appropriate disk
Most devices this will be disk 0 but always ensure to check before hand by:


list disk


4. Select the disk number where the partition exists


select disk X

5. List the partitions to find the partition number


list partition


6. Select the partition


select partition X


7. Change ID of the partition for Windows to see as a valid recovery partition


This changes depending if the drive is MBR or GPT


MBR:


set id=27


GPT:


set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac


gpt attributes=0x8000000000000001



Enabling recovery environment


1. Open elevated CMD (run as admin)


2. Disable any current recovery environment (even if you know the device does not have one currently set)


reagentc /disable

3. Re-enable recovery environment
This can take some time, wait for it to state the operation as successful


reagentc /enable

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article