Log Dejargonizer

Windows System Log · Event 6013

Event 6013: The system uptime, logged daily

Windows records how long the machine has been running, once a day. Nothing is wrong — it is a heartbeat. Its practical use is working out how long a machine has been up without touching it, and spotting reboots you did not know about.

Also written as Event ID 6013The system uptime is seconds6013 uptime event

What it means for you

On a personal computer

Just Windows noting how long your PC has been switched on. Entirely normal and appears once a day.

For an analyst

Useful for two things: proving a machine has been up continuously across a period, and finding reboots by looking for uptime counters that reset. A server whose uptime keeps resetting without a matching 1074 is rebooting on its own.

What it looks like

Sanitised. Addresses come from the RFC 5737 documentation ranges.

Sample
The system uptime is 743280 seconds.

The fields that decide it

Everything else in the log line is context.

Uptime in seconds
How long the machine has been running. Divide by 86400 for days.
Reset pattern
Not a field. An uptime value lower than the previous day's means the machine restarted in between.

Ordinary reasons this happens

Most of the time it is one of these.

  • Normal daily logging, which is the only reason it exists.
  • The counter resetting after a planned restart or patching.

What to do next

  1. Convert the value to days if you just want the uptime.
  2. Compare consecutive entries. A drop means a reboot happened between them.
  3. If the uptime resets with no matching 1074, look for 6008 and 41 — the machine went down on its own.
  4. Use the daily cadence as timeline anchors when reconstructing an incident.

Queries to run

powershell Uptime in days per entry. A drop between consecutive rows is a reboot.
Get-WinEvent -FilterHashtable @{LogName='System'; Id=6013} -MaxEvents 30 | Select-Object TimeCreated, @{n='UptimeDays';e={[math]::Round(([regex]::Match($_.Message,'\d+').Value / 86400),2)}}
powershell The current boot time directly, when you only need the latest value.
(Get-CimInstance Win32_OperatingSystem).LastBootUpTime

Common questions

How do I check how long a Windows machine has been running?

Event 6013 records it daily, but for the current value `(Get-CimInstance Win32_OperatingSystem).LastBootUpTime` in PowerShell is quicker. Task Manager also shows uptime on the Performance tab under CPU. Use 6013 when you need the history rather than the current figure.

Is Event 6013 an error?

No. It is an informational heartbeat Windows writes once a day, and its presence means the machine has been running normally. It is only interesting in sequence — an uptime value lower than the previous day's tells you a restart happened in between.

Read next

Vendor documentation

Last reviewed 28 August 2026