# 硬碟克隆(Disk Clone)後Windows無法開機0xc0000225錯誤 {%hackmd theme-dark %} ###### tags: `Lucky隨手記` `Windows` ![](https://i.imgur.com/QQZefhN.jpg) ## References ### [0xc0000225 Error Code on Windows 10 [Fixed]](https://www.drivereasy.com/knowledge/0xc0000225-error-code-on-windows-10-fixed/) ### [Windows 10 換硬碟系統複製後開機出現 Error code: 0xc0000225 的解決辦法](https://ahui3c.com/1512/windows-10-換硬碟系統複製後開機出現-error-code-0xc0000225-的解決辦法/amp) ### [Windows Boot Loader與BCDedit說明](https://m.xuite.net/blog/vader.tw/blog/588750192) ## 個人實測筆記 ### 系統環境與情境說明 + OS: Windows10 + 硬碟: 兩顆 * HDD (Seagate) * SSD (SP 廣穎A56) #### 目標將HDD的系統完整轉移到新採購的SSD #### 裝上新SSD後的完整磁區資訊 ![](https://i.imgur.com/e6DGbJJ.jpg) :::info 磁碟區 1是HDD,硬碟克隆完成後,我已經將HDD上的所有磁區刪除並格式化了,**將HDD刪除所有磁區與格式化後才出現不能開機的問題** ::: ### 採用第一篇文章實測時遇到的錯誤 [0xc0000225 Error Code on Windows 10 [Fixed]](https://www.drivereasy.com/knowledge/0xc0000225-error-code-on-windows-10-fixed/) ![](https://i.imgur.com/K8PpOyL.jpg) ### 實測第二篇文章的操作步驟成功解決 1. [下載Windows 10 安裝 ISO]((https://www.microsoft.com/zh-tw/software-download/windows10))並燒錄到USB作為安裝碟開機 ,**透過USB開機後**第二頁選擇『修復您的電腦』『疑難排解』『進階選項』最後選擇『**命令提示字元**』 2. 輸入 `diskpart` 按 Enter 進入磁碟管理工具模式 3. 輸入 `list volume`  按 Enter 列出系統中所有磁碟 4. 看清單中的標籤應該會寫 SYSTEM 或是 FS 為 FAT32 的那個磁碟區,如果是磁碟區 2 的話就輸入 `select volume 2` 按 Enter 5. 輸入 `assign letter=Z` 按 Enter 暫時指定一個磁碟機代號 Z (可自訂,後續對應輸入) ![](https://i.imgur.com/cAlrTNZ.jpg) 6. 輸入 exit 按 Enter 離開到一般命令提示字元 7. 輸入 `bcdboot C:\\windows /s Z: /f UEFI` 按 Enter 成功的話應該會出現『開機檔案已經順利建立』的訊息 8. 輸入 exit 然後重新開機即可 ### 實作上述第七點遇到的問題與解法 ![](https://i.imgur.com/vLsx23Z.jpg) #### 再次透過DISKPART中的`list volume`查看磁區 ![](https://i.imgur.com/uYTGfDd.jpg) #### 發現clone過去SSD的系統C槽被標為D槽 #### 於是將步驟7的指令進行如下的修改即可成功修復 ```bash= bcdboot D:\windows /s Z: /f UEFI ``` ![](https://i.imgur.com/xd284f3.jpg) ## 0xc000000e錯誤的修復方式也是大同小異 ### 可以直接參考這篇 [Unable to boot Windows 10 after cloning to SSD](https://superuser.com/questions/1290536/unable-to-boot-windows-10-after-cloning-to-ssd) :smile: 我直接照文章的操作步驟就順利修復了~ ### 文中大神提供的修復步驟節錄 I had the same issue after I cloned an SSD drive. This is essentially the same answer as @user1247736, but with more background details. 1. Create Windows installation media per Microsoft's documentation. 2. Boot into Windows Installer. However, when prompted, instead of clicking the "Install Now" button, choose the "Repair your computer" option. For example screenshots, refer to the "Solution 2" section at https://www.minitool.com/data-recovery/fix-error-0xc000000e.html. 3. Go to Troubleshoot > Advanced options > Command Prompt (see screenshots in link above) 4. Run the bcdboot command in one of the following ways: * a) If your system has only one drive/disk, run: ``` bcdboot c:\windows ``` * b) Otherwise, figure out the drive letter where Windows is installed on. The bootrec /scanos command should help with that. For example, if Windows is detected on "D:\Windows", then run: ``` bcdboot D:\Windows or bcdboot D:\Windows /s d: ``` * c) If the boot partition (UEFI partition) is on a different drive than the one where Windows is installed on, then adjust the drive specified to the /s option accordingly. For example, ``` bcdboot D:\Windows /s c: ``` More details: https://www.boyans.net/RepairWindows/RepairWindowsBCD.html