Skip to content
WETNav
SystemService Control

Event ID 7034: Service terminated unexpectedly

Written when a service crashes rather than being stopped cleanly. Records the service and how many times it has terminated unexpectedly.

Channel
System
Logged by default
Yes
Written on
Any host
Volume
Low
Provider
Service Control Manager
Needs a SACL
No

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

param1Display name of the service that crashed
param2Number of times the service has terminated unexpectedly
Have one of these events? Paste it into the decoder

Analyst notes

  • 01A crash of a security service (for example the Defender or EDR sensor service) just before other suspicious activity can indicate tampering or an exploit; correlate with 7036 'stopped' and with Defender events.
  • 02Process-hollowing and injection into a service host can crash the host and surface here.
  • 03Most 7034 events are ordinary software faults. Treat it as context, not an alert on its own.

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'System' -FilterXPath "*[System[(EventID=7034)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

Where it shows up

Investigations, attack signals and lateral movement techniques that rely on this event.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 7034 mean?
Written when a service crashes rather than being stopped cleanly. Records the service and how many times it has terminated unexpectedly. It is written to the System log (System).
Is event 7034 logged by default?
Yes, a default Windows installation records it.
Where is event 7034 recorded?
In the System channel on the any host.

Written when a service crashes rather than being stopped cleanly. Records the service and how many times it has terminated unexpectedly. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.