Problem solution: “The computer restarted unexpectedly or encountered an unexpected error. The computer rebooted unexpectedly or an unexpected error occurred - how to fix it? Installing windows computer rebooted unexpectedly

If you have the problem “The computer restarted unexpectedly... (The computer restarted unexpectedly...)”, then you can solve it by reading this article.

I had a problem with an unexpected reboot and I couldn’t solve it for about a week and didn’t understand what was going on, because it was the first time I’d seen this. And I tried different methods. The described method helped me, but temporarily, after 2-3 reboots of Windows or installing some Windows drivers no longer loaded with an error.

I tried different ones Windows versions, formatted my SSD drive via LiveCD, via Paragon. I did both quick and full formatting, which takes much longer than the quick one that can be done when installing Windows. I burned different bootable flash drives, tried a bunch of options, but nothing helped - after a couple of reboots, Windows would no longer boot.

To solve the problem of unexpected reboot, when this error occurs, press Shift + F10(hold the Shift key and press F10) to open Windows console. Further type regedit and press Enter to open Registry Editor.

Next you need to go to HKEY_LOCAL_MACHINE > SYSTEM > Setup > Status > ChildCompletion. To open the folder structure, double-click first on the HKEY_LOCAL_MACHINE folder, then twice on SYSTEM, then twice on Setup.

There will be a setup.exe parameter and a value of 1 in hexadecimal.

Instead of 1, put the number 3 and click OK.

After a couple of minutes or ten minutes, Windows will install and you can continue or start working.

Why does the error “The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot continue. To install Windows, click OK to restart your computer, and then restart the installation."

In the end I understood the problem. , and later. After installing the SSD drive there were no big problems, although they always appear on my laptop, but I solve them. But after changing the RAM, an unsolvable problem appeared for about a week and no internet advice helped.

I decided to act: I took out my old 2 sticks of RAM and installed a new one. The computer worked, the memory test was normal, I tested the memory for about 2 hours and no errors. But by removing the new RAM and installing the old one, I solved the problem. I was even able to enable AHCI mode for the SSD drive and install all versions of Windows.

Therefore, if you have a problem installing Windows and receive the error “the computer rebooted unexpectedly...”, remember what you recently changed in your computer and remove it by returning the old one.

I will still order more RAM, but now I will only buy Samsung, just like I have a Samsung SSD drive and a Samsung laptop. Before that, I checked the RAM and it should have been suitable for the voltage of 1.5 Volts and the megahertz and volume supported by my motherboard. But in the end, after a long search for a solution, the problem turned out to be exactly that. It is not compatible with my laptop for some unknown reason.

But as I recently looked at the Intel website again, and in the aida 64 program, it turns out that my laptop supports a maximum of 1066 MHz, but for some reason it seemed to me earlier that it supports 1600 MHz. This is exactly what I think was my mistake. There was an incompatibility in the MegaHertz memory.

Here is a video on this topic.

Details Views: 141

The essence of the problem: When installing Windows 7 at the last stage (after an error occurs, after the blue screen or after an emergency shutdown), the computer reboots cyclically and the following message is displayed:

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

in English:

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.

Solution to the problem:

When this error appears, press the Shift + F10 keys on the keyboard, it will start command line, enter the regedit command, thus launching the registry editor. We are looking for the section HKLM\System\Setup\Status\ChildCompletion. There is a key in the section called setup.exe. If the key is assigned the value 1, then double-click it and change it to 3. Then close the registry editor and restart the computer

  • Forward >

Sometimes while installing Windows completely or switching to Windows 10, the user encounters a problem like:

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

The administrator agrees (there is nowhere to go anyway), clicks OK and... the computer reboots again with the same error. And so time after time. Unfortunately, at this stage there is very little information about what is happening, and yet there are a lot of reasons: hanging in some kind of installed program. At the same time, as practice shows, the installation problem awaits users of any version of Windows: from 7 to 10. The last time I personally encountered such an error was after processing the next version of Windows through , which means I needed an advanced solution to the problem. Which I will give here.

