attrib -r -s -h C:\Recovery\WindowsRE\boot.sdi attrib -r -s -h C:\Recovery\WindowsRE\Winre.wim md D:\Recovery\WindowsRE copy C:\Recovery\WindowsRE\boot.sdi D:\Recovery\WindowsRE copy C:\Recovery\WindowsRE\Winre.wim D:\Recovery\WindowsRE reagentc /disable copy G:\sources\install.wim D:\Recovery\WindowsRE reagentc /setreimage /path D:\Recovery\WindowsRE reagentc /setosimage /path D:\Recovery\WindowsRE /index 3 reagentc /enable
配置 Windows 恢复环境(Windows RE)和系统初始化。
REAGENTC.EXE
可以指定以下命令:
/info - 显示 Windows RE 和系统初始化配置信息。 /setreimage - 设置自定义 Windows RE 映像的位置。 /enable - 启用 Windows RE。 /disable - 禁用 Windows RE。 /boottore - 将系统配置为在下次系统启动时启动 Windows RE。 /setosimage - 设置系统初始化所用的恢复映像的位置。 /setbootshelllink - 在启动菜单的“初始化和还原”页中添加条目。
有关这些命令及其参数的详细信息,请键入
REAGENTC.EXE /?。
示例:
REAGENTC.EXE /setreimage /?
REAGENTC.EXE /disable /?
备份系统:
recimg /createimage C:\ 得到映像C:\CustomRefresh.wim copy CustomRefresh.wim D:\Recovery\WindowsRE\install.wim reagentc /setreimage /path E:\WIM /index "1" recimg /setcurrent C:\ recimg /createimage C:\可以进行增量备份,只需改变/index