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.
| Field | What it tells you |
|---|---|
| param1 | Display name of the service that crashed |
| param2 | Number of times the service has terminated unexpectedly |
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.
Related events
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.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten 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.