How to Fix The computer restarted unexpectedly or encountered an unexpected error on Windows VPS

Estimated reading: 2 minutes 187 views

In some cases, during a clean Windows installation, upgrading to a new Windows, you can receive the error “The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed”. When you click OK, the computer restarts and the error window appears again, and so it goes again and again… What can you do in this case to continue Windows installation?

How to Fix The computer restarted unexpectedly or encountered an unexpected error on Windows VPS

This problem may appear after reboot during the Windows installation (or update) and looks like this:

Then you can access the Windows VPS via the VNC console to fix this problem
If you don’t know how to log in via the VNC console. You can refer to the following instructions:

https://green.cloud/docs/how-to-access-the-windows-vps-via-open-console/
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.

error loop: The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed

As I said before, if the “computer restarted unexpectedly” error occurs, neither the click on the OK button nor the restart of the Windows installation wizard helps – the error still gets looped.

To fix the problem, you don’t need to close the error message or click OK:

  1. Press Shift + F10 right on the screen with the error. On some laptops, you need to use a keyboard shortcut Shift+Fn+F10, or disable the System Configuration -> Action Keys Mode = Disabled option in the BIOS settings;
  2. In the command prompt that appears, start the Registry Editor using the regedit command;
    run regedit in winpe
  3. In the Registry Editor, go to the reg key HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion;
  4. In the right panel, find the parameter named setup.exe. Its value is likely to be 1. Change it to 3 and save the changes;
    Note. Thus we make force the Windows installer to go to the next installation phase.

    windows registry key ChildCompletion setup.exe

  5. Close the Registry Editor, and restart your computer by clicking OK in the error windows or using this command: shutdown -r -t 0 or wpeutil reboot

After the restart, the Windows installation/update process should continue normally.

windows 10 installation just a moment

This problem is typical not only for Windows. This solution of the interrupted installation of the operating system works well in Windows, and Windows Server.