7034 System log · Service Control Manager medium severity low volume

System Event ID 7034 — The service terminated unexpectedly and will be restarted

Service crashed and is being restarted. Number of restart attempts is logged.

Why event 7034 matters

Repeated crashes of security services indicate persistent tampering. Multiple restart loops may indicate a crasher exploit targeting the service.

How to detect it

Alert: security services crashing more than twice. Multiple crashes in rapid succession = active tampering.

Log source
System
Logged by default in the System channel; no audit policy required.
Fields to pivot on
param1param2Computer

Detection queries

Starting points — adapt the log source, projected fields and thresholds for your environment.

Sentinel / Defender KQL
Event
| where EventLog == "System" and EventID == 7034   // The service terminated unexpectedly and will be restarted
// EventData holds: param1, param2, Computer
| project TimeGenerated, Computer, RenderedDescription
| sort by TimeGenerated desc
Splunk SPL
index=* sourcetype="WinEventLog:System" EventCode=7034
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count   `# The service terminated unexpectedly and will be restarted — add EventData fields: param1, param2, Computer`
Hunt event 7034 in Sentinel/Defender →
Build a KQL query for this event in the KQL Query Builder.
Search all event IDs →
Open the interactive Windows Event ID lookup.

Related Service Control Manager events

7000 The service failed to start due to the following error 7001 The service depends on another service 7009 A timeout was reached while waiting for service to connect 7022 The service hung on starting 7023 The service terminated with an error 7024 The service terminated with a service-specific error 7026 The following boot-start or system-start driver failed to load 7031 The service terminated unexpectedly 7035 The service was successfully sent a start or stop control 7036 The service entered the stopped/running state 7038 The service was unable to log on as the configured account 7040 The start type of a service was changed

Frequently asked questions

What is System Event ID 7034?

The service terminated unexpectedly and will be restarted. Service crashed and is being restarted. Number of restart attempts is logged.

Which log records event 7034?

Event 7034 is written to the System channel by Service Control Manager / Kernel. Logged by default in the System channel; no audit policy required.

How do you detect activity around event 7034?

Alert: security services crashing more than twice. Multiple crashes in rapid succession = active tampering.