

Reagentc /setreimage /path N:\Recovery\WindowsRE

Register the location of the recovery tools:.N) that will become the new recovery partition:ĭism /Apply-Image /ImageFile:C:\recovery-partition.wim /Index:1 /ApplyDir:N:\

Apply the created image file to another partition(eg.Create an image file from current recovery partition:ĭism /Capture-Image /ImageFile:C:\recovery-partition.wim /CaptureDir:O:\ /Name:"Recovery".Use diskpart to find current recovery partition and assign a driver letter(eg.Warning 2: Check disk numbers, partition numbers and volume letters carefully before executing commands. Check the link above and MS's documentation for diskpart, dism and reagentc. Warning 1: You must know what the following commands do before you execute them. I have made it to work on my windows 10 PC. According to MS's documentation, capture-and-apply-windows-system-and-recovery-partitions, the recovery partition can be captured and applied to a new partition.
