If the command above finds "0" Windows installations, the BCD might be so corrupted it needs to be deleted and recreated: :
If automated repair fails, you may need to manually rewrite the boot code. Open the from the Advanced options and run the following commands: windows server 2012 r2 boot repair
: Use the bcdboot tool to copy fresh boot files from the Windows directory to the EFI partition: bcdboot C:\Windows /s S: /f ALL 6. Solving Post-Update Boot Loops If the command above finds "0" Windows installations,
: Instead of clicking "Install now," select Repair your computer in the bottom-left corner. windows server 2012 r2 boot repair
bcdedit /export C:\BCD_Backup attrib c:\boot\bcd -h -r -s ren c:\boot\bcd bcd.old Use code with caution. : bootrec /rebuildbcd 5. Repairing UEFI/GPT Boot Issues