Azure VM的映像檔會定期更新,預設只有簡體中文和英文,有的人會習慣安裝英文版然後再變更語言為繁體中文來使用,但最新的幾個版本安裝繁體語言包時會事變,這個映像檔的問題,查看事件檢視器可以看到CBS的ERROR_FAIL_REBOOT錯誤,error code 0x800F0922
發生問題的當下第一反應就是建立案件請微軟工程師協助,最後確認是映像的問題,解決方式如下:
1. 下載工具PenMoves並解壓縮到本機資料夾
PendMoves and MoveFile – Windows Sysinternals | Microsoft Docs
https://docs.microsoft.com/en-us/sysinternals/downloads/pendmoves
2. 打開CMD (Run as admin)
3. 切換到目錄 C:\Windows\System32\config\TxR
4. 執行 attrib -r -s -h *
5. 切換到PenMoves的目錄
6. 執行以下指令
movefile.exe “C:\Windows\System32\config\TxR\{711988c4-afbd-11e6-80c9-782bcb3928e1}.TxR.0.regtrans-ms” “”
movefile.exe “C:\Windows\System32\config\TxR\{711988c4-afbd-11e6-80c9-782bcb3928e1}.TxR.1.regtrans-ms” “”
movefile.exe “C:\Windows\System32\config\TxR\{711988c4-afbd-11e6-80c9-782bcb3928e1}.TxR.2.regtrans-ms” “”
movefile.exe “C:\Windows\System32\config\TxR\{711988c4-afbd-11e6-80c9-782bcb3928e1}.TxR.blf” “”
movefile.exe “C:\Windows\System32\config\TxR\{711988c5-afbd-11e6-80c9-782bcb3928e1}.TM.blf” “”
movefile.exe “C:\Windows\System32\config\TxR\{711988c5-afbd-11e6-80c9-782bcb3928e1}.TMContainer00000000000000000001.regtrans-ms” “”
movefile.exe “C:\Windows\System32\config\TxR\{711988c5-afbd-11e6-80c9-782bcb3928e1}.TMContainer00000000000000000002.regtrans-ms” “”
7. 您應該會看到以下的訊息
Movefile v1.01 – copies over an in-use file at boot time
Move successfully scheduled.
8. 重開機
9. 重新安裝Language Pack
後來用關鍵字搜尋,網上倒也是有類似的說明
https://www.twblogs.net/a/5dfb16d9bd9eee310da0e012