How to Check Windows Startup and Shutdown Times in Event Viewer

Use Event Viewer to check when Windows started and began shutting down. Create a custom view for the System log and filter for event IDs 12, 13, 6005, 6006, 6008, and 1074. Windows records these events automatically, so there is no need to install a separate logger. The entries describe operating-system and event-service activity; they do not always mark the exact moment someone pressed the power button.

Which Windows events show startup and shutdown?

Filter the Windows Logs > System log, then check each event's source as well as its ID. Microsoft cautions that an event ID can be used by different sources, so an ID alone is not enough to identify an event.

Event IDSourceWhat it tells you
12Kernel-GeneralThe operating system started.
13Kernel-GeneralThe operating system is shutting down.
6005EventLogThe Event Log service started, usually during startup.
6006EventLogThe Event Log service stopped, commonly during an orderly shutdown.
6008EventLogThe previous shutdown was unexpected; Windows records this after it starts again.
1074User32A process or user requested a shutdown or restart; the message can include the process and reason.

For a clean reboot, events 1074 and 13 can help show the request and shutdown sequence. Events 41 from Kernel-Power and 6008 can point to a shutdown that did not complete normally, such as after a crash or power loss. These records help establish a timeline, but they are not a complete diagnostic by themselves.

Create a custom view for startup and shutdown records

Event Viewer keeps the System log in a single list with many unrelated entries. A custom view saves a filter so you can return to the relevant events without repeating the setup.

Windows Start search showing Event Viewer as the best match and an Open action.
Search for Event Viewer from Start to open the built-in log viewer.
  1. Open Start, type Event Viewer, and press Enter. In the left pane, expand Windows Logs and select System.
Event Viewer open to Windows Logs with the System log selected and startup and shutdown entries visible.
The System log is the source for the startup and shutdown records used in this view.
  1. Right-click Custom Views and choose Create Custom View. You can also use the Create Custom View command in Event Viewer when it is available in the Actions pane.
  2. In the Logged menu, select Any time to include all retained events, or choose a shorter period or custom range. Under By log, select Windows Logs and then System.
Create Custom View dialog with the Logged menu open and Custom range highlighted.
Choose a time range to limit the view, or select Any time to include all retained records.
  1. In the event ID field, enter 12,13,6005,6006,6008,1074. Leave the event-level boxes unselected to avoid narrowing the filter by severity. Keep the User setting at its default to include all users unless your report needs a particular account. Select OK.
Create Custom View filter set to Windows Logs and System with event IDs 12, 13, 6005, 6006, 6008, and 1074.
Add the event IDs as a comma-separated list and keep the other filters broad unless you need a narrower report.
  1. Give the view a clear name, such as Startup and shutdown, and optionally add a description. Select OK again. The saved view appears under Custom Views.
Save Custom View dialog with Startup and shutdown entered as the view name.
Name the filter so it is easy to reopen from Custom Views.

Read the timestamps and investigate missing entries

Select the saved view and review the Date and Time, Source, and Event ID columns. Sort by time to build a sequence. Double-click an entry to open its properties and read the full message; for example, a Kernel-General event 12 describes the operating system starting. Compare the source and message with the event ID instead of assuming every result with a matching number means the same thing.

Saved Startup and shutdown custom view showing the Date and Time, Source, and Event ID columns.
Check both the event ID and its source when reading the filtered results.
Event Properties window for Kernel-General Event ID 12, with the OS-started message and logged time.
Event Properties shows the provider, ID, logged time, and complete message for a selected record.

If you see event 6008 or 41, look at nearby entries such as 1074, 13, and 1001 for more context about the next startup or a possible crash. A missing 6006 does not prove that Windows was never shut down; an interrupted shutdown, restart method, or overwritten System log can change what remains available. Windows retains events only until the log reaches its configured size and retention behavior, so older records may no longer be present.

Export the event records to CSV or XML

With the custom view selected, choose Save All Events in Custom View As in the Actions pane (or the corresponding command from the view's context menu). Choose CSV for a spreadsheet, XML for structured event data, or EVTX when you want to preserve a native event-log file for later review. Save the file with a descriptive name, such as startup-shutdown.csv.

Save All Events in Custom View As dialog with CSV selected as the file type.
Select CSV when you want to sort or chart the event records in a spreadsheet.

There is a similarly named Export Custom View command. It saves the filter definition as an XML file so the view can be imported elsewhere; it does not export the matching event records. To export the records, use Save All Events in Custom View As. In Excel or another spreadsheet, confirm the date and time column imports as dates before sorting or calculating intervals.

Microsoft references

Leave a Comment

How to Set Different Scaling Levels for Multiple Monitors in Windows 10

How to Set Different Scaling Levels for Multiple Monitors in Windows 10

Adjust each Windows 10 monitor independently with per-display scaling, keep text readable, and troubleshoot custom scaling or blurry apps.

How to Type on an iPhone From a Windows 10 PC

How to Type on an iPhone From a Windows 10 PC

Use AirType’s browser pairing setup to type on an iPhone from a Windows 10 PC, with current setup steps, troubleshooting, and privacy limits.

How to Hide the Mouse Cursor in Windows 10 Apps

How to Hide the Mouse Cursor in Windows 10 Apps

Hide the mouse pointer in Windows 10 videos, games, and other apps with built-in typing controls or PowerToys CursorHide’s adjustable inactivity timer.

How to Open Control Panel Power Options on a Windows 10 Desktop

How to Open Control Panel Power Options on a Windows 10 Desktop

Find Control Panel Power Options on a Windows 10 desktop, open the page with a Run command, and adjust power plans, display timeouts, sleep, and button behavior.

How to Prevent a File from Being Recovered on Windows 10

How to Prevent a File from Being Recovered on Windows 10

Learn what Windows 10 deletion leaves behind, how to use SDelete on an HDD, and why SSDs and cloud backups need separate treatment.

How to Access Advanced Settings for an Integrated Webcam in Windows 10

How to Access Advanced Settings for an Integrated Webcam in Windows 10

Use FFmpeg’s DirectShow tools to open an integrated webcam’s driver properties in Windows 10, find the correct device, and troubleshoot missing controls.

How to Identify a Keypress on Windows 10

How to Identify a Keypress on Windows 10

Identify a keypress in Windows 10 with a browser event tester or SharpKeys, then separate layout, software, and keyboard hardware issues.

How to Enter File or Folder Paths with Spaces in Windows 10 Command Prompt

How to Enter File or Folder Paths with Spaces in Windows 10 Command Prompt

Use double quotes around each complete path with spaces in Command Prompt. Learn how to list, change to, copy, and troubleshoot Windows 10 files and folders.

How to Disable Start Menu Auto-Expand on Windows 10

How to Disable Start Menu Auto-Expand on Windows 10

Turn off the Windows 10 Start menu’s hover-to-expand behavior with a legacy Mach2 command, check build limits, and see the built-in app-list alternative.

How to Fix the “iTunes Library.itl Cannot Be Read” Error in Windows 10

How to Fix the “iTunes Library.itl Cannot Be Read” Error in Windows 10

Fix the iTunes Library.itl read error on Windows 10 by updating iTunes, restoring a compatible backup, or safely creating a new library without deleting media files.