The computer suddenly rebooted...

So what can you do? If the system is able to show dialog boxes, then everything is not so bad, and we will most likely have access to repair utilities from the System32 folder. Try the following solution to the problem: it is not new, it can be Googled in any language and has been known since time immemorial:

  • During the next attempt to install Windows, we wait for an error window to appear
    after it appears, hold down the keys Shift +F10 and go out to

  • in it the team
regedit.exe

call the registry editor

  • from there we go to the section

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion

  • on the right you need to find the parameter setup.exe. Most likely, its value is set to 1 . If so, change to 3 double click on it:

We just forced the installation process to jump to another level, skipping the “incomprehensible” error

  • you can reboot right now from the console window with the command
wpeutil reboot

Try installing/updating Windows again. I am confident that the update or installation process will now go smoothly. If the error repeats or you encounter another one (even the process freezes), dig into the hardware components of the computer.

However, in the meantime, I need to get Windows out of this mode and prevent the error from appearing again. Let me remind you that the problem appeared in Audit mode sysprep. So, we continue to dig into the registry. I don’t reboot and go to the section in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status

where the following parameters in the following subsections are ultimately assigned the following values:

~\AuditBoot – 0

~\ChildCompletion\setup.exe – 3

~\ChildCompletion\audit.exe – 0

~\SysprepStatus\CleanupState – 2

~\SysprepStatus\GeneralizationState – 7

~\UnattendPasses\auditSystem – 0

After reboot Windows left the mode Audit, booting into mode OBE. I had to re-create it so that Windows would safely hide it again during the next installation.

Good luck to everyone.

Read: 279

One of the most alarming and unpleasant signals for any user is the appearance on the screen of a system message that the computer has unexpectedly rebooted or an unexpected error has occurred. Naturally, a spontaneous restart can frighten anyone. The saddest thing is that such an error can appear in completely different situations and indicate both conflicts in the software environment and possible problems with hardware. Next, we will consider the most typical situations in which this failure occurs, as well as the simplest methods for eliminating problems that arise.

The computer rebooted unexpectedly or an unexpected error occurred: possible reasons for the failure

As for the occurrence of problematic situations, there can be quite a lot of them. For some reason, it is believed that in most cases the appearance of a notification that the computer has unexpectedly rebooted or an unexpected error has occurred is associated solely with the computer hardware. This is not always the case, although it could be the root cause. Even when installing drivers or other software, the possibility of such a failure cannot be ruled out.

But among the main situations, several of the most common ones can be identified:

  • exposure to viruses in a running system;
  • clean installation or reinstallation of the OS;
  • mismatch between drivers or installed programs and hardware;
  • problems related to the performance of hard drives and hard drives random access memory.

The impact of viruses and methods of neutralizing them if the system cannot be loaded

It goes without saying that a viral effect on the OS cannot be ruled out. Many modern threats can disable any system. For example, you can even find those that focus the maximum light power at one point on the monitor, which is why it simply burns out. But this is just an example.

If the failure is really related to viruses, and it is not possible to restart the computer in normal mode or with a safe start (the error appears again), the user has no choice but to check the system for possible threats exclusively using boot utilities like Kaspersky Rescue Disk. Such programs are written to removable media (optical disks, USB devices) and have their own boot records to start even before Windows boot and can find deeply hidden threats not only on hard drives, but also in RAM. After starting from such a disk, in order to identify all possible threats, it is better to set not the standard scan offered in the default settings, but to select all logical partitions and boot records using deep scanning.

Installing or reinstalling the system

Perhaps the most common situation is when a failure manifests itself at the system installation stage. In this case, a message is also displayed stating that the computer rebooted unexpectedly or an unexpected error occurred. Few people know how to fix this problem. The situation is aggravated by another unpleasant factor. The fact is that you can restart the computer, but in most cases the error occurs again, and during subsequent restarts it goes in cycles.

