質問: 1048576 2020-03-23 10:40:08, info [reagentc.exe] ----search target partition option #4: try new recovery partition if allowed 2020-03-23 10:40:08, info [reagentc.exe] ----search target partition option #5: try target os partition 2020-03-23 10:40:08, info [reagentc.exe] meetpartitionrequirements partition details: {offset: 576716800, free space: 300220190720, total space: 511531372544} 2020-03-23 10:40:08, info [reagentc.exe] meetpartitionrequirements winre wim size: 443717121 2020-03-23 10:40:08, info [reagentc.exe] meetpartitionrequirements required free space: 52428800 2020-03-23 10:40:08, info [reagentc.exe] found target partition: use target os partition, offset: 576716800 2020-03-23 10:40:08, info [reagentc.exe] exit findtargetpartition returns with status code: 0x0 2020-03-23 10:40:08, info [reagentc.exe] --install on target os step 5: set winre settings and restore system to a good state when hitting any errors 2020-03-23 10:40:08, info [reagentc.exe] enter setwinresettings 2020-03-23 10:40:08, info [reagentc.exe] regloadkey $offline$system failed. error: 0x522. 2020-03-23 10:40:08, info [reagentc.exe] copying winre from c:\windows\system32\recovery to staging location on \\?\globalroot\device\harddisk0\partition2 2020-03-23 10:40:08, info [reagentc.exe] regloadkey $offline$system failed. error: 0x522. 2020-03-23 10:40:08, info [reagentc.exe] copied winre to staging location 2020-03-23 10:40:08, info [reagentc.exe] creating bcd entry 2020-03-23 10:40:08, error [reagentc.exe] bcdgetelementdata failed: 0xc0000225 2020-03-23 10:40:08, info [reagentc.exe] winre created bcd entry: : {00000000-0000-0000-0000-000000000000} 2020-03-23 10:40:08, info [reagentc.exe] moving winre and boot.sdi from staging location to target 2020-03-23 10:40:08, info [reagentc.exe] moved winre and boot.sdi from staging location to target 2020-03-23 10:40:08, info [reagentc.exe] updating reagent.xml 2020-03-23 10:40:08, info [reagentc.exe] set winre location path to: \recovery\windowsre 2020-03-23 10:40:08, info [reagentc.exe] set recovery guid 2020-03-23 10:40:08, info [reagentc.exe] set scheduled operation: winrenooperation 2020-03-23 10:40:08, info [reagentc.exe] set os build version: 17763.1.amd64fre.rs5_release.180914-1434 2020-03-23 10:40:08, info [reagentc.exe] set wimboot state: 0 2020-03-23 10:40:08, info [reagentc.exe] set install state to: enabled 2020-03-23 10:40:08, info [reagentc.exe] setting the recovery sequence for the target os. 2020-03-23 10:40:08, info [reagentc.exe] machine firmware is not efi, nothing to do 2020-03-23 10:40:08, info [reagentc.exe] creating backup of reagent.xml 2020-03-23 10:40:08, info [reagentc.exe] created backup of reagent.xml 2020-03-23 10:40:08, info [reagentc.exe] configuring the winre validation task. 2020-03-23 10:40:08, info [reagentc.exe] failed to clear wim file trusted state: 0x2 2020-03-23 10:40:08, info [reagentc.exe] failed to clear wim file hash: 0x2 2020-03-23 10:40:08, info [reagentc.exe] update enhanced config info is enabled. 2020-03-23 10:40:08, error [reagentc.exe] bcdopenobject(winre) failed: 0xc0000034 2020-03-23 10:40:08, info [reagentc.exe] winregetwinreguid returning 0x2 2020-03-23 10:40:08, info [reagentc.exe] reagentconfig::readbcdandupdateenhancedconfiginfo winre disabled, winre guid could not be determined (0x2) 2020-03-23 10:40:08, info [reagentc.exe] failed to find winre.wim because winre is not installed. 2020-03-23 10:40:08, info [reagentc.exe] winrevalidaterecoverywiminternal took 16 ms. 2020-03-23 10:40:08, warning [reagentc.exe] winrevalidaterecoverywiminternal failed: 0x490 2020-03-23 10:40:08, warning [reagentc.exe] winreconfigurevalidationtask failed: 0x490, a non critical error 2020-03-23 10:40:08, info [reagentc.exe] completed the winre validation task. 2020-03-23 10:40:08, info [reagentc.exe] creating backup of customization file 2020-03-23 10:40:08, warning [reagentc.exe] recovery file not found at c:\windows\system32\recovery\recustomization.xml 2020-03-23 10:40:08, warning [reagentc.exe] winrebackuprecoveryfile (c:\windows\system32\recovery\recustomization.xml, recustomization.xml) failed, err: 2 2020-03-23 10:40:08, info [reagentc.exe] created backup of customization file 2020-03-23 10:40:08, info [reagentc.exe] setwinresettings return with error code 0x0 2020-03-23 10:40:08, info [reagentc.exe] winreinstallontargetosinternal winre installation completed successfully. 2020-03-23 10:40:08, info [reagentc.exe] exit winreinstall return value: 1, last error: 0x0 2020-03-23 10:40:08, info [reagentc.exe] enter winresetconfig 2020-03-23 10:40:08, info [reagentc.exe] parameters: configwindir: null 2020-03-23 10:40:08, info [reagentc.exe] update enhanced config info is enabled. 2020-03-23 10:40:08, error [reagentc.exe] bcdopenobject(winre) failed: 0xc0000034 2020-03-23 10:40:08, info [reagentc.exe] winregetwinreguid returning 0x2 2020-03-23 10:40:08, info [reagentc.exe] reagentconfig::readbcdandupdateenhancedconfiginfo winre disabled, winre guid could not be determined (0x2) 2020-03-23 10:40:08, info [reagentc.exe] winre is not installed, nothing to back up 2020-03-23 10:40:08, info [reagentc.exe] exit winresetconfig return value: 1, last error: 0x0 2020-03-23 10:40:08, info [reagentc.exe] clear non critical error when enabling auto repair 2020-03-23 10:40:08, info [reagentc.exe] ------------------------------------------------------ 2020-03-23 10:40:08, info [reagentc.exe] -----exiting command line: reagentc /enable, error: 0----- 2020-03-23 10:40:08, info [reagentc.exe] ------------------------------------------------------ 2020-03-23 10:42:05, info [reagentc.exe] ------------------------------------------------------ 2020-03-23 10:42:05, info [reagentc.exe] -----executing command line: reagentc /info----- 2020-03-23 10:42:05, info [reagentc.exe] ------------------------------------------------------ 2020-03-23 10:42:05, info [reagentc.exe] enter winregetconfig 2020-03-23 10:42:05, info [reagentc.exe] parameters: configwindir: null 2020-03-23 10:42:05, info [reagentc.exe] winre config file path: c:\windows\system32\recovery\reagent.xml 2020-03-23 10:42:05, info [reagentc.exe] update enhanced config info is enabled. 2020-03-23 10:42:05, error [reagentc.exe] bcdopenobject(winre) failed: 0xc0000034 2020-03-23 10:42:05, info [reagentc.exe] winregetwinreguid returning 0x2 2020-03-23 10:42:05, info [reagentc.exe] reagentconfig::readbcdandupdateenhancedconfiginfo winre disabled, winre guid could not be determined (0x2) 2020-03-23 10:42:05, info [reagentc.exe] system is wimboot: false 2020-03-23 10:42:05, info [reagentc.exe] exit winregetconfig return value: 1, last error: 0x0 2020-03-23 10:42:05, info [reagentc.exe] ------------------------------------------------------ 2020-03-23 10:42:05, info [reagentc.exe] -----exiting command line: reagentc /info, error: 0----- 2020-03-23 10:42:05, info [reagentc.exe] ------------------------------------------------------
回答: 解決策は、windowsブートマネージャーのwindowsブートローダー(windows回復環境やwindows再開アプリケーションではない)で/ osguidオプションを使用することです。reagentc /enable /osguid {guid} しかし、あなたのguidは{current}実行するbcdedit /v /enum allは、guidを提供します。有効にするには問題ありません。