Fix: ‘The computer restarted unexpectedly’ loop on Windows 10

By: Milan Stanojevic
2 minute read
windows 10 pro education

Windows 10 is a great operating system, however, 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.

Fix “The computer restarted unexpectedly” loop while installing Windows 10

Solution 1 – Use Registry Editor

In order to fix this problem, you’ll need to use Registry Editor. To do that, follow these steps:

  1. When you see “The computer restarted unexpectedly” error message press Shift + F10 on your keyboard. This should open Command Prompt.
  2. Enter regedit and press Enter to start Registry Editor.
  3. Once Registry Editor starts, navigate to the HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion and double click the setup.exe in the right pane.
  4. Change the Value Data from 1 to 3 and click OK to save changes.
  5. Close Registry Editor and restart your computer.

Solution 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.

Solution 3 – Reset your BIOS settings and format the installation partition

Few users suggest that you can fix the “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 diskpart tool. To do that, follow these steps:

  1. Boot from your USB flash drive and if you see “The computer restarted unexpectedly” error message, press Shift + F10 to open Command Prompt.
  2. Once Command Prompt opens, enter diskpart and press Enter.
  3. Enter list volume and press Enter. You should see list of all partitions available. Find the partition on which you wish to install Windows 10 and remember its Volume number.
  4. Enter select volume 1. We used volume 1 in our example, but you need to use the volume that matches your partition.
  5. 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.
    diskpart-format
  6. Type exit and press Enter to exit Command Prompt.
  7. After you restart your computer problem with “The computer restarted unexpectedly” loop should be fixed.

For various PC problems, we recommend to use this tool.

This tool will repair most computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download ReimagePlus (100% safe download and endorsed by us).
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues.

“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.

For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download this PC Repair Tool .
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).