Fix the "your pc ran into a problem and needs to restart" error


The xanh screen error prompt "Your PC ran into a problem and needs khổng lồ restart" is a prevalent error message. We provide 11 fixes that cover all standard issues that result in this error. Try them one by one khổng lồ get rid of the unexpected system crash. If any important files are lost in the process, try data recovery software to lớn get them back.

Bạn đang xem: Fix the "your pc ran into a problem and needs to restart" error

About the Author

review and Awards

Recover Deleted Files in Windows 10/11

According khổng lồ different situations, the answers to lớn how khổng lồ fix your PC ran into a problem vary. Here"s quick navigation for all solutions, you can directly jump to the part you"re interested in:

CasesStep-by-step Troubleshooting
Case1. You can boot Windows

Fix 1. Boot into safe mode, then boot normally...Full steps

Fix 2. Kiểm tra and repair disk errors with CHKDSK...Full steps

Fix 3. Leave enough space for system drive...Full steps

Fix 4. Check system log in event Viewer...Full steps

Case2. You can"t boot Windows

Fix 1. Perform System Restore with point...Full steps

Fix 2. Perform System Image Recovery...Full steps

Fix 3. Restore Registry configuration with CMD...Full steps

Case3. Stuck in Windows loop

Fix 1. Perform Startup Repair khổng lồ fix the issue...Full steps

Fix 2. Perform System Image Recovery...Full steps

Fix 3. Restore the Registry in Command Prompt...Full steps

Fix 4. Enter Safe Mode khổng lồ uninstall software...Full steps

Applies to: Fix "Your PC ran into a problem and needs khổng lồ restart" issue on the latest Windows 10 20H2 October Update, Windows 10 2004, Windows 10 1909/1903/1809/1803/1709, & more. If you know little about computers and can"t fix system startup errors, you can use the manual Windows repair services of The technical team can help you solve any system startup errors, including system failure, BSOD, unbootable devices, & so on. Windows Recovery Services

Click here to tương tác our experts & get the answers

Consult with data recovery experts for one-on-one manual recovery service. We could offer the following services after không tính tiền diagnosis:

Fix Windows boot issues, including BSODFix Windows error và configure Windows environmentRestore the system when it fails to lớn bootOptimize Windows computer to make it run quickly

About "Your PC Ran Into a Problem and Needs khổng lồ Restart"

Some Windows users have encountered a situation where their operating system crashes unexpectedly and displays the dreaded blue screen of death. There are various underlying causes that can result in a crash, và the system will report different error messages & information. Among the xanh screens, "Your PC ran into a problem and needs to lớn restart" happens most frequently.


The error "Your PC ran into a problem và needs khổng lồ restart. We"re just collecting some error info, and then we"ll restart for you" may occur during the Windows startup process or during normal use.




Each stop/error code indicates the possible causes of the issue. However, there are various error messages (100+) related khổng lồ "Your PC ran into a problem and needs lớn restart". Thus, there are so many reasons why you encounter the error. But I narrow them down khổng lồ the following factors:

Changes in registryCorrupted system filesProblematic driverVirus/malware infectionLoose hard drive connectionImproper shutdown of the system

These causes may also lead to lớn other xanh screen errors lượt thích DPC Watchdog violation, Automatic Repair loop, và more. Data Recovery Wizard

Recover inaccessible files from unboot computers.Support data recovery for sudden deletion, formatting, hard drive corruption, virut attack, system crash under different situations
 Download for Win  Recovery Rate 99.7%
 Download for Mac  Trustpilot Rating 4.4

11 Fixes for Your PC Ran Into a Problem và Needs a Restart in Windows 11/10/8/8.1

If you are faced with the error, there is a slim chance that your computer will work properly after a restart. In more common situations, your PC will restart & prepare an automatic repair, which generally doesn"t work and will show you "Your PC did not start correctly". Or you are just stuck at the "Your PC ran into a problem and needs to lớn restart" loop. Specify your situation và carry out the corresponding fixes khổng lồ have a try.

Notice:You"d better visit this page with another device instead of your computer since some of the solutions below require you to restart your computer. Besides, whether you can boot your computer or not, if the error code says "INACCESSIBLE BOOT DEVICE", do kiểm tra your hard drive connection và remove the peripherals that are attached to your computer.

Situation 1. You Can Boot Windows

Even if you can still boot your computer, you need to lớn apply some troubleshooting steps khổng lồ prevent such an error from happening again. But you are the lucky ones that can fix the error much more easily with a bootable computer.

Method 1. Boot into Safe Mode and then Boot Normally

