bootrec /fixmbr — Writes a new Windows-compatible MBR to the system partition.
bootrec /rebuildbcd — Scans for installations and rebuilds the Boot Configuration Data. How Do I Fix the Master Boot Record (MBR)? Hard Drive Mbr Repair Software
: Type these commands in order, pressing Enter after each: bootrec /fixmbr — Writes a new Windows-compatible MBR
: Select Repair your computer > Troubleshoot > Advanced options > Command Prompt . Hard Drive Mbr Repair Software
bootrec /fixboot — Writes a new boot sector to the partition.
: Insert your Windows installation USB/DVD and boot from it.