Windows Server 2012 R2 Boot Repair -

bootrec /fixmbr bootrec /fixboot bootrec /scanos bootrec /rebuildbcd

Boot repair is often a reactive measure. To minimize downtime:

If the automatic repair fails, the or Master Boot Record (MBR) might be corrupted. windows server 2012 r2 boot repair

diskpart select disk 0 list partition select partition X (X = EFI system partition, typically ~100 MB, type "System") assign letter=S exit

If your server uses a UEFI-based motherboard instead of traditional Legacy BIOS, standard MBR commands may fail. You can repair UEFI boot files using the bcdboot command. Open the from the Advanced options screen. Type diskpart and press Enter . You can repair UEFI boot files using the bcdboot command

Force the system to look for healthy Windows Server installations on local volumes: bootrec /scanos bootrec /rebuildbcd Use code with caution.

Once in the Command Prompt, run these commands in order to fix standard boot sector issues: Microsoft Community Hub bootrec /fixmbr Force the system to look for healthy Windows

He exported a backup just in case: bcdedit /export C:\BCD_Backup

Type the following command to rebuild the EFI boot files: bcdboot C:\Windows /s S: /f UEFI (Note: Replace C: with the drive letter where your Windows Server is installed, and S: with your EFI partition drive letter). Restart the server. Method 4: Run System File Checker (SFC) and DISM