Windows installation cannot proceed. to install windows click ok to restart the computer

How to Fix "The computer restarted unexpectedly or encountered an unexpected error" Error

You may have experienced "The computer restarted unexpectedly or encountered an unexpected error." This message also states the following: 'Windows installation cannot proceed. To install Windows, click "OK" to restart the computer, and then restart the installation.'

Windows installation cannot proceed. to install windows click ok to restart the computer

The computer restarts in some cases, but you still can't proceed with the installation. This frustrating error affects many users, but, fortunately, there are solutions.

The error usually occurs when users try to update or upgrade their current Windows operating system versions or use a recovery disk to restore Windows to its factory settings. In some cases, this creates an infinite restart loop.

A few possible fixes to the problem will allow you to exit the endless restart loop. To resolve "The computer restarted unexpectedly or encountered an unexpected error," you might need to edit the Windows registry using Command Prompt commands, run the Automatic Repair tool, format the hard drive, and take other actions.

Video Showing How to Fix "The computer restarted unexpectedly or encountered an unexpected error" Error:

Table of Contents:

  • Introduction
  • Edit Windows Registry
  • Run Automatic/Startup Repair
  • Format Your Hard Drive
  • Video Showing How to Fix "The computer restarted unexpectedly or encountered an unexpected error" Error

Edit Windows Registry

Windows Registry is a collection of databases of configuration settings in Microsoft Windows operating systems. It stores much of the information and settings for software programs, hardware devices, user preferences, operating system configurations, and much more.

To fix the "The computer restarted unexpectedly or encountered an unexpected error" problem, you will need to change the ChildCompletion DWORD value data. To do so, press Shift + F10 keys on your keyboard. This should bring up the Command Prompt window. If this combination does not work, access Advanced Startup Options.

Read this guide and use the "Interrupt Windows Boot Process" method, or use the Windows Installation CD/DVD/USB to access Command Prompt. In Command Prompt, type "regedit" and press Enter. This will open Registry Editor.

Windows installation cannot proceed. to install windows click ok to restart the computer

Now follow this path: "HKEY_LOCAL_MACHINE/SYSTEM/Setup/Status/ChildCompletion". Select the "ChildCompletion" key and double-click "setup.exe" REG_DWORD, or right-click it and select "Modify..." from the contextual menu.

Windows installation cannot proceed. to install windows click ok to restart the computer

In the Edit DWORD (32-bit) Value window, set the value data to 3 and click "OK". Close the Registry Editor, restart your computer, and check if you still receive the "The computer restarted unexpectedly or encountered an unexpected error" error while trying to update, upgrade, or recover your Windows operating system.

Windows installation cannot proceed. to install windows click ok to restart the computer

[Back to Table of Contents]

Run Automatic/Startup Repair

Automatic/Startup Repair is a Windows diagnostics-based troubleshooting tool commonly used to repair the Windows operating system when an issue prevents startup. It is usually able to fix problems when there are damaged or missing system files. It might fix the "The computer restarted unexpectedly or encountered an unexpected error" issue, which prevents you from upgrading, recovering, or updating Windows.

To launch Automatic/Startup Repair, you must use the Windows Installation Media on your DVD/USB or interrupt the boot process. You can find instructions in the previous method. Once you are in the Advanced Startup Window, click "Troubleshoot".

Windows installation cannot proceed. to install windows click ok to restart the computer

Then click "Advanced options".

Windows installation cannot proceed. to install windows click ok to restart the computer

Now click the "Startup Repair" option. Windows will start to diagnose your computer. See if this fixes the "The computer restarted unexpectedly or encountered an unexpected error" error.

Windows installation cannot proceed. to install windows click ok to restart the computer

[Back to Table of Contents]

Format Your Hard Drive

Disk formatting is the process that prepares your data storage device (in this case, the hard drive/HDD) for initial use. It is considered the best way to erase all information stored on a hard disk drive (or another drive) before installing a clean version of the Windows operating system.

If the two methods described above did not fix "The computer restarted unexpectedly or encountered an unexpected error", formatting your hard drive should do it. As mentioned before, however, this will erase everything from your hard drive.

To format your hard drive, open Command Prompt as described in previous methods. In Command Prompt, type these commands and press Enter after each:

Diskpart
list volume
select volume 1 (change '1' to the number assigned to the drive you want to format)
format fs=ntfs quick label=test (you can change "test" to any label)
exit

Windows installation cannot proceed. to install windows click ok to restart the computer

When the formatting is complete, restart the computer and try to install Windows again. Nevertheless, we hope it was unnecessary to format your hard drive (a rather drastic measure) and that the first method worked to resolve the "The computer restarted unexpectedly or encountered an unexpected error" issue.

If you know of other solutions to this problem not mentioned in our guide, please share them with us by leaving a comment in the section below.

[Back to Top]

How do you fix the computer restarted unexpectedly Windows installation Cannot proceed?

The Computer Restarted Unexpectedly Loop Windows 10. ... .
Method 1: Disconnect All Your USB Devices. ... .
Method 2: Check Your Hard Drive Cables. ... .
Method 3: Use Windows 10 Recovery Drive. ... .
Method 4: Edit the Registry Editor. ... .
Method 5: Update Your BIOS. ... .
Method 6: Perform a Clean Installation. ... .
Top Recommended: Back up Your System..

How do I fix Windows installation error?

Click Start. , type services. ... .
Right-click Windows Installer, and then click Properties..
If the Startup type box is set to Disabled, change it to Manual..
Click OK to close the Properties window..
Right-click the Windows Installer service, and then click Start. ... .
Try to install or to uninstall again..

Why does my Windows 10 installation keep failing?

One potential reason you might see the error message “Windows 10 Installation has Failed” is if a key system dependency, process, or service is corrupted and cannot be swapped out for a new one during the upgrade process.