How to Find out Why Windows 10 Shuts Down for No Reason

Blog

Why Does a Windows 10 PC Turn Off While Streaming Videos?

When you play a video on your PC or stream a video online and the system is forced to shut down, it could be due to hardware issues or overheating.

The chances of your PC overheating depend on the programs that are running on your computer at the moment and how ventilated the room is. It is important to make sure that the surface on which you placed the computer is not blocking the vents and trapping in heat. That causes overheating and could be the reason why the system shuts down suddenly.

However, if that is not the case, then you should check your graphics card drivers and make sure they are not faulty. This issue is easier to fix than a problem with your hardware since you don’t have to shell out to pay for an upgrade.

It could also be that some Windows updates have not been installed successfully and are thus causing issues.

Video

Why is my computer randomly shutting down

Answered By: Howard Rogers Date: created: May 16 2021

Generally, when a computer powers down on its own it’s due to the power supply, malware, overheating or driver issues.

Asked By: Christian Ward Date: created: Jul 30 2021

Computer virus

Your computer may be infected with a virus or other malware that is designed to shut down your computer upon certain conditions. If your computer seems to be turning off when executing a certain program at specific times of the day, it could be infected.

If you believe your computer may be infected with a virus, download a free scanner. If you already have one installed, make sure your virus scanner definitions are up-to-date, then run a full scan.

Why is my computer shutting down for no reason?

An overheating power supply, due to a malfunctioning fan, can cause a computer to shut down unexpectedly. Continuing to use the faulty power supply can result in damage to the computer and should be replaced immediately. … Software utilities, such as SpeedFan, can also be used to help monitor fans in your computer.

Why laptop keep shutting down by itself

Answered By: Curtis Rivera Date: created: Jun 14 2021

One of the first and the most likely reason your computer or laptop shuts off randomly, especially when you’re playing a game, is overheating. … For a computer that randomly shuts off, you’ll want to look at your video card fan, case fans and the processor fan, and take a moment to clean the components properly.

Asked By: Walter Kelly Date: created: Dec 19 2021

Looking how it works

Reading /etc/acpi/powerbtn-acpi-support.sh which includes:

Notice that an explicit text is given as parameter of the shutdown command. I would expect that string to be logged automatically by the shutdown program.

Use The Run Box To Shut Down Windows

You can use the above command in the Run box as well.

  • Press the Windows + R keys at the same time.
  • Type in the following command and hit Enter.shutdown /s /f /t 0

1) Regarding the output of last -x command

Run this command* and compare the output to the examples below:

Normal shutdown examples

A normal shutdown and power-up looks like this (note that you have a shutdown event and then a system boot event):

In some cases you may see this (note that there is no line about the shutdown but the system was at runlevel 0 which is the "halt state"):

Unexpected shutdown examples

An unexpected shutdown from power loss looks like this (note that you have a system boot event without a prior system shutdown event):

Reboot Your Windows Computer Instead

If shutting down doesn’t work, you can try rebooting your computer instead. Once it reboots, you can try to shut down your machine.

  • Click on the Start Menu icon, select the power icon, and choose Restart.

Check why Windows restarts automatically

When it comes to knowing why our Windows 10 computer shuts down unexpectedly, the Microsoft operating system offers us three tools that will help us with this task, such as the Event Viewer, PowerShell and the Command Prompt.

Use the Event Viewer for details

The Windows Event Viewer will allow us to verify the stored logs in order to determine why our computer shut down for no reason. To do this we must use the search bar of the Start menu, write event viewer and select the application. Later we must navigate to the following route:

Visor de eventos (local) / Registros de Windows / Sistemas

Once located, we must click with the right mouse button on the “System” category. This will cause a contextual menu to appear where we must select the option “Filter current record”.

A new window will appear where we must select the

A new window will appear where we must select the “Filter” tab. Within the “Registered” option, in the text box we select At any time. Later we must enter in the box that says All event IDs the following identification numbers separated by commas:

  • 41 – This number indicates that the system has hung or is unresponsive, which can cause an improper shutdown.
  • 1074 : This event is used to log manual shutdown or reboot. We can also apply it when the system restarts automatically when new updates are installed on the computer.
  • 6006 : through this event, it is recorded when the system stops when we turn off the PC correctly.
  • 6005 : This error occurs when the system reboots.
  • 6008 – This error is caused by an unexpected system shutdown, usually after error 41.

