Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

How to find out last shutdown time and date in windows

                                     How to find out last shutdown time and date in windows


In this article, we are going to cover the easiest and quick way to find out the last shutdown time and date in windows. When you shut down a computer Event ID 1074 is written to the event log which denotes a clean shutdown.

I have listed and explained the easiest way to find out the computer shutdown time, date, and which user shutdown/restart the computer. This method applies to all versions of windows including windows servers also.


First Method( Event Viewer)

To find the computer's last shutdowns detail through the event viewer, you will need to check the event viewer with the event id 1074.

1.Run the command "eventvwr.msc" to open the event viewer.

2. Expand the windows log and click on the system.


3.You may sort the log date by descending order.

4. Go to Filter current log, you can see it on the right pane. 

5.Now filter the event id with 1074 and click on OK


















6.You are done here, please see the sample.

Second Method(Find last shutdown time using Command-line)


To see the most recent shutdowns event i.e. 1074. please run the following command

"wevtutil qe system "/q:*[System [(EventID=1074)]]" /rd:true /f:text /c:1"

If you want to see only see the date event, not other details, run this command

"wevtutil qe system "/q:*[System [(EventID=1074)]]" /rd:true /f:text /c:1 | findstr /i "date"


Other methods

  1. Using Command Prompt:

    • Press Win + R to open the Run dialog box.
    • Type cmd and press Enter to open Command Prompt.
    • In the Command Prompt window, type the following command and press Enter:
      arduino
      systeminfo | find "System Boot Time"
    • This command will display the system boot time, which is essentially the last shutdown time.
  2. Using PowerShell:

    • Press Win + X and select "Windows PowerShell (Admin)" to open PowerShell with administrative privileges.
    • In the PowerShell window, type the following command and press Enter:
      mathematica
      Get-WinEvent -LogName System | Where-Object { $_.EventID -eq 6006 } | Select-Object -First 1 | Format-Table -Property TimeCreated
    • This command will display the time and date of the last system shutdown.
  3. Using Event Viewer:

    • Press Win + R to open the Run dialog box.
    • Type eventvwr.msc and press Enter to open Event Viewer.
    • In Event Viewer, expand the "Windows Logs" folder and select "System."
    • Look for Event ID 6006, which indicates that the system was shut down. The date and time of this event represent the last shutdown time.

Using any of these methods, you can easily find out the last shutdown time and date in Windows.



Note:- If you have any issues regarding this article, please do comment and share your issues with us.


Post a Comment

0 Comments