If your computer randomly restarts, the problem is usually caused by hardware issues, software conflicts, overheating, driver problems, or incorrect system settings. This guide explains the common causes and 7 effective solutions to stop Windows from restarting unexpectedly.

Why Does Your Computer Keep Restarting

In daily use of computers, you might notice that your computer randomly restarts. At times, it shows a blue screen with error messages, while other times it just restarts without any warning.

This issue can occur during various activities like gaming, drawing, writing, and more, which can significantly impact your computer experience and even lead to data loss. This problem may leave you wondering “Why does my computer keep restarting”.

Here are the common factors that cause your computer to restart randomly:

  • Overheating: CPU/GPU temperature protection triggers an automatic restart.
  • Faulty RAM: Memory errors cause crashes and reboot loops.
  • Bad drivers: Incompatible graphics or chipset drivers trigger system failures.
  • Unstable power: The computer power is unstable due to a battery failure or a poor power cord connection.
  • Windows Update problems: Failed updates may damage system stability.
  • Software conflicts: Background software or services are interfering with each other or the Windows system.
  • Windows system failures: Old system versions may have some bugs that prevent the computer from running stably.
  • Improper system settings: Some convenient system functions may also cause the computer to randomly restart with no error.
PC Keeps Shutting Down Without Warning? Causes and 11 Fixes
PC Keeps Shutting Down Without Warning? Causes and 11 Fixes

This comprehensive Windows guide explains how to fix the problem of “PC keeps shutting down without warning” and how to protect your data.

Read More

Recover Lost Files After Random Restarts (if Necessary)

A large number of users in major forums reported that they encountered data loss after repeated restarts. Therefore, we want to explain how to recover lost files first in case the fixes listed below cause further damage to your files. If this is your case, you can keep reading to learn how to get your files back. If not, you can skip this part to repair your computer.

To undelete files on Windows, first, you should check if they are located in the Recycle Bin, which Windows uses to store deleted files temporarily.

If the wanted files are not in the Recycle Bin and you do not have a backup, the next option is to try data recovery software. This type of software scans your storage device for deleted or lost files and recovers them as long as the data has not been overwritten.

MiniTool Power Data Recovery can help recover lost files from Windows computers. It supports various file types, including documents, pictures, videos, audio files, and emails, and works with internal drives, SSDs, and external storage devices.

Now click the button below to download the free edition of MiniTool Power Data Recovery and use it to recover 1 GB of files for free.

MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe

Step 1. Select the target drive/disk/location to scan.

