top of page

How to Fix The Computer Restarted Unexpectedly Loop in Windows 10

Getting Computer restarted unexpectedly or encountered an unexpected error While Installing or Upgrading to Windows 10 1809? This is a Common issue Many Windows users are reporting it. Maybe you keep getting this error after clicking OK each time.  You can’t proceed with the installation and you’re stuck in an endless loop. Whenever you restart your PC you will again see this error: The error is something like this:

The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed. To install Windows, click “OK” to restart the computer, and then restart the installation.


  1. 1 Computer Restarted Unexpectedly Loop

  2. 1.1 Change ChildCompletion setup.exe value in Registry Editor

  3. 1.2 Check Hard Disk Cables

  4. 1.3 Run Startup Repair

  5. 1.4 Format Disk Drive

Computer Restarted Unexpectedly Loop

There is no particular cause as to why you are facing this issue but corrupted Registry, Windows files, damaged hard disk, outdated BIOS etc are the reason among many others. But this will give you a basic idea on how to troubleshooting these various causes and that’s what exactly we are going to do.

Change ChildCompletion setup.exe value in Registry Editor

Wrong setup.exe entry value data in registry editor is the main culprit for error The Computer Restarted Unexpectedly Loop in Windows 10. So you need to correct it first. When you get this Error screen, Here on the same error screen, press Shift + F10 to open Command Prompt. Type command regedit and hit Enter key To open Windows registry editor.

Now in the Registry Editor navigate to the following key:


Next, click on ChildCompletion key and then on the right-hand side window look for setup.exe. Double click on setup.exe and change its value from 1 to 3.

change the value of setup.exe under childcompletion from 1 to 3

Close Registry editor and command prompt window. Now click OK on the error and your PC will restart. After the PC restart, your installation will continue.

Check Hard Disk Cables

Loose Cable connection of Hard drive might cause The Computer Restarted Unexpectedly Loop in Windows 10. So check the cable that links Motherboard with the Hard drive and change when slacked. Users reported that switching the cables that connect hard drive to the motherboard fixed the issue, so you might want to try that.

Run Startup Repair

After perform above still having  Computer restarted unexpectedly or encountered an unexpected error, then Access Advanced Boot options And perform Startup repair let windows to fix the startup Error itself.

Insert the Windows 10 bootable installation DVD and restart your PC. If you don’t have read how to create Windows 10 installation media here. When you ready with the installation DVD / USB insert it and restart windows. ( Access BIOS setup by press Del key and change the Boot order First boot as DVD / Removable drive.)

  1. When prompted to Press any key to boot from CD or DVD, press any key to continue.

  2. Select your language preferences, and click Next.

  3. Click Repair your computer in the bottom-left.

Repair your computer
  1. On choose an option screen, click Troubleshoot -> then click Advanced option.

  2. Here On the Advanced options screen, click Automatic Repair or Startup Repair.

Advanced options Windows 10

Wait till the Windows Automatic/Startup Repairs complete. Restart and you have successfully Fix The computer restarted unexpectedly or encountered an unexpected error, Now again install windows check this time its successful.

Format Disk Drive

If All Above methods fail to fix this error, Then the simply last way to format the drive with NTFS file system using command prompt And perform Clean installation.

Note: This method will remove all your files, folders and settings from your PC.

Again open the Command Prompt by pressing the Shift + F10 key on the error screen. Now type the following command in cmd and hit Enter after each one:

list volume
select volume 1 (select the disk containing your Windows OS)
format fs=ntfs quick label=test
format drive using cmd windows 10

Type exit and press Enter to exit Command Prompt. After you restart your computer problem with “The computer restarted unexpectedly” loop should be fixed. But you have to install Windows again.

The computer restarts itself no matter what you do and you can’t really proceed with the installation. This error arises mainly because of some installation mistakes or mishaps. you should check your hard drive cable connection because on certain occasions this creates the loop problem. Did these solutions help to fix “The Computer Restarted Unexpectedly Loop” in Windows 10? Let us know on comments below, also read:

  1. 5 solutions to fix NTFS_FILE_SYSTEM error in Windows 10/8/7

  2. Fix Windows 10 critical error start menu Cortana aren’t working

  3. 15 Tips to Optimize Windows 10 for better performance

  4. Windows 10 Registry Tweaks To Enable Hidden Features 

Featured Posts
Recent Posts
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page