Open a CMDcommand prompt with administrator privileges.
Run the following set of commands:
DISKPART
& rarr;SELECT DISK 0
→UNIQUEID DISK ID=<random_disk_signature>
(e.g. 1a2b3c4d)Quit DISKPART stay within the command prompt.
Enter the following commands, one at a time, in the command prompt pressing key after each command.
bcdboot c:\windows /s c: bcdedit /set {DEFAULT.EN_US} device partition=c:DISKPART bcdedit /set {DEFAULT.EN_US}SELECT osdeviceDISK partition=c:0 bcdedit /set {BOOTMGR.EN_US}UNIQUEID deviceDISK partition=c:ID=<random_disk_signature>
Close the command prompt.
Reboot.
(<random_disk_signature>
is e.g. 1a2b3c4d)
3. Quit DISKPART
, but stay in the command prompt.
4. Enter the following commands, one at a time, in the command prompt pressing Enter key after each command:
bcdboot c:\windows /s c:
bcdedit /set {DEFAULT.EN_US} device partition=c:
bcdedit /set {DEFAULT.EN_US} osdevice partition=c:
bcdedit /set {BOOTMGR.EN_US} device partition=c:
- Close the command prompt.
- Reboot.