Speaking of which, several users reported The computer restarted unexpectedly loop while trying to install Windows 10. This can be a big problem, but there are several solutions available that you can try.
How to fix The computer restarted unexpectedly error on Windows 10?
The computer restarted unexpectedly error can be quite problematic, and speaking of this error, users reported the following problems as well:
- The computer restarted unexpectedly or encountered an unexpected error setup is starting services – This error can occur due to your boot settings, and if you encounter it, you might have to adjust your settings accordingly.
- The computer restarted unexpectedly loop Windows 10 Surface Pro 4 – This error can appear on almost any PC, and many Surface Pro 4 users reported it. However, you should be able to fix it using one of our solutions.
- The computer restarted unexpectedly loop Windows 7, Windows 8 – This error can appear on almost any operating system and Windows 7 and Windows 8 aren’t exceptions. Even if you don’t use Windows 10, you should be able to fix this problem by using one of our solutions.
- The computer restarted unexpectedly restart the installation, installation cannot proceed – Sometimes this error can prevent you from installing Windows 10. If this happens, be sure to check if your hard drive is properly connected.
- The computer restarted unexpectedly regedit – Sometimes this problem can be caused by your registry. However, you can easily fix the problem by changing a few values in your registry.
1. Use Registry Editor
In order to fix this problem, you’ll need to use Registry Editor. To do that, follow these steps:
- When you see The computer restarted unexpectedly error message press Shift + F10 on your keyboard. This should open Command Prompt.
- Enter regedit and press Enter to start Registry Editor.
- Once Registry Editor starts, navigate to the HKEY_LOCAL_MACHINESYSTEMSetupStatusChildCompletion and double click the setup.exe in the right pane.
- Change the Value Data from 1 to 3 and click OK to save changes.
- Close Registry Editor and restart your computer.
2. Check your hard drive cables
Sometimes you might get stuck in The computer restarted unexpectedly loop due to hard drive cable problems.
Users reported that switching the cables that connect hard drive to the motherboard fixed the issue, so you might want to try that.
Keep in mind that by opening your computer case you will void your warranty, so if your PC is still under warranty, it might be better to take it to the official repair center.
3. Reset your BIOS settings and format the installation partition
Few users suggest that you can fix The computer restarted unexpectedly loop by resetting your BIOS and setting your USB flash drive as a first boot device.
To see how to do that, refer to your motherboard manual for detailed instructions.
After you’ve made all the necessary changes in BIOS, you need to format your partition by using the diskpart tool. To do that, follow these steps:
- Boot from your USB flash drive and if you see The computer restarted unexpectedly error message, press Shift + F10 to open Command Prompt.
- Once Command Prompt opens, enter diskpart and press Enter.
- Enter list volume and press Enter. You should see a list of all partitions available. Find the partition on which you wish to install Windows 10 and remember its Volume number.
- Enter select volume 1. We used volume 1 in our example, but you need to use the volume that matches your partition.
- Enter format fs=ntfs quick label=test and press Enter. You can replace test with any other name you want to use for your partition. We have to warn you that by executing this command you’ll remove all files and folders from the selected partition.
- Type exit and press Enter to exit Command Prompt.
- After you restart your computer problem with The computer restarted unexpectedly loop should be fixed.
4. Change your boot settings
Sometimes your boot settings can cause The computer restarted unexpectedly error to appear. According to users, they managed to fix the problem by making few changes in Command Prompt. To do that, just follow these steps:
- While your computer boots, press Alt + F10 shortcut.
- Command Prompt will now appear. Remove /noexecute=optin and enter system recovery. Now press Enter.
- Now you should see a boot screen that has the address of the recovery partition. Press Enter and you should start the recovery process.
This is a peculiar solution, but several users reported that it worked for them, so you might want to try it out.
5. Disconnect all your USB devices
Most of us use various USB devices on their PC, but sometimes these devices can interfere with Windows and cause The computer restarted unexpectedly error.
Several users reported that disconnecting their USB mouse and keyboard fixed the problem for them, so be sure to try that.
We aren’t sure how your keyboard and mouse can cause this issue to appear, but if you encounter it, be sure to try this solution.
6. Change your BIOS settings
Your BIOS is in charge of many settings, and if your BIOS isn’t properly configured, you might not be able to boot your PC.
In fact, sometimes The computer restarted unexpectedly error can appear due to your BIOS settings. However, you might be able to fix this problem simply by changing few settings.
To do that, follow these steps:
- Enter your BIOS while the PC boots.
- Once you enter BIOS, navigate to Advanced Tab > Onboard Device Configuration.
- Set the SATA Mode to AHCI.
- Now go to the Boot tab and set Secure Boot to Enable. Also, change Load Legacy OPROM to Disable.
- Set Boot Mode to UEFI and save changes.
While your PC boots, press F12 to open the boot menu. Now select your UEFI boot device. Keep in mind that you might not have all these settings available in BIOS, and if that’s the case, try to enable the available settings.
If the problem still persists, try disabling the aforementioned settings one by one and check if that solves the issue.
This is a complicated issue, and sometimes in order to fix it you need to use trial and error method.
It’s worth mentioning that this isn’t the simplest or a universal solution, but it might work for you, so feel free to try it out.
If this method doesn’t work, be sure to restore your settings to the original values in order to avoid new problems.
7. Use Windows 10 recovery drive
If you encounter The computer restarted unexpectedly error, you might be able to fix it by using the recovery drive.
Recovery drive is a useful feature that allows you to restore your PC to its original state without reinstalling it.
Some PC’s have a recovery drive on their hard drive, but if you don’t have it, you might have to create a recovery drive on another Windows 10 PC. To create a recovery drive, you need to do the following:
- Connect a USB flash drive to your PC. For this task you’ll need a drive that is at least 8GB in size. In some cases, 8GB drive won’t be enough, and many users are recommending to use at least a 16GB drive.
- Press Windows Key + S and enter recovery. Select Recovery from the list of results.
- Now select Create a recovery drive.
- Choose to create the recovery drive on your USB flash drive and follow the instructions on the screen to complete the process.
Once you create the recovery drive, need to do the following:
- Connect the drive to your PC.
- Now restart your PC several times during the boot sequence in order to access Advanced Boot section.
- Select Troubleshoot > Advanced options > System Image Recovery.
- Now follow the instructions on the screen to restore your PC.
Keep in mind that this is an advanced solution, so be extra cautious while performing it. It’s worth mentioning that a recovery drive from another PC might not always work, so it’s always a good practice to create a recovery drive on your PC before you encounter any problems.
Several users reported that they download the recovery drive from their computer manufacturer, so you might want to try that as well.
8. Update your BIOS
In some cases, you might encounter this problem if your BIOS is out of date. Outdated BIOS can sometimes cause The computer restarted unexpectedly error to appear, and in order to fix this problem, you might have to update your BIOS.
Updating BIOS is an advanced process, and if you’re not careful you can cause other problems with your PC to occur. In some cases, you can even permanently damage your motherboard, so be extra cautious.
Since you can’t access Windows, you’ll need to download a new version of BIOS on a different PC and move it to your flash drive. Now you’ll need to start Command Prompt and run BIOS update from it.
To see how to update your BIOS, be sure to check your motherboard manual for detailed instructions.
Once you update your BIOS to the latest version, check if the problem is resolved.
The computer restarted unexpectedly loop can be rather troublesome and prevent you from installing Windows 10, but hopefully, you’ll be able to fix it by using one of our solutions.
Editor’s Note: This post was originally published in May 2016 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.
- How to fix second hard drive stops Windows 10 boot
- Fix: Computer keeps rebooting and freezing
- Windows 10 will not boot: Here’s how to fix this issue for good
- Fix: Booting Takes a Long Time in Windows 10
- How to fix ‘no boot disk detected or the disk has failed’ error