Safe Mode is a diagnostic mode of Windows. It starts your PC with the minimal necessary programs và services. In Safe Mode, you can fix some system-related problems by uninstalling incompatible software/driver, deleting problematic files, removing viruses, and more. Even if you bởi nothing, booting into Safe Mode is useful khổng lồ repair some system errors by helping the storage system to be reaccessed.

On a functional computer, you can enter Safe Mode via Settings:

Step 1. In Windows 10, click "Start" > "Settings" > "Update và Security" > "Recovery".

Step 2. In the "Advanced startup" section, choose "Restart now".

Step 3. After the restart, choose "Troubleshoot" > "Advanced Options" > "Startup Settings" > "Restart".

Step 4. Now you will see the "Startup Settings" screen. You can choose one of the three Safe Mode options: "Enable Safe Mode", "Enable Safe Mode with Networking", or "Enable Safe Mode with Command Prompt".

Step 5. Restart your computer & see whether it boots properly.


Method 2. Check the Disk

Check the disk is identical to running the CHKDSK command, which is used to lớn fix disk errors like bad sectors và file system errors. If "Your PC ran into a problem and needs lớn restart" appears with "INACCESSIBLE_BOOT_DEVICE", it may be caused by the tệp tin system errors on your hard drive. That"s why checking the disk is necessary.

Step 1. Go lớn "This PC". Right-click your drive và choose "Properties".

Step 2. Go to the "Tools" tab và click "Check" > "Scan drive".


Method 3. Leave Enough Space for System Drive

The Windows operating system and some applications installed need sufficient không tính phí space lớn function properly. If your system drive, generally a C drive, is almost out of space, you should consider extending the system partition lớn create more space for your OS.

Method 4. Kiểm tra System Log in event Viewer

Checking the system log in event viewer is helpful lớn find the culprit of the "Your PC ran into a system" error in Windows 11/10/8/8.1, especially for a problematic device or driver. 

Step 1. Click "Start" and enter the event viewer.

Step 2. Right-click "Event Viewer" và choose "Run as administrator".

Step 3. Expand "Windows Logs" and choose "System".

Step 4. check the errors that occurred simultaneously with the blue screen và fix the error according to the information.


Of course, there are other ways lớn try, including updating the device driver in Device Manager và running hardware diagnostics provided using the Windows built-in feature. If the solutions above fail, continue lớn carry out these methods to cope with the problem.

Related reading: How to Fix Windows 10 Error Code 0xc00000e When Boot Computer

Situation 2. You Can"t Boot Windows & See "Your PC did not start correctly"

In some cases, your PC will restart and prepare a startup repair automatically after the error message appears, resulting in the "Your PC did not start correctly" screen. Here you can see two options: Restart và Advanced options.


If you click "Restart", it"s almost inevitable the computer will come with the same error screen. Thus, you should choose "Advanced options" instead. Afterwards, continue to lớn choose "Troubleshoot" > "Advanced options".

Here you will see five or six options, depending on your Windows version, including System Restore, System Image Recovery, Command Prompt, Startup Settings, và Go back to lớn the previous build. Here is a brief explanation:

If you have created a restore point, then using the System Restore feature will bring your computer back to lớn a functional state. If not, this option is useless.Similarly, if you have created a system image, you can perform a System Image Recovery to lớn bring your system back to life. If not, it"s just not the option for you.In this case, the computer had tried a Startup Repair & failed. Therefore, it"s unnecessary to try it again.In Command Prompt, you can use command lines to lớn execute operations.In Startup Settings, you can enter Safe Mode, disable automatic restart after failure, & more.The "Go back to the previous build" will bring your computer back to lớn an earlier version.Method 1. Perform System Restore

If you have a system restore point available, you can perform a system restore:

Step 1. In the Windows Boot Options menu, select "Troubleshoot" > "Advanced Options" > "System Restore".

Step 2. Choose a previous working state (data) to restore your computer.

Step 3. Wait until Windows restores your system. Then restart the computer.

Xem thêm: Xem Phim Mệnh Lệnh Hoa Hồng Tập 1, Mệnh Lệnh Hoa Hồng


Method 2. Perform System Image Recovery

Alternatively, you can perform a system image recovery if you have created a system image before the issue arise.

Step 1. Connect the external hard drive that contains the system image to your computer.

Step 2. In the Windows Boot Options menu, select "Troubleshoot" > "Advanced Options" > "System Image Recovery".

Step 3. Choose the system image you want to recover.

Step 4. In the Re-image your computer wizard, select the system image, và click "Next".

Step 5. Follow the wizard to lớn format the disks và restore the system.

Step 6. Restart your computer.


Method 3. Restore Registry Configuration

