Skip to content

Instantly share code, notes, and snippets.

@mcandre
Created December 8, 2017 01:41
Show Gist options
  • Save mcandre/c94222e52573c603ae740273577e2a2e to your computer and use it in GitHub Desktop.
Save mcandre/c94222e52573c603ae740273577e2a2e to your computer and use it in GitHub Desktop.
  1. Use a Windows 10 installation DVD to reliably boot into a recovery console.
  2. Select recovery mode.
  3. Launch Command Prompt.
  4. Enter diskpart
  5. Run list disk and note the desired disk number.
  6. Run select disk <number> choosing the desired disk.
  7. Run list volume noting the volume that is about 100 MB, FAT32 formatted. This is the EFI volume.
  8. Run select volume <number> choosing the EFI volume.
  9. Run assign letter=b:
  10. exit from the diskpart utility.
  11. Run cd /d b:\EFI\Microsoft\Boot
  12. Run bootrec /fixboot
  13. Run ren BCD BCD.bak to backup the corrupt bootloader configuration, for some reason.
  14. Run bcdboot c:\Windows /l en-US /s b: /f ALL
  15. exit from Command Prompt.
  16. Remove the Windows installation DVD.
  17. Reboot.
  18. Optionally, correct the BIOS UEFI boot order, experimenting with different Windows boot priorities until you find the right one.
  19. Hopefully, Windows boots normally once again!
@mcandre
Copy link
Author

mcandre commented Jan 5, 2018

In fact, Windows stubbornly presents a stupid "Choose an option" screen upon reboot. Still not sure how to bloody fix this.

@an4s911
Copy link

an4s911 commented Jan 24, 2021

In fact, Windows stubbornly presents a stupid "Choose an option" screen upon reboot. Still not sure how to bloody fix this.

Did anyone yet fix this problem? I have the same problem and when I googled it I came to this page and some Super User answers too. But it seems like nobody has found an answer to this problem. If you found a solution then it would be really helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment