Get the App
SLTechnology News&Howtos  ›  Servers  › 

Repair Windows 10 startup

Shulou Source: shulou.com Published: 2022-06-02 23:28:57 09月22日 Update

I want to replace the hard disk of the original machine with a larger capacity SSD. Because the model specifications of the old and new hard disks are inconsistent, GHOST later found that Windows 10 on the hard disk could not be started. Below is a brief record of the repair process.

1. Prepare Windows 10 PE boot disk

Windows Preinstallation Environment (PE) is used to boot from USB stick.

Windows 10 PE requires Windows ADK (Assessment and Deployment Kit) to be installed. Download it at https://docs.microsoft.com/zh-cn/windows-hardware/get-started/adk-install#winADK

After the installation is complete, run the Deployment and Imaging Tools Environment as an administrator.

copype amd64 C:\WinPE_amd64

MakeWinPEMedia /UFD C:\WinPE_amd64 F:

To make a USB flash drive to boot Windows PE, please refer to the official website https://msdn.microsoft.com/zh-tw/library/windows/hardware/dn938386(v=vs.85).aspx

If you use USB removable hard disk to make Windows PE, please refer to https://msdn.microsoft.com/zh-tw/library/windows/hardware/dn938388(v=vs.85).aspx

Second, repair Windows startup configuration

Start with Windows PE and default to X:\system32.

Use DiskPart to assign a drive letter to the boot area.

C:\Users\user1> DiskPart

list disk

select disk 0

list partition

select partition 1

assign letter=P

exit

Then use BCDboot to add boot entries.

C:\Users\user1> bcdboot c:\windows /s P: /f ALL /l zh-cn

Third, delete invalid boot items

Boot normally, enter Windows 10, and then enter BCEdit directly from the command prompt to view the current boot entry.

Remove invalid boot entries:

C:\Users\user1> BCDedit /delete {28ac503c-6a36-11e8-87d5-bccda411263a}

Operation successfully completed.

Tags: Hard disk production reference consistency success command address model large capacity tool prompt new and old image environment removable hard disk author administrator specification identity process Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft vpn macOS OPPO Reno NVidia