Fix 'Your PC Ran Into a Problem and Needs To Restart' problem in Windows 10, 8 (Troubleshooting Guide)
Last updated on August 7th, 2017
"Your PC ran into a problem and needs to restart" is an error message which may appear in computers running Windows 10 or 8 OS (or Windows 8.1) for different reasons from computer to computer.
More specifically, this problem can appear after a Windows or driver update, after power failure or system file corruption, due to a virus attack or due to a memory issue.
When the "Your PC ran into a problem and needs to restart. We're just collecting some error info, and then we'll restart for you. . (100% complete)" error message appears on the screen, the computer is unresponsive to user commands and after the percentage measurement is completed, the system restarts automatically or freezes and the only way to close and restart Windows is by using the computer's power button.
This troubleshooting guide contains detailed instructions on how to resolve the "PC Ran Into a Problem and Needs To Restart" error/problem in Windows 10, Windows 8 or Windows 8.1 OS.
How to fix the "PC Ran Into a Problem and Needs To Restart" Windows 10, 8/8.1 error.
Case A. Windows can Start Normally or in Safe Mode.
1. Follow the solutions mentioned below only if you can login to Windows Normally or in Safe Mode.
2: If you cannot apply the following solutions in Normal Mode then Start Windows in Safe Mode.
To Start Windows 10 or Windows 8 in Safe Mode:
1. From Windows GUI or from the Login Screen: Hold down the SHIFT key and chose Power > Restart.
2. After restart, choose: Troubleshoot > Advanced Options > Startup Settings & click Restart.
3. At Startup Settings, press the F4 key (or the "4") to start Windows into Safe Mode.
3. If Windows can start in Safe Mode, then before applying any of the solutions below, just try to restart your computer and let Windows to start Normally. (This solution in sometimes resolves the "PC Ran Into a Problem and Needs To Restart" error).
4. Before you continue to troubleshoot the "PC Ran Into a Problem and Needs To Restart" problem, make sure that your computer is clean from viruses and malware programs. Detailed instructions on how you can do that you can find in this guide: Quick Malware Scan and Removal Guide.
5. To make your life easier you can enable the F8 – Advanced Boot Options menu – by following these instructions.
How to fix the "PC Ran Into a Problem and Needs To Restart" problem if you can start Windows Normally or in Safe Mode.
Solution 1. Modify Memory Dump setting
First try to modify Memory Dump setting in System Properties:
2. Type “control sysdm.cpl” and press Enter.
4. Uncheck the Automatically Restart checkbox and then by using the drop-down arrow, set the "Write debugging information" to Complete memory dump.
Solution 2: Force Windows to Full Shutdown.
Perform a full shutdown of Windows in order to re-initialize Windows at boot. To do that:
1. While holding the SHIFT key down press Shutdown.
2. Power ON your computer.
3. Check if the "Your PC ran into a problem and needs to restart" problem disappears. If it does, then disable the fast start-up feature permanently.
Solution 3: Check your computer's stability in Safe mode and Update essential device drivers.
In some cases the "Your PC ran into a problem and needs to restart" error can be caused due to an outdated or corrupted device driver. To troubleshoot this issue start Windows in Safe Mode and see if the error persists.
Step 1. Start Windows 8 in safe mode
3. At Boot tab select (Check) the Safe boot option and click OK.
4. Restart your computer.
Step 2: Update essential device drivers.
If the "Your PC ran into a problem and needs to restart" error doesn't appear while in Safe Mode, then you probably have a problem with a software or a hardware device driver. In this case:
A. First Try to uninstall your Antivirus Software.
B. Try to perform a clean boot and identify which service or program causes the problem.
C. Finally uninstall and then re-install some essential device drivers on your system to find out if one of them causes the problem. To do that, uninstall the following drivers in this order (one each time and then restart)
- Display Adapter Driver
- Wireless Adapter Driver
- Ethernet Adapter Driver
Attention: After removing a driver, perform a system restart and check if the error persists before proceeding to uninstall the next device driver. When you find which device's driver causes the "Your PC ran into a problem and needs to restart" problem, then proceed to download and re-install the latest driver version (for that device) from the manufacture's website without uninstalling the rest device drivers from your system.
– To uninstall a device driver from your system:
3. At device manager, expand Display Adapters, right-click on the installed Video adapter (e.g. AMD Radeon) and select Uninstall.
4. When the Uninstall operation is completed, remove also any software related to the uninstalled device from the installed programs (Control Panel > Programs and Features).
5. Restart your computer.
6. Install the latest driver for the uninstalled device(s).
7. Restart your computer and then check if the "Your PC ran into a problem and needs to restart" problem still occurs.
Solution 4. Scan & Repair Windows System files.
The "Your PC ran into a problem and needs to restart" error message may be due to a corrupted file system. To resolve this, use the sfc /scannow (System File Checker) command to repair Windows system files. *
* Note: The sfc /scannow command must be executed from a elevated Command Prompt in order to work properly.
1. Open an elevated command prompt (with Administrative privileges). To do that:
- Right-click at the screen's bottom-left corner and from the pop-up menu, choose “Command Prompt (Admin)”.
2. In the command prompt window, type the following command & press Enter:
- sfc /scannow
3. Wait until Windows scans and repairs system files.
4. When the System file check and repair is completed, restart your computer and check if your computer works smoothly.
Solution 5. Perform a System Restore.
Try to restore your system to an earlier working state:
4. At the first screen press Next.
5. Select a previous restore point from the list* and choose Next.
* Note: To show all available restore points, check the “Show more restore points” checkbox.
6. At the last screen, review your choices and press Finish.
7. Wait until “System Restore” process is completed.
8. Restart your computer.
Case B. Windows CANNOT Start Normally or in Safe Mode.
1. Follow the solutions mentioned below only if you CANNOT login to Windows Normally or in Safe Mode.
2. To apply the solutions mentioned below, you need to boot your system from a Windows Installation media (USB or DVD). If you haven't a Windows installation media, then you can create one directly from Microsoft.
How to fix the "PC Ran Into a Problem and Needs To Restart" problem if you CANNOT start Windows Normally or in Safe Mode.
Solution 1. Modify SATA Mode in BIOS Settings.
1. Power On your computer and press the appropriate key (DEL or F1 or F2 or F10) to enter BIOS settings. *
* Note: The way to enter into BIOS Settings depends on the computer manufacturer. To Enter into your BIOS Settings, pay attention at the first screen as your computer starts and try to find a message like this:
"DEL to enter setup"
"Press ESC to Enter Setup"
"BIOS Configuration: F2"
"F10 to Enter Setup"
2. Load Default Settings (Load Optimal Defaults)
3. Then look on all BIOS screens for a setting named SATA Configuration or SATA Mode or SATA Controller Mode or SATA Operation or Configure SATA as. (This setting is commonly found under the Advanced section).
4. Make sure that the SATA Mode (Type) is set to AHCI and NOT in RAID.
5. Save Changes and Exit BIOS Settings and try to boot on Windows.
– If your computer doesn't boot, apply the next solution.
Solution 2. Change SATA Mode values in registry.
Important: Apply this solution only if you prompted in BSOD screen to search online for this error: INACCESSIBLE BOOT DEVICE
The next solution is to modify the Windows Registry Offline as follows:
1. Boot your computer from the Windows Installation Media.
2. At Language options screen, click Next.
4. Select Repair your computer.
5. Then select Troubleshoot > Advanced Options > Command Prompt.
6. At command prompt type regedit to launch the registry editor.
7. Highlight the HKEY_LOCAL_MACHINE key.
8. From File menu select Load Hive (to load the offline registry).
9. Navigate to the disk where Windows installed on (e.g. "C:").
10. Open the system file found in "%Windir%\system32\config\" directory. (e.g. "C:\Windows\system32\config\system")
11. Type a Key Name for the offline registry (e.g. "Offline") and press OK.
12. Double-click to expand the HKEY_LOCAL_MACHINE key and you should a new key under it, named with the name you typed before (e.g. 'Offline" in this example).
13. Expand this new key & navigate (from the left pane) to this subkey: *
* Note: If you have Window 8, Windows 10 & Server 2012, then navigate to the “StorAHCI” key
(e.g. : “HKEY_LOCAL_MACHINE\Repair\ControlSet001\services\storahci”) , because in these Operating Systems the MSAHCI has been replaced by StorAHCI.
14. At the right pane double click at Start (DWORD) and change its value data to 0 (zero). ClickOK when finish.
15. Perform the same steps and set the Start value to 0 modification to these sub keys:
16. When you finish with the modifications, highlight the key you created before (e.g. "Offline") and from the File menu choose Unload Hive to write back the changes you made to the offline Registry.
17. Close the Registry editor, the Command prompt window and Restart your computer.
18. Enter BIOS settings and specify the SATA mode (IDE-ATA, AHCI or RAID) according your needs or leave the default settings.
Solution 3. Perform a System Restore.
To restore your system to an earlier working state:
1. Boot your computer from the Windows Installation Media.
2. At Language options screen, click Next.
3. Select Repair your computer.
4. Then select Troubleshoot > Advanced Options > System Restore.
5. Select a previous working state (date) to restore your computer.
6. Wait until Windows restores your system and restart.
7. Boot to Windows Normally.
Other solutions to bypass the 'Your PC ran into a problem and needs to restart' error:
1. Check and repair file system errors.
2. Diagnose your hard disk for hardware problems.
3. Diagnose your Memory RAM for problems.
4. Disconnect any external device (e.g. Storage device, Printer, etc.)
Good luck! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.