The saddest thing is that no means help, except one. When a failure message appears on the screen, the first thing you need to do is call the command console using the Shift + F10 combination and enter the registry editor (regedit) line in it.

In the registry, in the HKLM branch, through the system directory, installation and status folders, get to the ChildCompletion section, in which the setup.exe key will be shown on the right. Either through RMB or by double-clicking, you should enter the parameter editing and change its value from one to three, confirm the actions by pressing the OK button and restart Windows installation after restarting the computer or laptop. Usually after this the problem disappears.

Possible Windows errors during the installation of drivers or user programs. What to do?

Unfortunately, a failure with a notification that the computer has unexpectedly rebooted or an unexpected error has occurred can also manifest itself in a running system, when the user independently installed drivers for some devices that are not suitable for them, or software, incompatible with either the system or the hardware. The problem, although unpleasant, is solvable.

If a normal restart does not eliminate the error, you can try to restart the computer and roll back by selecting from the start menu called up by pressing the F8 key, loading the last known successful configuration, or try to start in safe mode, and then remove faulty drivers or programs that were installed recently and caused malfunctions in the OS.

RAM conflict issues

An equally common problem is malfunctioning RAM strips. In particular, this applies to replacing them or increasing existing RAM by installing additional sticks.

In this case, you will have to remove each strip one by one and reboot the system. If a problematic strip is identified (when the system boots in normal mode), it will need to be replaced. Particular attention should be paid to specifications memory and motherboard. This applies to supported volume, voltage and operating frequency. In other words, in a motherboard slot designed for 2 GB, 4 GB of RAM will not work. The same applies to installing memory with support for 1600 MHz in a slot oriented only at 1066 MHz. Well, it goes without saying that the operating voltage should be taken into account.

Problems with SSD drives

Finally, the most unpleasant situation concerns SSD hard drives. For some reason, it is on them that such a glitch appears most often. Of course, at the system installation stage, you can try to delete all logical partitions or perform a full format hard drive, but, as practice shows, in most cases such actions do not give the desired effect.

One solution could be to switch the operating mode when installing the system to IDE (this is a prerequisite), and use AHCI in a running system. These settings can be changed directly in the primary BIOS/UEFI I/O system.

Brief summary

If we draw a line under all of the above, we can note the fact that in most cases the error appears at the stage of system installation. Other situations are not so common. If we talk specifically about RAM and hard drives, it is better to select equipment of the same brand, for example, install both a hard drive and memory from this manufacturer on Samsung laptops. In this case, the occurrence of conflicts is eliminated almost one hundred percent.

Approximately the error sounds like this: “ The computer rebooted unexpectedly, or an unexpected error occurred...". It can pop up at any stage of installation of Windows 10, as well as later versions operating systems. There are plenty of reasons for this, for example, a conflict in the hardware, bad BIOS firmware, viruses, problems with hard drive or potentially dangerous programs that were installed on the PC before, and it will take a lot of time to find them. But there is one effective way, which we recommend resorting to immediately, it is written about in today’s article.

The computer constantly restarts and an error appears - what should I do?

We want to say right away that when this notification appears, neither the “OK” button nor the next OS installation will help. The message will appear continuously.

It's better to do this:

  • As soon as this information is displayed, press the key combination Shift+F10;
  • In the window we enter regedit and press Enter;
  • Let's move along the path

If the above methods do not work

If the message “The computer rebooted unexpectedly or an unexpected error occurred” continues to haunt you, here are some recommendations.

  1. Scan your PC for viruses and spyware;
  2. Roll back the system to an earlier date;
  3. Uninstall programs and games that were installed before the problem;
  4. Delete the partition on the hard drive on which the OS is installed and create it again;
  5. Check the HDD for errors, sectors, etc.;
  6. Try a different ISO Windows image 10;

Top