SOLVED: The computer restarted unexpectedly or encountered an unexpected error

While installing Windows 7, a common issue is getting the “Computer restarted unexpectedly or encountered an unexpected error” window. 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.

the Computer Restarted unexpectedly or encountered an unexpected error

We present a method to solve the issue:

When you are on the error screen, press SHIFT + F10 to invoke the command prompt window.

In the terminal, type “regedit” without the inverted commas and press enter.

The registry editor should now be opened. Follow the path to HKEY_Local_Machine/SYSTEM/SETUP/STATUS/ChildCompletion. Click on the ChildCompletion folder.

Now on the right hand side of the window, double click on the file “setup.exe”. Make sure that the field under “Value data” is 3. If it is 1 or anything else, you need to change it to 3.

Now close the registry editor and the command prompt.

Click on “OK” on the error window, let the computer restart.

The installation should now complete and you should no longer have to face the error! Let’s know in the comments how it worked out for you!

Kevin Arrows


Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Expert Tip

SOLVED: The computer restarted unexpectedly or encountered an unexpected error

If the issue is with your Computer or a Laptop you should try using Reimage Plus which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Reimage by clicking the Download button below.

Download Now

I'm not interested

Close