Skip to content

Windows Server 2012 R2 Boot Repair !!better!! Jun 2026

Is this a or a virtual machine (Hyper-V / VMware)?

If your server uses UEFI and a GPT disk rather than traditional BIOS/MBR, the bootrec commands might not be enough. You will need to re-create the EFI boot structures manually using the diskpart utility. In the Command Prompt, type diskpart and press . windows server 2012 r2 boot repair

To perform repairs, you will generally need to boot from a . Method 1: Using Command Prompt in Recovery Mode This is the most common method for repairing boot issues. Is this a or a virtual machine (Hyper-V / VMware)

Recreate the boot files by pointing the utility to your Windows directory (usually C:\Windows ): bcdboot C:\Windows /s Z: /f UEFI Use code with caution. In the Command Prompt, type diskpart and press

Change directory to the boot folder inside the EFI partition: cd /d S:\EFI\Microsoft\Boot\ Use code with caution.

cd C:\Windows\System32\config ren DEFAULT DEFAULT.corrupt ren SAM SAM.corrupt ren SECURITY SECURITY.corrupt ren SOFTWARE SOFTWARE.corrupt ren SYSTEM SYSTEM.corrupt copy C:\Windows\System32\config\regback\* . /Y