修復 Windows 11 系統 (保留 Windows 10 啟動修復模式選單)
How to Fix Windows 11 Restore the Original Repair function?
[ 前提摘要 ]
在進入到 Windows 11 系統時 會發現「修復模式」消失的選單
取代保留 Windows 10 原始修復選單 「四項功能」
(啟動修復 卸載更新 命令提示字元 系統還原)
[ 進入 Windows 修復模式 ]
按住 Shift (持續按著)
點選 開始
點選 重新啟動
點選 疑難解答
點選 進階選項 (高級選項)
[ Ps. 會發現只有 啟動設定 (啟動設置) 和 UEFI 固件設置 (兩個選項) ]


[ 複製 Windows 10 系統 ] (請先至 Windows 10 21H2)
開啟 資料夾路徑
C:\Windows\System32\Recovery
取出 兩個檔案
ReAgent.XML
Winre.wim
[ 貼上 Windows 11 系統 ] (複製至 Windows 11)
開啟 資料夾路徑
C:\Windows\System32\Recovery
取代 兩個檔案
ReAgent.XML
Winre.wim

開啟 命令提示字元 (以系統管理員身分執行)
輸入 reagentc /setreimage /path C:\Windows\System32\Recovery\Winre.wim
輸入 reagentc /enable
輸入 reagentc /info
[ Ps.確認 Windows RE 狀態 Enabled ]

點選 疑難解答
點選 進階選項 (高級選項)

[ 恢復 原始修復功能 ]
啟動修復
解除安裝更新 (卸載更新)
命令提示字元 (命令提示符)
系統還原

[ REAgentC 指令集說明 ]
設定 Windows RE 開機映射的位置
在 Windows 10、Windows 8.1、Windows 8、Windows Server 2016 Technical Preview、Windows Server 2012 R2 和 Windows Server 2012 中 /path 可支援本機磁片上位置的 UNC 路徑
REAgentC /setreimage/path< path_to_Windows_RE_image > [/target< path_to_offline_image > ]
您可以使用 REAgentC.exe 工具來設定 Windows 修復環境 (Windows RE)
開機映射 和 重設修復映射 以及 管理修復選項
https://docs.microsoft.com/zh-tw/windows-hardware/manufacture/desktop/reagentc-command-line-options