Skip to content

Instantly share code, notes, and snippets.

@grintor
Created June 10, 2022 00:49
Show Gist options
  • Save grintor/3f5667270f5967a23b6b32a6e8efffd7 to your computer and use it in GitHub Desktop.
Save grintor/3f5667270f5967a23b6b32a6e8efffd7 to your computer and use it in GitHub Desktop.
windows mbr boot fix
diskpart
select disk 0
select part 1
active
exit
bcdboot c:\Windows /s <boot letter>: /f ALL
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment