Your pc ran into a problem and needs to restart

The xanh screen error prompt "Your PC ran into a problem và needs to lớn 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 lớn get rid of the unexpected system crash. If any important files are lost in the process, try data recovery software to get them back.

Bạn đang xem: Your pc ran into a problem and needs to restart

About the Author

review and Awards

Recover Deleted Files in Windows 10/11

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

CasesStep-by-step Troubleshooting
Case1. You can boot WindowsBoot into safe mode và then boot normally > kiểm tra disk > leave enough space for system drive> kiểm tra system log in sự kiện viewer...Full steps
Case2. You can"t boot WindowsPerform system restore > perform system image recovery > restore registry configuration...Full steps
Case3. Stuck in Windows loopPerform startup repair > Perform system/image recovery > restore registry > enter safe mode...Full steps

Applies to: Fix "Your PC ran into a problem và needs lớn restart" issue on the latest Windows 10 20H2 October Update, Windows 10 2004, Windows 10 1909/1903/1809/1803/1709, and more. 

About "Your PC Ran Into a Problem và Needs lớn Restart"

Some Windows users have encountered a situation where their operating system crashes unexpectedly và 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 và information. Among the xanh screens, "Your PC ran into a problem & needs to lớn restart" happens most frequently.


The error "Your PC ran into a problem & needs lớn 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 to "Your PC ran into a problem & needs lớn restart". Thus, there are so many reasons why you encounter the error. But I narrow them down to lớn the following factors:

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

These causes may also lead lớn other xanh screen errors like DPC Watchdog violation, Automatic Repair loop, and 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 & 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 và prepare an automatic repair, which generally doesn"t work & will show you "Your PC did not start correctly". Or you are just stuck at the "Your PC ran into a problem & needs to restart" loop. Specify your situation and 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 khổng lồ restart your computer. Besides, whether you can boot your computer or not, if the error code says "INACCESSIBLE BOOT DEVICE", do check your hard drive connection và remove the peripherals that are attached to lớn your computer.

Situation 1. You Can Boot Windows

Even if you can still boot your computer, you need to 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 và then Boot Normally

Safe Mode is a diagnostic mode of Windows. It starts your PC with the minimal necessary programs & services. In Safe Mode, you can fix some system-related problems by uninstalling incompatible software/driver, deleting problematic files, removing viruses, & more. Even if you vì chưng nothing, booting into Safe Mode is useful khổng lồ repair some system errors by helping the storage system khổng lồ 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 lớn running the CHKDSK command, which is used khổng lồ fix disk errors lượt thích bad sectors and file system errors. If "Your PC ran into a problem và needs lớn restart" appears with "INACCESSIBLE_BOOT_DEVICE", it may be caused by the file system errors on your hard drive. That"s why checking the disk is necessary.

Step 1. Go khổng lồ "This PC". Right-click your drive và choose "Properties".

Step 2. Go to lớn the "Tools" tab and click "Check" > "Scan drive".


Method 3. Leave Enough Space for System Drive

The Windows operating system & some applications installed need sufficient miễn phí space to function properly. If your system drive, generally a C drive, is almost out of space, you should consider extending the system partition khổng lồ 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 to 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" and choose "Run as administrator".

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

Step 4. kiểm tra the errors that occurred simultaneously with the xanh screen & fix the error according to the information.


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

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, & Go back to 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 khổng lồ 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 khổng lồ 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 lớn 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, và more.The "Go back to lớn the previous build" will bring your computer back khổng lồ 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.


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 lớn your computer.

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

Xem thêm: Viết Một Đoạn Văn (Từ 7 Đến 10 Câu) Kể Lại Một Việc Tốt Em Đã Làm Để Góp Phần Bảo Vệ Môi Trường

Step 3. Choose the system image you want khổng lồ recover.

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

Step 5. Follow the wizard to 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" to restore the registry.

The registry is a database that contains the configuration data for the Windows operating system và 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. And that could result in serious problems just like "Your PC ran into a problem & needs to 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 lớn system1CD regbackcopy * c:windowssystem32config

Step 4. Type exit. In the "Choose an option" screen, choose "Turn off your PC" and 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 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 khổng lồ 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 to currently.

Preparation: Steps lớn access the Advanced options via the Windows installation media:

Step 1. Create a Windows installation media according to lớn the official guide supplied by Microsoft.

Step 2. Connect the bootable media to your computer and 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 & choose "Troubleshoot" > "Advanced options".

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

Method 1. Perform Startup Repair

Startup Repair enables you khổng lồ 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 khổng lồ use such options is that you have a restore point or system image available. If not, switch to lớn 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 to lớn 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 do a lot of things khổng lồ cope with the issue, like:

Uninstall incompatible softwareUpdate driverRemove virus/malwareRun System tệp tin Checker tool

To uninstall problematic software: 

Step 1. Go lớn "Start" > "Settings" > "Apps" > "Apps & features".

Step 2. Click the target software và click "Uninstall".


To update the hard drive/motherboard driver: Since your computer cannot boot properly, you need khổng lồ update the hard drive driver or motherboard with a CD or USB that contains the driver. You can tải về the driver from the manufacturer"s website.

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

Step 1. Go khổng lồ "Settings" > "Update và Security" > "Windows Security".

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

Step 3. In the "Threat history" section, click "Scan now" khổng lồ 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 và needs khổng lồ 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 to troubleshoot the "Your PC ran into a problem và needs lớn restart" error in Windows 10/11, try the hard drive recovery software - data recovery software khổng lồ retrieve them. This software can recover files due khổng lồ deletion, format, system crash, & more. Once data loss is found, launch the software & rescue your files as soon as possible.