Windows Server 2012 R2 Boot Repair -
C. Fixing MBR/GPT and Active Partition
From the Command Prompt (accessed via WinRE), scan your drive for errors and bad sectors. chkdsk C: /f /r (Replace C: with your actual Windows system drive letter). 2. Run System File Checker (SFC) Repair missing or corrupted Windows system files. sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
If your server is a Domain Controller that enters a boot loop due to Active Directory corruption, restart the server and press F8 (or Fn + F8 ) to access the Advanced Boot Options. Select Directory Services Restore Mode to log in using your local DSRM administrator password. From here, you can troubleshoot services, restore the AD database from a system state backup, or remove problematic updates. Preventative Measures To minimize downtime in the event of future boot failures: windows server 2012 r2 boot repair
Type exit and press to leave Diskpart before proceeding to the corresponding fix below. Step 3: Repairing the Bootloader Method A: For Legacy BIOS / MBR Systems
Scans for Windows installations and lets you add them to the BCD store. Select Directory Services Restore Mode to log in
DISM /image:D:\ /cleanup-image /restorehealth /source:WIM:E:\Sources\Install.wim:1 /limitaccess
in the GPT column, your server uses UEFI/GPT . you can troubleshoot services
sfc /scannow and dism /restorehealth targeting the offline directory
This can take hours on large server drives.
