- If you finally decided to jump on the Windows 10 boat, running into an error loop while trying to install the OS can be quite discouraging.
- The computer restarted unexpectedly? You have come to the right place where you can find all the fixes for this installation error. Go through the steps listed below and do your upgrade safely.
- Speaking of install errors, you might want to further explore the topic in case you run into other potential difficulties.
- Don't be shy to grab every piece of handy advice we have to offer. Explore and bookmark our extended Windows 10 errors hub to make sure it's no further than a click away whenever you need it.
Windows 10 is a great operating system, however, the installation process of Windows 10 isn’t always simple.
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 can I fix The computer restarted unexpectedly error?
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
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 the 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.
It’s worth mentioning that this solution is intended for Acer laptops, and if you’re not using an Acer device, this solution might not work for you at all.
Having boot problems in Windows 10? Fixing them is as easy as breathing with this guide.
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.
If you’re having this problem, be sure to disconnect all your USB devices such as flash drives, printers, and even your USB keyboard and mouse.
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.
Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.
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 the 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 PCs 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. You can also try to fix this problem by using third-party tools to safely recover your drivers.
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 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.
Let us know which one worked for you in the comments section below.
Frequently Asked Questions
The Windows Modules Installer or msiexec.exe is used to install applications and services in Windows. Windows Installer files generally contain application setup and installation data.
Press the Windows + R keys to bring up the Run menu, then type services.msc in the dialog box. Double-click on Windows Installer to select it from the list of results and set the Startup Type to Manual.
If the Installer is not working properly, type services.msc in the Run menu, double-click on Windows Installer and restart the service.