If Startup Repair fails, use the (located under Advanced options ) to manually fix the boot files:
: Scans for Windows installations and lets you add them to the Boot Configuration Data. Microsoft Community Hub rebuildbcd fails, manually reset the BCD: Microsoft Community Hub
30–60 minutes
If the boot files are fixed but the server still crashes during boot, you can perform an "In-Place Upgrade" (Repair Install). This reinstalls Windows system files but keeps your files, settings, and applications intact.
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
This guide details the essential methods to perform a , from automated tools to advanced manual rebuilding of the bootloader. 1. Accessing the Windows Recovery Environment (WinRE)