This guide was written for a step-by-step help to transfer a Windows 10 Home Single Language installation on a 1TB HDD to a 960GB NVMe drive.
reagentc.exe /setreimage /path R:\Recovery\WindowsRE /target C:\Windows reagentc.exe /enable
Note that the destionation path is mandatory, and must be \Recovery\WindowsRE.
reagentc.exe /info
dism /capture-image /imagefile:X:\install.wim /capturedir:C:\ /name:"Recovery" /compress:maximum
and save the image to an external drive X.
bcdedit /create {ramdiskoptions} /d "Ramdisk" bcdedit /set {ramdiskoptions} ramdisksdidevice partition=F: bcdedit /set {ramdiskoptions} ramdisksdipath \boot\boot.sdi for /f "tokens=2 delims={}" %%i in ('bcdedit.exe /create /d "Recovery" /application OSLOADER') do (set guid={%%i}) bcdedit /set %guid% device ramdisk=[F:]\sources\boot.wim,{ramdiskoptions} bcdedit /set %guid% path \windows\system32\winload.efi bcdedit /set %guid% osdevice ramdisk=[F:]\sources\boot.wim,{ramdiskoptions} bcdedit /set %guid% systemroot \windows bcdedit /set %guid% winpe yes bcdedit /set %guid% detecthal yes bcdedit /displayorder %guid% /addlast