Is it possible to find out in Windows what the last restart time of a windows service is?
Asked
Active
Viewed 1.1e+01k times
28
-
you can also look at the process, and see when it started, and take the delta from sysuptime – SpacemanSpiff Aug 11 '12 at 13:59
2 Answers
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;

Simon Catlin
- 5,232
- 3
- 17
- 20
-
1Do 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.) – StackzOfZtuff Mar 01 '18 at 11:29
5
Look in the event log: The service control manager logs every time a service is stopped or started.

Christian
- 1,052
- 5
- 16
- 24
-
4This is Event Viewer -> Windows Logs -> System, where Source is Service Control Manager. – ThomasH Aug 02 '16 at 08: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 06 '19 at 13:27