Once the main interface of MiniTool Power Data Recovery pops up, you will see three options: Logical Drives, Devices, and Recover From Specific Location.

    Find and select the drive/location from which you need to recover files, and then hit the Scan button on it.

    select the Desktop to scan for deleted files in MiniTool Power Data Recovery

    The scan duration depends on various factors, including the amount of data stored on the drive and its current condition. For the best scanning result, you are suggested to wait patiently until the scan is completed automatically.

    Step 2. Find and tick the needed files with multiple useful features.

    After scanning, the files found from your drive will be classified according to the file path under the Path tab. Typically, there are Deleted Files, Lost Files, and Existing Files directories listed, and you can expand the preferred one to find your items. It enables you to recover files with the original folder structure.

    Here is a category list named Type next to Path. Under this tab, all files are organized by file type (Document, Picture, Audio & Video, E-mail, etc.) and file format (docx, xlsx, pdf, pptx, jpg, png, etc.). You can switch to this tab and find your files according to file type.

    found files are listed under Path and Type in MiniTool Power Data Recovery

    There are two other functions worth mentioning, namely Filter and Search. The former allows you to screen out unwanted files by file type, file size, file modification date, and file category. The latter enables you to search for a specific file by inputting the file name (partial or complete name both supported) and pressing Enter.

    the Filter and Search features are used to find needed files in MiniTool Power Data Recovery

    Step 3. Save the selected files.

    Now, check whether all the files you want to recover are selected. If so, hit the Save button in the lower right corner, and then choose a location from the pop-up window to store the recovered files. Be aware that do not save the recovered items to the original location where they were located since this may cause data overwriting.

    save the ticked files in MiniTool Power Data Recovery
    6 Free Windows Data Recovery Programs Tested and Compared
    6 Free Windows Data Recovery Programs Tested and Compared

    This guide introduces secure and free Windows data recovery program with advanced features to help you undelete files.

    Read More

    How to Fix Computer Randomly Restarts No Blue Screen

    In this section, we will share some practical solutions to resolve repeated computer reboots. You can try them one by one to verify which one suits your case.

    Solution 1. Troubleshoot Hardware Problems

    When your PC randomly restarts no error, you should first troubleshoot hardware issues. Loose connections, overheating components, faulty RAM, or power issues can cause sudden system crashes and unexpected reboots.

    Make sure all cables and hardware are intact and securely connected, especially the memory and power cables.

    For desktop computers, you can remove and reinstall the RAM sticks to ensure they are seated correctly.

    You should also test your RAM for errors using the built-in Windows Memory Diagnostic tool:

    Step 1. Press Windows + R, type mdsched.exe, and press Enter.

    Step 2. Select Restart now and check for problems.

    Step 3. Wait for Windows to complete the memory test and check whether any errors are detected.

    For laptops, you should also make sure the power adapter is working properly and the battery is charged. In addition, it is recommended that you remove all unnecessary external devices for troubleshooting.

    Solution 2. Disable the Automatically Restart Feature

    Automatically Restart is a Windows feature used to reboot the computer so as to restore system operation as soon as possible when it detects some system errors. However, it may be the reason why your computer randomly restarts when gaming or doing other activities. To rule out this cause, you can disable Automatically Restart by following the steps below.

    Step 1. In the Windows search box, type View advanced system settings and then select it from the search result.

    Step 2. Under the Startup and Recovery section, hit the Settings button.

    Step 3. In the new window, untick the Automatically restart option.

    disable the Automatically Restart feature in system properties

    Step 4. Hit OK in each window. Then check if your computer still restarts randomly.

    Solution 3. Disable the Fast Startup Feature

    Fast Startup is a powerful feature used to speed up startup by avoiding loading all system files and drivers from scratch each time the computer starts. However, it may cause your computer unstable or even restart repeatedly. In this case, you can try to disable it.

    Step 1. Type Power & sleep settings in the Windows search box and press Enter to open it.

    Step 2. Choose Additional power settings.

    Step 3. Select Choose what the power button does > Change settings that are currently unavailable.

    Step 4. Untick the Turn on fast startup option and click Save changes.

    Solution 4. Run a Virus Scan

    If your computer restarts randomly due to a virus or malware infection, running a virus scan is the most effective solution. You can use Windows’s built-in antivirus – Windows Defender to perform a virus scan without downloading any third-party tools.

    Step 1. Press the Windows + I key combination to open Settings.

    Step 2. Select Update & Security > Windows Security > Virus & threat protection.

    Step 3. When the new window pops up, hit the Quick scan option to start scanning your computer for threats.

    run a quick virus scan
    How to Recover Files Deleted by Virus Attack: Complete Guide
    How to Recover Files Deleted by Virus Attack: Complete Guide

    We’re glad to share solutions with users to help them recover files deleted by virus attack quickly and safely.

    Read More

    Solution 5. Update Windows

    A Windows system that is not updated in time may have some unfixed bugs, causing the computer to run unstably or even restart randomly. Updating to the latest system can get newly released security patches, driver updates, and system stability improvements.

    To update Windows, simply open Settings, select Update & Security, and then check for updates according to the on-screen instructions.

    Solution 6. Perform a Clean Boot

    To verify if tasks or services are running in the background and interfering with the stable running of the system, you can carry out a clean boot. This boot mode helps troubleshoot software conflicts by enabling only necessary system services and programs.

    Step 1. Press the Windows + R keyboard shortcut to open Run.

    Step 2. Type msconfig in the text box and press Enter.

    Step 3. Go to the Services tab, tick the Hide all Microsoft services box, and then hit Disable all.

    disable all non-Microsoft services in system configuration

    Step 4. Switch to the Startup tab, and hit Open Task Manager. Next, disable all startup items.

    Step 5. Restart your computer into clean boot mode and observe whether the problem still exists. If not, it means there is software interfering with your computer. In this case, you should enable disabled services and startup items one by one and restart the computer after each one until you find the software or service that is causing the problem. Afterward, you can uninstall that software or disable the problematic service.

    After resolving the problem, how can you return to normal startup? In the System Configuration window, select Normal startup under the General tab.

    Solution 7. Reinstall Windows

    If all the methods fail to restore your computer to a normal state, you may consider reinstalling Windows. You can refer to this official guide: How to Reinstall Windows.

    This is all information about what should you do when your computer randomly restarts.

    Discover practical solutions for annoying repeated PC restarts. If your computer keeps restarting, these tips might just do the trick.Click to Tweet

    Top Recommendation: Back up Files

    Now that Windows computer restarts randomly and the data loss it brings has been solved, it does not mean that the same situation will not occur in the future. Therefore, it is crucial to safeguard your data to prevent future loss. You may consider backing up your important files using Windows built-in tools like File History or reliable third-party file backup software.

    We recommend you use MiniTool ShadowMaker since it provides you with a comprehensive backup type, flexible backup schedule, smart backup management, and quick file restore. To be specific, you can use it to back up files/folders, partitions/disks, and systems on a daily, weekly, monthly, or event basis.

    Hit the button below to download and install MiniTool ShadowMaker Trial Edition which supports a 30-day free use.

    MiniTool ShadowMaker TrialClick to Download100%Clean & Safe

    Preparing Automatic Repair Loop in Windows 10/11: How to Fix It
    Preparing Automatic Repair Loop in Windows 10/11: How to Fix It

    Is your Windows computer stuck on the preparing automatic repair black screen? Here are some useful and simple solutions to fix it.

    Read More

    To Sum Up

    Struggling with constant computer restarts? Check out our guide on fixing this common issue to keep your PC running smoothly. Also, if you encounter file loss, use MiniTool Power Data Recovery to get your files back.

    Suppose you need any help with MiniTool software, please feel free to reach out to our support team for assistance via [email protected].

    Computer Restarts Randomly FAQ

    Can bad RAM cause a PC to restart?
    Yes. Faulty or incorrectly installed RAM can cause random restarts, blue screen errors, system crashes, and application failures. You can use the built-in Windows Memory Diagnostic tool to check whether your RAM has errors. If problems are detected, try reseating the RAM modules or replacing faulty memory.
    How to see what caused a PC restart?
    You can check Windows Event Viewer to identify the cause of an unexpected restart. Open Event Viewer, go to Windows Logs > System, and look for critical errors around the restart time. If a blue screen appears, check the error code because it can help identify whether the issue is related to drivers, hardware, or Windows system files.
    Does a virus cause random restarts?
    Yes, malware can sometimes cause random restarts by interfering with Windows processes, modifying system files, or affecting system stability. Running a virus scan with Windows Security can help detect and remove potential threats.
    Why does my PC randomly turn off while I’m playing games?
    A PC that randomly restarts or shuts down during gaming is often caused by overheating, graphics driver problems, insufficient power supply, or unstable hardware. Check CPU/GPU temperatures, update graphics drivers, and make sure your power supply provides enough power for your components.
    • linkedin
    • reddit