Fix – The computer restarted unexpectedly or encountered an unexpected error in Windows 10

    While installing Windows 10 or using a recovery disk, it is possible that you might see a warning dialog with an error message that reads “The computer restarted unexpectedly or encountered an unexpected error“.

    computer restarted unexpectedly or encountered an unexpected error

    Usually, this error message appears, when you use recovery the disk to restore the system to factory settings or installing Windows 10. The full error message states-

    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.

    Fix – The computer restarted unexpectedly or encountered an unexpected error in Windows 10

    If you made upto this blog post, then chances are also seeing this error message. Fortunately, there’s a quick workaround using which you can solve the problem.

    Sometimes, clicking the OK button lets the error message go away. However, if you have already done that and the issue still exist, then here’s what you need to do:

    On the problematic screen, you need to press the SHIFT + F10 key combination. This will open the command prompt terminal.

    Here, you need to type the command regedit and hit enter. Doing this will launch Registry editor.

    Next, you need to head over to following key location: Computer\HKEY_LOCAL_MACHINE\sySTEM\Setup\status\ChildCompletion

    On the right-pane, double click on DWORD 32-Bit value called “Setup.exe“, then change the Value data from 1 to 3.

    ChildCompletion registry key in windows 10

    Once done, close the Registry editor and Reboot your computer.

    This will solve the error that you encountered.

    If this workaround fails to fix the issue, then last resort is to Reset PC and Perform Clean Installation of Windows 10

    Resetting Your PC

    If the above registry method didn’t work, then you can try resetting your PC. Open the Advanced Recovery mode by pressing F8 continuously when the computer is booting. 

    In the advanced recovery mode click on troubleshoot, and then reset this PC. Follow the process to reset the PC, and your computer will get out from the boot loop. 

    Clean Install The Windows

    If the above methods didn’t work, then the last resolve will be to clean install Windows 10 on your PC. You will have to do download the Media creation tool from the official website of Windows 10, and then create a bootable USB drive.

    Boot your computer using the bootable USB drive, and install Windows on your PC. 

    Hope that helped fix the error. Do let us know, which of the above methods helped to solve the issue. 

    Viney Dhiman
    Himachali, Mechanical Engineer, Snooker Lover, Avid drinker of Scotch, Traveler, and Webmaster. (

    Recent Articles

    Related Stories

    Leave A Reply

    Please enter your comment!
    Please enter your name here

    This site uses Akismet to reduce spam. Learn how your comment data is processed.