bootrec /fixboot — Writes a new boot sector to the partition.
This is the most direct method and doesn't require downloading extra software if you have a Windows installation or recovery USB.
: Select Repair your computer > Troubleshoot > Advanced options > Command Prompt .
bootrec /rebuildbcd — Scans for installations and rebuilds the Boot Configuration Data. How Do I Fix the Master Boot Record (MBR)?