[Solved] The Computer Restarted Unexpectedly Loop

[Solved] The Computer Restarted Unexpectedly Loop

Installing Windows on the computer can be a tremendous task for many users. On top of that, if the computer is stuck in an unexpected restart loop, you end up getting ‘The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed’ message on the screen.

You may encounter the issue when the BIOS settings are misconfigured. Also, there might be a problem with the PC’s hard drive. 

In this article, we will let you know all the possible fixes to help you resolve the restart loop issue. 

How to Fix ‘The computer restarted unexpectedly loop’ Issue?

The issue occurs when you try to install a new Window setup on your computer. To fix the problem, you can unplug every peripheral from the computer and power cycle your PC. Changing BIOS settings and even resetting the BIOS setup can be possible solutions. 

You can check the detailed guide below to know more about the fixes. 

Detach All the Peripherals and Power Cycle PC

Unplug-the-mouse-

Your computer may be plugged in with various peripherals. The interruption between the devices and computer OS can cause a spinlock. It means the computer OS may be unresponsive and keep waiting for the device to react. Furthermore, the device drivers may be corrupted, or the hardware may malfunction, causing the restart loop issue. 

So, you need to detach all the peripherals from your device. Moreover, you can also press the power key for around 10-15 seconds and let the PC drain all the charge from the capacitors. Also, you need to detach the power source of the computer. If your laptop has a removable battery, remove it as well. 

Then after a minute or two, you can boot the PC again. 

Make Changes to the BIOS Settings

The problem can also emerge when some settings in BIOS are misconfigured. So, you can check the BIOS settings and make some necessary changes. You can make the following change by looking at the steps below.

  1. First, close the computer, power it on, and enter the BIOS settings. 
  2. You need to press the required key to open the BIOS settings menu. The key to open the BIOS settings can vary as per the manufacturer.
  3. Now, choose the Advanced tab.
  4. Then, select the Onboard Device Configuration option.
  5. Next, head to the Boot options.
  6. Here, choose Enabled for Secure Boot. 
    secure-boot-bios
  7. Likely, set Load OPROM as Disable. 
  8. Finally, select UEFI for the Boot Mode option.
  9. Save your changes and exit the setup. 

Note: As per your computer’s motherboard, the BIOS settings may vary.

Update BIOS

Another potential solution you can give a try is updating your BIOS. It can help your computer recognize and communicate with the peripherals. Also, updating your BIOS downloads new firmware updates and helps solve BSOD and other related errors. You can also check out our article to know in detail about updating BIOS.

Reset Your BIOS

If updating your BIOS is not enough to solve the issue, you can also reset the entire BIOS. Doing so will roll back the BIOS setup to its default form. 

  1. Open the BIOS settings window.
  2. Now, head to the Exit menu. 
  3. Select Load Setup Defaults or Load Optimized Defaultsreset-bios-setup
  4. Now, choose OK to confirm your preference. 

Accessing the Windows Recovery Environment

Windows Recovery Environment provides various start-up troubleshooting options to help restore or recover Windows. It comes in handy when you usually face booting errors. Likely, the unexpected restarting loop issue on Windows can also be addressed using the WindowsRE.

Here’s how you can enter the WindowsRE on your PC. 

Manually Entering WindowsRE

You can follow the steps below:

  1. Press the PC’s power button to turn on the computer.
    laptop-power-button-not-working
  2. Then, switch it off by pressing the power button for around 10 seconds. You need to press the power button immediately after seeing the computer power up.
  3. Keep doing it three more times. 
  4. Once the system power cycles three times switch on the device; it will open the WindowsRE on the computer.
    Windows-RE

Once you enter the WindowsRE and access the advances options, go through the fixes below individually one after the other.

Start Automatic Computer Repair

The option of Startup Repair is a troubleshooting entity provided by Windows to resolve startup issues. The unexpected restart loop can also be solved using this utility tool. To do so, 

  1. From WindowsRE, choose the Troubleshoot option. 
    Windows-RE-Troubleshoot
  2. Then, select Advanced Options.
    Windows-RE-Troubleshoot-Advanced-Options
  3. Next, choose the Startup Repair option. The system will look for errors and fix them. 

Reset Windows

Another probable solution to solve the problem will be resetting Windows to the default settings. With this option, you can keep your files or erase everything from the system. 

  1. Boot the computer to the WindowsRE.
  2. Then, pick the Troubleshoot option.
  3. Select Reset this PC.
    Windows-RE-Troubleshoot-Reset-PC
  4. Choose either Keep my files or Remove everything and follow up with the concurrent steps.
    Windows-RE-Troubleshoot-Reset-PC-Options
  5. After a while, a new screen will appear. Here, you can pick Just remove my files or Fully clean the drive. 
    Windows-RE-Troubleshoot-Reset-PC-Wipe-Drive
  6. Next, click Reset. 
  7. A progress message stating ‘Resetting this PC X{f5ac61d6de3ce41dbc84aacfdb352f5c66627c6ee4a1c88b0642321258bd5462}’ will appear on the screen. The X represents the number of percentages. It will vanish once the reset process is complete. 

Use System Image Recovery Option

When you decide to use the System Image Recovery option, it will revert everything back to the situation when the system image was made. This option can be handy to solve the unexpected restart loop in the system.

  1. Open the WindowsRE.
  2. Then, choose the Troubleshoot option from the Choose an option window. 
  3. Click Advanced Options. 
  4. Choose the System Image Recovery option. 
    Windows-RE-Troubleshoot-System-Image-Recovery
  5. Decide on the system recovery image and select it. 
  6. After that, you need to follow the message on the screen to finalize it. 

Modify Registry Editor Value data

The likely culprit for the issue can also be the malicious setup.exe data file in the Registry Editor. Changing the Value data will be the ideal solution in such a case. 

  1. Select the Advanced options in the WindowsRE window.
  2. Then, select Command Prompt.Windows-RE-Troubleshoot-Command-Prompt
  3. Now, input regedit and hit Enter. 
  4. On the Registry Editor window, choose HKEY_LOCAL_MACHINE.
  5. Now, select SYSTEM > Setup > Status.
  6. After that, select ChildCompletion and right-click on the setup.exe key. 
  7. Next, change Value data to 3 and press OK. 
    Registry-Editor-ChildCompletion-SetupEXE
  8. Close the Registry Editor window and the Command prompt.
  9. Now, press the OK button on the error notification to reboot the PC. 

Format Installation Drive

When nothing works out for you, the only option is to format the installation drive. It will remove Windows from your PC and resolve the issue. 

  1. In the WindowsRE menu, click Advanced options > Command Prompt.
  2. Then, type diskpart and hit Enter.
  3. Next, input list volume and hit Enter.
  4. Now, press Enter after typing select volume 2. If the disk is listed in Volume 2 with your Windows OS, else input another number.
  5. After that, run the command format fs=ntfs quick label=test. You can substitute any other word instead of test to use as your partition name. format-installation-drive
  6. Finally, input exit and hit the Enter key. 

Note: Once the formatting is complete, you need to reinstall Windows. For that, you can check out the next section.

Reinstall the Windows

If, after everything, you are still stuck with the issue, it may be time to reinstall Windows on your computer. Upon doing so, you can either wipe out everything from the system or erase only the settings and applications. 

For that, plug in the Recovery flash drive and choose Install Now after selecting language, time, currency, and input method. Now, follow the on-screen instruction to complete the setup. 

To know more about reinstallation, you can check out our other article ‘How to Reinstall Windows 11 With or Without Losing data?’