How to Fix Your PC Ran Into a Problem and Needs to Restart?

BSOD, also known as Blue Screen of Death, is a no joke. Most errors and bugs in Windows do not cause the entire system to crash. Still, sometimes Windows encounters a critical error it cannot recover, which is when BSOD happens. The dreadful message “Your PC ran into a problem and needs to restart” can cause many headaches, especially when it causes unsaved data loss.

This error interrupts any work you do and leads to data loss, corrupt files, and many other problems. It also prevents the user from working comfortably with a computer. Unfortunately, the “Your PC ran into a problem and needs to restart” error sometimes throws a PC into an unbootable state.

The “Your PC ran into a problem and needs to restart” error often appears on the screen for a few seconds. After that, the computer restarts and tries to get back to normal operating mode. If a blue screen of death happens one time after another, Windows automatically switches to recovery mode.

The OS will try to use automatic diagnosing and repair tools. If they fail, you will get a message saying that a PC did not start correctly. There you can manually restart the computer and try to boot Windows normally or go to Advanced options and manually troubleshoot the problem.


Fix Your PC Ran Into a Problem and Needs to Restart Error

The problem is that “Your PC ran into a problem and needs to restart” is a generic term describing that BSOD happened. It applies to a vast list of errors originating from bad software or hardware issues (sometimes both). Without knowing the context, you cannot fix the error.

In addition to that dreadful message, you need to look at the so-called STOP CODE. It is a small cryptic message that appears at the bottom part of the blue screen of death. It may look similar to the following messages:


These short messages are the key for fixing the “Your PC ran into a problem and needs to restart” error. Without them, it is almost impossible to get rid of the problem or figure out what causes it.

Every “Your PC ran into a problem and needs to restart” error type has its troubleshooting method. Sometimes, you can solve the error by updating or rolling back drivers for the chipset, GPU, or other components.

In other cases, the error goes away after replacing broken hardware and corrupts or loose cables (always ensure all cables are properly secured in their slots and do not wobble). Bad overclocking is one of the most common reasons why “Your PC ran into a problem and needs to restart” appears.

We cannot provide you with each solution for this issue. Each problem has its origin and troubleshooting method.

Instead, we will teach you the basics of troubleshooting blue screens of death and a few generic tips you can use to fix the “Your PC ran into a problem and needs to restart” error. Since they are generic, we cannot guarantee they will work in your case. Again, each error has its specific code you need to address differently.

Your PC Ran Into a Problem and Needs to Restart: Easy Solution

Once you get to the Automatic Repair screen, do the following:

  1. Click the Advanced Options button.
  2. Click Troubleshoot.
  3. Select Advanced Options.

These steps are required to launch Command Prompt and run some commands that will try to resurrect your PC. We need to either use a system recovery point or restore a Registry backup. These options will help you to fix “Your PC ran into a problem and needs to restart” error if it happens due to a software glitch or issues that do not involve physically broken or damaged hardware. Unfortunately, no restore point or driver can solve a damaged component.

At this point, you have three options: Continue, Troubleshoot, or Turn off your PC.

Clicking Continue does nothing in terms of troubleshooting. After clicking Continue, the computer simply restarts and tries to boot normally just to experience the problem again. The same goes for Turn off your PC. You need to press Advanced options and use available options.


your pc ran into a problem and needs to restart

If you are familiar with system restore points, use the System Restore option. It allows restoring available points to quickly bring back your computer to a working state (assuming you are dealing with a software issue). We recommend creating restore points regularly whenever your computer operates as it should. Such a simple task will save you time and energy if something goes wrong.

Follow the on-screen instruction and select one of the available restore points. If there are no restore points available to fix “Your PC ran into a problem and needs to restart”, skip this step and try to recover the System Registry using the instructions below.

Now let’s try solving the problem using Command Prompt and Registry Recovery. Press Command Prompt to run cmd.exe with elevated privileges (run as Administrator).

your pc ran into a problem and needs to restart windows server

Warning. Do not mess with Windows Registry. Do not edit registry values if you do not know what they do. Careless and random editing of Windows Registry often causes “Your PC ran into a problem and needs to restart” errors, so we list the instruction below as a generic fix.

  1. Enter C: to go to the system drive.
  2. Navigate to the system32 folder using the command:
    CD Windows\System32
  3. Then type in and run:
    CD config
  4. The last command is:

    Type it and hit Enter on your keyboard.
    your pc ran into a problem windows server 2012

  5. Now we want to see the files here. Type in DIR and click Enter.
  6. As you can see, there is a folder called RegBack. It is responsible for backing up Windows Registry in cases like the one we are currently dealing with. You can use the RegBack directory to fix the “Your PC ran into a problem and needs to restart” error. Go into that folder using the command:
    CD Regback
  7. There should be around five files (DEFAULT, SAM, SECURITY, SOFTWARE, and SYSTEM). These are the registry backups. cmd regback
  8. Now, go back to the config folder using the CD command.
  9. After that, type in DIR to see the files in that folder. There are five files with the same names as you can see now. Although they use the same name, there is a big difference between them. The files in the RegBack folder are there for backup, and the files in the config folder are the ones Windows is using now.

At this point, all you must do is replace files in the config folder with files from the RegBack folder. Do note cut or delete them. Better keep them with a different name in case you need to recover the files for further troubleshooting.

  1. You can rename the DEFAULT file by using the command:

    It will rename DEFAULT to DEFAULT1. Do the same thing with the other four files. cmd regback rename

  2. Now you have to copy five files from the RegBack folder to the config folder.
  3. Type in CD RegBack to go to the RegBack folder. Next, enter the following command:
    COPY * C:\Windows\System32\config

    cmd regback copy

  4. Go to the previous directory and type in DIR. Enter the EXIT command to shut down Command Prompt.
  5. Now click Turn off your PC and then turn it back on. If the root of the “Your PC ran into a problem and needs to restart” was a corrupt registry, everything should be back to normal. If not, the blue screen of death may appear again. In this case, make sure you have your smartphone near to quickly take a photo of the error code and search for its troubleshooting later.
I enjoy technology and developing websites. Since 2012 I'm running a few of my own websites, and share useful content on gadgets, PC administration and website promotion.

One comment

  1. Hi thank your post, however I am getting this error when i execute REN DEFAULT DEFAULT1 “the process cannot access the file because it is being used by another process”. Do you have any solution for this, I will appreciate.

Leave a Reply

Your email address will not be published. Required fields are marked *

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