Once we have entered the values separated by commas, click on the “OK” button.

Later we double-click on a record to verify the information, so that we can see the real causes why our device has unexpectedly turned off. This will help us to know what is happening so we can fix it.

Check why Windows shut down with PowerShell

Windows PowerShell can also help us find the source of a sudden shutdown. To do this we must use the search box on the Start menu, write powershell and run it as administrator. Once the console appears, we must write the following command to see the event log and press Enter:

Get-WinEvent -FilterHashtable @{ LogName = 'System'; Id = 41, 1074, 6006, 6605, 6008; } | Format-List Id, LevelDisplayName, TimeCreated, Message

Once done, we can verify the registry information, so that we can determine the reason, date and time of Windows shutdown

Find the source of the shutdown with the Command Prompt

The Command Prompt tool can also help us find the source of an unexpected Windows shutdown. To do this we must type command prompt in the search box of the Start menu, and we execute it with administrator privileges. Once it appears, we must write the following command to see the event logs and press Enter.

wevtutil qe System /q:"*[System[(EventID=41) or (EventID=1074) or (EventID=6006) or (EventID=6005) or (EventID=6008)]]" /c:100 /f:text /rd:true

This command will be in charge of verifying the 100 most recent records in order to obtain information about the reason for the shutdown. This value can be modified with a different number in case we want to mark more or fewer events. With this we can verify in the description of each record the possible causes that led our computer to shut down for no reason.

How do you fix a computer that shuts down when playing games?

The fix for this problem is simple. Clean the dust, check your cooling system and your thermal paste. These steps will lower the temperature and prevent your computer from overheating again.

Checking a Power Supply for Failure

One of the most common and easiest computer problems to remedy are power supply problems. These issues can cause computer shutdowns. Before you do anything else, check the power cord. Power cords can easily get pulled out of the outlet when cleaning around computers.

The issue can be more complicated however if the cord is plugged in but still not receiving power.

Be sure to plug in another device to verify that the outlet is working. If there are any signal lights on the computer, check to make sure they are blinking properly.

Check the Computer’s Environment

The next thing you should check after the power supply is the computer’s temperature. Most modern computers have thermometers set up inside the PC. Computers are sensitive to certain temperature ranges and should not exceed 60 degrees Celsius. If the computer experiences higher temperatures than 60 degrees Celsius, it will shut down – and likely cause permanent damage. If you’re on a desktop, you should upgrade your cooling system if you’re experiencing temperature shutdowns.

Your computer’s temperature information is accessible via BIOS (the Basic Input Output System). You can usually access this by restarting the computer and pressing whichever key your computer uses. It’s usually F8, F12, or Del.

Keep in mind that not all computer models keep this information in BIOS, but it can be worth checking.

Should your computer’s temperature run too high, you should clean it of dust. Excessive dust accumulation is one of the most common reasons for a computer shutting down. Dust buildup is easy both to remedy and prevent. Simply keep your computer clean and free of dust as regularly as possible, this will keep your computer running smooth and prevent it from overheating.

Overheating is can ruin a computer and end up costing you a lot of money. Keeping your computer dust free is well worth the effort and can save you a lot of money in the long run.

How to determine shutdown reason on Windows 10 with PowerShell

To find out the reason Windows 10 shutdown with PowerShell, use these steps:

  1. Open Start.
  2. Search for PowerShell and click the top result to open the console.
  3. Type the following command to view event logs and press Enter:

    Get-WinEvent -FilterHashtable @{ LogName = 'System'; Id = 41, 1074, 6006, 6605, 6008; } | Format-List Id, LevelDisplayName, TimeCreated, Message

    Source: Windows CentralSource: Windows Central

  4. Check the log information to determine the time and reason for the shutdown.

After you complete the steps, the events will indicate the date, time, and reason why Windows 10 was shut down or rebooted.

Advertisement

Tags

Tags