|
本帖最后由 fuyechun 于 2017-10-18 22:36 编辑
这个是用DiskPart来创新恢复分区的:
create partition primary
format quick fs=ntfs label="Recovery image"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
最后在命令提示符里输入:
xcopy /h W:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\
W:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target W:\Windows
W:\Windows\System32\Reagentc /Setosimage /Path R:\RecoveryImage /Target W:\Windows /Index 1
W:\Windows\System32\icacls R:\RecoveryImage /inheritance:r /T
W:\Windows\System32\icacls R:\RecoveryImage /grant:r SYSTEM:(F) /T
W:\Windows\System32\icacls R:\RecoveryImage /grant:r *S-1-5-32-544:(F) /T
W:\Windows\System32\Reagentc /Info /Target W:\Windows
W为系统盘,T为Windows RE tools盘,R为恢复映像盘 |
|