Don"t have any restore point or system image? No worry. Based on the details above, here I recommend you select "Command Prompt" khổng lồ restore the registry.

The registry is a database that contains the configuration data for the Windows operating system and most of the applications. That is why changes in the registry may influence the functionality of your computer or programs. Registry files may get deleted accidentally by yourself or by some program. Và that could result in serious problems just like "Your PC ran into a problem và needs to lớn restart". Luckily, the changes can be reverted with the registry backup files, which you can complete via Command Prompt.

Step 1. Choose "Command Prompt" among the options.

Step 2. Select the account and enter the password.

Step 3. In Command Prompt, enter the following command in order:

C:CD WindowsSystem32CD configDIRCD regbackDIR CD..REN default default1ren sam sam1ren security security1ren software software1ren system to lớn system1CD regbackcopy * c:windowssystem32config

Step 4. Type exit. In the "Choose an option" screen, choose "Turn off your PC" và then start your computer.

Simply speaking, the commands above serve the purpose of replacing the existing system32 config files, which might have been changed incorrectly, with the ones in the backup folder. This method will certainly work if the "Your PC ran into a problem" error is caused by registry changes.

If restoring the registry comes in vain, you can choose "Startup Settings" & enter Safe Mode to lớn try more solutions.

Situation 3. You Are Stuck in the "Your PC ran into a problem" Loop

Unlike either of the two cases above, you have no options available to lớn choose from. All you have is the repeated restart và error circle. In a situation like this, you can either recover data from the corrupted OS or fix the problem with the Windows installation CD/DVD. If you don"t have an installation disc, you can create a Windows installation media as a substitute. With the Windows installation media, you can repair your computer via the Advanced options which you have no access lớn currently.

Preparation: Steps to access the Advanced options via the Windows installation media:

Step 1. Create a Windows installation truyền thông media according to lớn the official guide supplied by Microsoft.

Step 2. Connect the bootable truyền thông media to your computer & boot your computer from the device.

Step 3. Wait for the installation files to lớn load.

Step 4. In the Windows cài đặt window, choose "Next".

Step 5. Click "Repair your computer" in the thiết đặt window và choose "Troubleshoot" > "Advanced options".

In situation 2, I have explained what these Advanced options can do. Khổng lồ fix the "Your PC ran into a problem & needs lớn restart" in Windows 10/11, you can apply the following solutions in order.

Method 1. Perform Startup Repair

Startup Repair enables you to fix certain system problems that might prevent Windows from booting up. It is always a good option when there is a boot failure on the computer.

Method 2. Perform System Recovery/System Image Recovery

The precondition to lớn use such options is that you have a restore point or system image available. If not, switch to other workable ways.

Method 3. Restore the Registry in Command Prompt

Did you change the registry on your computer recently? If you did, enter Command Prompt và follow the steps detailed in situation 2 khổng lồ bring the registry khổng lồ an earlier working state.

Method 4. Enter Safe Mode

As mentioned above, Safe Mode is a diagnostic mode that allows you lớn perform some troubleshooting steps. In Safe Mode (with Command Prompt), you can bởi vì a lot of things lớn cope with the issue, like:

Uninstall incompatible softwareUpdate driverRemove virus/malwareRun System file Checker tool

To uninstall problematic software: 

Step 1. Go to "Start" > "Settings" > "Apps" > "Apps và features".

Step 2. Click the target software and click "Uninstall".


To update the hard drive/motherboard driver: Since your computer cannot boot properly, you need to lớn update the hard drive driver or motherboard with a CD or USB that contains the driver. You can download the driver from the manufacturer"s website.

To remove the virus: Use the anti-virus software or Windows defender to finish the task. I will show you how khổng lồ run Windows Defender.

Step 1. Go to lớn "Settings" > "Update và Security" > "Windows Security".

Step 2. Click "Virus và threat protection".

Step 3. In the "Threat history" section, click "Scan now" lớn scan for viruses on your computer.


To run the System tệp tin Checker tool:

It"s no doubt that missing or damaged system files will cause problems on the computer, either minor or serious. The BSOD "Your PC ran into a problem & needs lớn restart" may also result from system tệp tin errors. Fortunately, the Windows System tệp tin Checker tool is able to check and repair missing or damaged system files. In Command Prompt, enter sfc /scannow to start repairing the system files.

Extra Tip: Recover Data after Fixing "Your PC ran into a problem"

If you have, unfortunately, lost some files after taking the methods khổng lồ troubleshoot the "Your PC ran into a problem and needs to restart" error in Windows 10/11, try the hard drive recovery software - data recovery software to retrieve them. This software can recover files due to deletion, format, system crash, và more. Once data loss is found, launch the software & rescue your files as soon as possible.