Fix boot Windows Server 2012 R2

Hi,

I stuck at repairing boot on Server 2012R2, which initially stuck at Windows Updates, rebooted twice (so Last known Good is inbetween two reboots...lol), customer has no backups, and one proprietary software is installed there, which is PITA to reinstall.

PROCEDURE:

I must use install DVD to FIRST select Install wizard just so far to be able to inject RAID Ctrl drivers. Otherwise Windows installation is not found.

Then I CANCEL INSTALL and select REPAIR --> COMMAND PROMTP
- Interesting: No other repair tools are visible here, no Boot repair button -

From command prompt I then TRY to repair boot with:

bootrec /rebuildbcd

...but it fails, as it does not find any Windows installations. In order to workaround, I manually delete BCD record, then I repeat the above command, and this time it FINDS 1 Windows installation and does it's job.

BUT after that, no Windows installations are found. MAYBE, just maybe it is because this last update was probably major update, and manipulated BCD in such a way, that my 6 years old install DVD is not compatible with existing BCD on disk. Maybe.

Reinstall and keep apps is NOT available.
Fresh reinstall pulls some 8.000 EUR expenses for the special app to install (medical stuff), so I would rather NOT go that route.

I am lost here...I know boot is damaged, but I am out of options.
System does not boot. Help? F1?


Web resources:

http://www.howtogeek.com/howto/7728/troubleshot-startup-problems-with-startup-repair-tool-in-windows-7-vista/

Some Methods:

Start Windows using Last Known Good Configuration. If you’ve just made a change to your computer that you suspect might have caused Windows to stop booting properly, starting with the Last Known Good Configuration could help.

Start Windows in Safe Mode and then use System Restore to undo recent changes. Windows could freeze, stop, or reboot during the startup process because of damage to a driver, important file, or part of the registry. A System Restore will return all of those things to their last working order which could solve your problem entirely. You can also start a command prompt from the System Repair dialog box.

For Windows 7: Boot from the repair disk > Choose keyboard and click Next > Use recovery tools… and click Next > Windows may find problems fix them and reboot, if it works great. If it didn’t work or it didn’t find problems continue on > choose Command Prompt

For Windows 8, Windows 10, Windows 2012 R2: Boot from repair disc > Choose Keyboard type > click Troubleshoot > click Advanced options > choose Automatic Repair

if that fails then use:

-Boot from Recovery disc or Install disc

-Boot from repair disc > Chose Keyboard type > click Troubleshoot > click Advanced options > choose Command Prompt

or

-Boot from Install disc > Click Next > click Repair your computer > click Troubleshoot > click Advanced options > choose Command Prompt

Tools to fix boot problems:

Msconfig (from Windows)

Bcdedit: http://technet.microsoft.com/fr-fr/library/cc709667(v=ws.10).aspx

bootrec: http://support.microsoft.com/kb/927392/en-us

  • bootrec /fixboot (writes new boot sector to system partition)
    bootrec /scanos (scans for other OS’s that you might want to add to bcd)
    bootrec /rebuildbcd (scans for other OS’s, unlike rebuildbcd it allows you to select the OS’s you want to add to bcd)

Also: Emergency repair disk (ERD) from the MDOP (but requires the software assurance – more for larger companies)

bootSect: http://technet.microsoft.com/en-us/library/cc749177%28v=ws.10%29.aspx

  • bootsec /fixmbr (writes mbr but does not overwrite partition table)

bcdboot (The BCDboot tool is a command-line tool that enables you to manage system partition files): http://technet.microsoft.com/en-us/library/dd744347%28v=ws.10%29.aspx

Third-party tools:

iolo system mechanic (www.iolo.com) , system rescue CD (http://www.sysresccd.org/Page_Principale), gparted (http://gparted.sourceforge.net/), EasyBCD (http://neosmart.net/EasyBCD/), VisualBCD editor

Tools to fix boot problems:

to find on google: repairing windows 2012 R2 startup, repair windows startup, repair windows boot

Method 1:
===============
1. Put the Windows Server 2012 R2 installation disc into the disc drive, and then start the computer.
2. Press a key when the message indicating “Press any key to boot from CD or DVD …”. appears.
3. Select a language, a time, a currency, and a keyboard or another input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type sfc /scannow, and then press ENTER.

Method 2:
===============
1. Put the Windows Server 2012 R2 installation disc in the disc drive, and then start the computer.
2. Press any key when the message indicating “Press any key to boot from CD or DVD …”. appears.
3. Select a language, time, currency, and a keyboard or another input method. Then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type Bootrec /RebuildBcd, and then press ENTER.

Method 3:
===============
1. Put the Windows Server 2012 R2 installation disc into the disc drive, and then start the computer.
2. Press a key when the message indicating “Press any key to boot from CD or DVD …”. appears.
3. Select a language, a time, a currency, and a keyboard or another input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type BOOTREC /FIXMBR, and then press ENTER.
8. Type BOOTREC /FIXBOOT, and then press ENTER.
9. Type Drive:\boot\Bootsect.exe /NT60 All, and then press ENTER.

IT Pro: 27 years experience for large companies - Technical manager and solution architect: Directory services and Identity Managemen expert, Azure AD, Office 365, Azure infrastructures, Microsoft AD Security (ADDS,ADFS,ADCS), PowerShell, Quest solutions architect. Operating systems (Win/Lin). Unix and Microsoft interoperability. Data center Operations. Company integrations. Network architectures. Virtualization and storage infrastructures. HP/Dell servers deployments. Certifications: MCSE, MCPs, MCITS, ITIL, VCP, CCNA, CyberArk View more posts

Post navigation

How do I fix Windows server boot loop?

The workaround here is to uninstall the updates or interrupt the boot and use Safe Mode. Update – Microsoft released the Windows Server 2012 R2 KB5009624 update, Windows Server 2019 KB5009557 update, and Windows Server 2022 KB5009555 update as part of the January 2022 Patch Tuesday.

How do I fix my server OS?

Open the Windows Server Essentials Dashboard, and then click the Devices tab. Click the name of the server, and then click Restore files or folders for the server in the Tasks pane. The Restore Files and Folders Wizard opens. Follow the instructions in the wizard to restore the files or folders.

How do I run Startup Repair from command prompt?

Click Repair your computer. Select the operating system that you want to repair, and then click Next. In the System Recovery Options dialog box, click Command Prompt. Type Bootrec.exe, and then press Enter.

How do I get to the boot menu in Windows Server 2012?

Hold down the Shift key and select Restart. Select a reason for restarting the server and click Continue. Windows will shut down..
Open an elevated command prompt on the server..
Type shutdown /r /o to restart Windows. ... .
The server will boot to the Choose an option screen..