Windows 2012 automatic repair

Windows 2012 automatic repair

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

The Windows Server 2012 Essentials is stuck in automatic repair loop. I’ve tried using command prompt and have run bootrec /fixmbr, fixboot and rebuildbcd. Also renamed the bcd and rebuild it again. When in repair mode the C drive is the recovery drive, D is where windows is and E is where the serverfolders are. Found this out after running diskpart list volumes. Also found that C is the mbr and that d is the loader. Looked through plenty of knowledge base documents and others on the web. So far nothing to resolve the issue. This is a RAID 5 setup using an intel RAID controller. Any help in resolving this would be greatly appreciated.

Answers

backing up the registry and copying the files (SAM, Security, System, Software, Default) to 1 directory up:

%windir%\system32\config then restoring the registry worked.

All replies

The Windows Server 2012 Essentials is stuck in automatic repair loop. I am using command prompt and have run bootrec /fixmbr, fixboot and rebuildbcd. Also renamed the bcd and rebuild it again. When in repair mode the C drive is the recovery drive, D is where windows is and E is where the serverfolders are. Found this out after running diskpart list volumes. Also found that C is the mbr and that d is the loader. Looked through plenty of knowledge base documents and others on the web. Also tried DISM /Online /Cleanup-Image /RestoreHealth but get an error 50. Should I add a path to the D drive where the windows system files are in repair mode? So far nothing that has resolved the issue. This is a RAID 5 setup using an intel RAID controller. Any help in resolving this would be greatly appreciated.

this may be helpful.

Tried that and also tried

bcdedit /set recoveryenable no

both responses were «The element data type specified is not recognized, or does not apply to specified entry. Element not found.»

Based on your description, would you please let me know how the windows server 2012 essentials start in automatic repair? In other words, did this server reboot suddenly and then go into automatic repair? Or had you done any changes before this issue occurred (change configurations, install updates or any other)?

Читайте также:  Пароль для связки ключей вход что это линукс

Please start the server and press F8 key. Then select Last Known Good Configuration and monitor the result. Meanwhile, please refer to the following KB and confirm that you use Bootrec.exe correctly.

In addition, would you please run bcdedit command and let me know the result.

Windows 2012 automatic repair

General discussion

All replies

Please try the below steps.

1. If the automatic repair can’t fix your computer and you get stuck in a repair loop, you should disable the automatic startup repair. Type the following command and press Enter:

bcdedit /set recovery enabled No

2. A corrupted registry settings can also cause an auto-repair loop. Here is how to restore your registry from the RegBack directory. The RegBack folder is located in :/windows/system32/config, which is used by Windows to hold a recent backup copy of the registry hives.

Assuming your system drive is d: run the following command to restore the Windows registry:

if prompted to overwrite existing files, type All and hit Enter. Type exit and hit Enter to close the Command Prompt window. Restart your computer and most probably, you may able to access your Windows system as before.

Thanks,
Alana

Windows 2012 automatic repair

General discussion

All replies

Please try the below steps.

1. If the automatic repair can’t fix your computer and you get stuck in a repair loop, you should disable the automatic startup repair. Type the following command and press Enter:

bcdedit /set recovery enabled No

2. A corrupted registry settings can also cause an auto-repair loop. Here is how to restore your registry from the RegBack directory. The RegBack folder is located in :/windows/system32/config, which is used by Windows to hold a recent backup copy of the registry hives.

Assuming your system drive is d: run the following command to restore the Windows registry:

if prompted to overwrite existing files, type All and hit Enter. Type exit and hit Enter to close the Command Prompt window. Restart your computer and most probably, you may able to access your Windows system as before.

Thanks,
Alana

Windows 2012 automatic repair

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Asked by:

Question

I have been trying to follow the solution listed here to fix this issue.

I keep getting errors when trying to Delete my SAM, SOFTWARE, DEFAULT, SECURITY Files from my config so that I can try restoring them. I end up with the message:

«The process cannot access the file because it is being used by another process.»

For the life of meI can’t find what process is holding it up.

I have booted from a DVD and run these commands.

bootrec /fixMBR
bootrec /Fixboot
bootrec /rebuildBCD

Nothing seems to get me out of this repair boot loop.

All replies

I have been trying to follow the solution listed here to fix this issue.

I keep getting errors when trying to Delete my SAM, SOFTWARE, DEFAULT, SECURITY Files from my config so that I can try restoring them. I end up with the message:

«The process cannot access the file because it is being used by another process.»

For the life of meI can’t find what process is holding it up.

I have booted from a DVD and run these commands.

bootrec /fixMBR
bootrec /Fixboot
bootrec /rebuildBCD

Nothing seems to get me out of this repair boot loop.

Please try the below steps.

1. If the automatic repair couldn’t really repair your PC and just get you stuck in a repair loop, it’s better to disable the automatic startup repair. Type the following command and press Enter:

bcdedit /set recoveryenabled No

2. A corrupted registry settings can also cause an auto-repair loop. Here is how to restore your registry from the RegBack directory. The RegBack folder is located in :/windows/system32/config, which is used by Windows to hold a recent backup copy of the registry hives.

Assuming your system drive is d:, run the following command to restore Windows registry:

copy d:\windows\system32\config\RegBack\* d:\windows\system32\config

if prompted to overwrite existing files, type All and hit Enter. Type exit and hit Enter to close the Command Prompt window. Restart your computer and most probably, you may able to access your Windows system as before.

Windows 2012 automatic repair

Вопрос

The Windows Server 2012 Essentials is stuck in automatic repair loop. I’ve tried using command prompt and have run bootrec /fixmbr, fixboot and rebuildbcd. Also renamed the bcd and rebuild it again. When in repair mode the C drive is the recovery drive, D is where windows is and E is where the serverfolders are. Found this out after running diskpart list volumes. Also found that C is the mbr and that d is the loader. Looked through plenty of knowledge base documents and others on the web. So far nothing to resolve the issue. This is a RAID 5 setup using an intel RAID controller. Any help in resolving this would be greatly appreciated.

Ответы

backing up the registry and copying the files (SAM, Security, System, Software, Default) to 1 directory up:

%windir%\system32\config then restoring the registry worked.

Все ответы

The Windows Server 2012 Essentials is stuck in automatic repair loop. I am using command prompt and have run bootrec /fixmbr, fixboot and rebuildbcd. Also renamed the bcd and rebuild it again. When in repair mode the C drive is the recovery drive, D is where windows is and E is where the serverfolders are. Found this out after running diskpart list volumes. Also found that C is the mbr and that d is the loader. Looked through plenty of knowledge base documents and others on the web. Also tried DISM /Online /Cleanup-Image /RestoreHealth but get an error 50. Should I add a path to the D drive where the windows system files are in repair mode? So far nothing that has resolved the issue. This is a RAID 5 setup using an intel RAID controller. Any help in resolving this would be greatly appreciated.

this may be helpful.

Tried that and also tried

bcdedit /set recoveryenable no

both responses were «The element data type specified is not recognized, or does not apply to specified entry. Element not found.»

Based on your description, would you please let me know how the windows server 2012 essentials start in automatic repair? In other words, did this server reboot suddenly and then go into automatic repair? Or had you done any changes before this issue occurred (change configurations, install updates or any other)?

Please start the server and press F8 key. Then select Last Known Good Configuration and monitor the result. Meanwhile, please refer to the following KB and confirm that you use Bootrec.exe correctly.

In addition, would you please run bcdedit command and let me know the result.

Оцените статью