28

Is it possible to find out in Windows what the last restart time of a windows service is?

1
  • you can also look at the process, and see when it started, and take the delta from sysuptime Aug 11, 2012 at 13:59

2 Answers 2

28

Building on Christian's answer... Use PowerShell:

(Get-EventLog -LogName "System" -Source "Service Control Manager" -EntryType "Information" -Message "*Computer Browser service*running*" -Newest 1).TimeGenerated;
1
  • 1
    Do any of these service state change events still get logged in Windows 10? (No entries generated for me when I do "net start spooler" for example.) Mar 1, 2018 at 11:29
5

Look in the event log: The service control manager logs every time a service is stopped or started.

2
  • 4
    This is Event Viewer -> Windows Logs -> System, where Source is Service Control Manager.
    – ThomasH
    Aug 2, 2016 at 8:07
  • Not all services are listed in the Event Log, for example BitLocker Drive Encryption Service can be running by has no Event Log start entry.
    – SharpC
    Jun 6, 2019 at 13:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .