Windows Server enters into boot cycle

I ran into an issue where the windows server 2012 R2 was entered into boot cycle and also was getting below  BSOD error.

BSOD Error

 

Fix:

Swap the registry hives by following the below steps:

1 – On your Windows Server 2012 R2, boot the server from Windows Server 2012 R2 ISO
2 – On the Windows Setup interface, click Next…
3 – Then click Repair Your computer…
4 – On the Choose an option interface, click Troubleshoot menu…
5 – On the Advanced options interface menu, click Command Prompt…
6 – Open notepad
7 – Navigate to Windows folder structure(while in repair mode, the drive letter may be different, confirm through disk part).
8 – Navigate to c:\windows\system32\config\
9 – Locate SYSTEM and SOFTWARE file and rename them to .old
10 – Navigate to c:\windows\system32\config\regback
11 – Copy the SYSTEM and SOFTWARE files from c:\windows\system32\config\regback and paste them to c:\windows\system32\config\
12 – Remove iso file and reboot the server.

You should be able to boot windows without any issues.

Leave a comment