1.      Open a Command Prompt window ( cmd ) as admin.

2.      To check the WinRE status, run  reagentc /info . If the WinRE is installed, there should be a Windows RE location with a path to the WinRE directory. An example is, Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE. Here, the number after harddisk and partition is the index of the disk and partition WinRE is on.

3.      To disable the WinRE, run  reagentc /disable

4.      Shrink the OS partition and prepare the disk for a new recovery partition.

a.      Start the disk partition utility, with  diskpart

b.     Run  list disk

c.      To select the OS disk, run  sel disk <OS disk index>   This should be the same disk index as WinRE.

d.     To check the partition under the OS disk and find the OS partition, run  list part

e.      To select the OS partition, run  sel part <OS partition index>

f.       Run  shrink desired=250 minimum=250

g.     To select the WinRE partition, run  sel part <WinRE partition index>

h.     To delete the WinRE partition, run  delete partition override

5.      Create a new recovery partition.

First, check if the disk partition style is a GUID Partition Table (GPT) or a Master Boot Record (MBR).  To do that, run  list disk . Check if there is an asterisk character (*) in the Gpt column.  If there is an asterisk character (*), then the drive is GPT. Otherwise, the drive is MBR.

                                               i.         If your disk is GPT, run  create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac  followed by the command  gpt attributes =0x8000000000000001

                                              ii.         If your disk is MBR, run  create partition primary id=27 6.      To format the partition, run  format quick fs=ntfs label="Windows RE tools"

7.      To confirm that the WinRE partition is created, run  list vol

8.      Assign a drive letter to the partition assign letter=e

9.      Copy the WinRE files to the new partition

10.   Separately open another cmd as administrator and type reagentc /setreimage /path E:\Recovery\WindowsRE
or try this without adding the drive letter: reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE

11.   Back to the diskpart window, remove the drive letter with remove letter=e

12.   Exit from diskpart with  exit

13.   To re-enable WinRE, run  reagentc /enable

14.   To confirm where WinRE is installed, run  reagentc /info