Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to View Windows Startup and Shutdown History

Use Event Viewer, Command Prompt, PowerShell, or TurnedOnTimesView to inspect startup and shutdown records and interpret unexpected restarts correctly.

Table of Contents

Windows records useful startup, shutdown, and restart events in the System log. Open Event Viewer and filter that log, or query it with Command Prompt or PowerShell. Read the event source and message along with the ID; an ID number alone is not a complete diagnosis.

Which events matter?

Event IDTypical System-log sourceWhat it indicates
6005EventLogThe Event Log service started; a useful startup marker
6006EventLogThe Event Log service stopped; commonly associated with an orderly shutdown
6008EventLogThe previous shutdown was unexpected; inspect the shutdown time in the message
6009EventLogWindows version/build information recorded during startup, not a shutdown marker
6013EventLogSystem uptime information, when recorded
41Microsoft-Windows-Kernel-PowerWindows restarted without a clean shutdown
1074User32A process or user initiated shutdown or restart; the message may identify the process and reason
1076User32A reason supplied after an unexpected shutdown, where that reporting feature is used

Microsoft's Event 41 guidance explains that an unclean restart can have several causes. The event does not, by itself, prove a failed power supply, malware, or a particular driver fault.

Method 1: query recent records in Command Prompt

Open Command Prompt. If Windows denies access to the log, reopen it with Run as administrator. These commands read records; they do not change or clear the log.

How to view Windows startup and shutdown history Picture 1

Show the 20 most recent orderly shutdown markers:

wevtutil qe System /q:"*[System[(EventID=6006)]]" /rd:true /f:text /c:20

How to view Windows startup and shutdown history Picture 2

How to view Windows startup and shutdown history Picture 3

Show the 20 most recent Event Log service startup markers:

wevtutil qe System /q:"*[System[(EventID=6005)]]" /rd:true /f:text /c:20

How to view Windows startup and shutdown history Picture 4

Use /c:1 for only the newest matching event. /rd:true reverses the reading order, and /f:text requests text output. Use the double quotes shown in Command Prompt; single quotes do not perform the same quoting there. See the wevtutil reference for query options.

Method 2: collect several event types with PowerShell

Open PowerShell and use a filtered query rather than retrieving the entire System log first:

How to view Windows startup and shutdown history Picture 5

Get-WinEvent -FilterHashtable @{
    LogName = 'System'
    Id = 41,1074,1076,6005,6006,6008,6009,6013
    StartTime = (Get-Date).AddDays(-30)
} | Select-Object TimeCreated, Id, ProviderName, Message |
    Format-List

How to view Windows startup and shutdown history Picture 6

How to view Windows startup and shutdown history Picture 7

This searches the last 30 days and includes the provider so you can distinguish unrelated events with the same number. Change the date range as needed. No matching records may mean none remain for that range; it does not prove the computer was never used.

Microsoft's FilterHashtable guide explains the filtering syntax. Get-WinEvent also avoids relying on the older Get-EventLog cmdlet.

Method 3: use Event Viewer

  1. Press Windows + R, enter eventvwr.msc, and press Enter.
  2. Open Windows Logs > System.

How to view Windows startup and shutdown history Picture 8

How to view Windows startup and shutdown history Picture 9

Sort by date to inspect the sequence around a restart. Filtering is usually more useful than sorting only by event number.

How to view Windows startup and shutdown history Picture 10

  1. Select Filter Current Log in the Actions pane.
  2. Choose a suitable Logged range.
  3. Enter 41,1074,1076,6005,6006,6008,6009,6013 in the Event IDs box and apply the filter.
  4. Open relevant events and read their General and Details views.

How to view Windows startup and shutdown history Picture 11

How to view Windows startup and shutdown history Picture 12

Event 41 and Event 6008 are commonly written when Windows starts again after the interruption. Their logged timestamp is not necessarily the precise instant power was lost; check message details and neighboring records.

Method 4: summarize sessions with TurnedOnTimesView

NirSoft's TurnedOnTimesView analyzes Windows event logs and presents estimated powered-on intervals, durations, and available shutdown details. Download it from the developer, extract the package, and open the executable.

How to view Windows startup and shutdown history Picture 13

For a remote computer, its advanced options can select another data source. Access requires appropriate permissions and an environment that permits remote event-log access; knowing a computer's name or IP address is not sufficient.

How to view Windows startup and shutdown history Picture 14

Understand the limits before drawing conclusions

Logs can be overwritten, cleared, or incomplete. Sleep, hibernation, and Fast Startup can complicate the relationship between a button press and a full Windows boot. Startup history also does not show which person was present or how long they actively used the computer.

For repeated crashes, compare the event sequence with Reliability Monitor and other symptoms. TipsMake's built-in Windows tools guide includes Reliability Monitor, and its common PC troubleshooting guide suggests practical next checks.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.