Event ID 403: Engine state changed to Stopped (engine stop)
Written when a PowerShell engine stops. The closing counterpart to 400, with the same host and version detail.
- Channel
- Windows PowerShell
- Logged by default
- Yes
- Written on
- Any host
- Volume
- High
- Provider
- PowerShell
- 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 |
|---|---|
| EngineVersion | Engine version of the session that stopped (within the detail text) |
| HostApplication | Command line of the host process (within the detail text) |
| RunspaceId | Runspace GUID; join to the matching 400 to bound the session |
| NewEngineState | New engine state (Stopped) |
Analyst notes
- 01Use the 400/403 pair and the shared RunspaceId to measure how long a PowerShell session ran.
- 02Like 400, the version and host details are in the detail text; the same downgrade indicators apply.
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 'Windows PowerShell' -FilterXPath "*[System[(EventID=403)]]" -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 403 mean?
- Written when a PowerShell engine stops. The closing counterpart to 400, with the same host and version detail. It is written to the Windows PowerShell log (Windows PowerShell).
- Is event 403 logged by default?
- Yes, a default Windows installation records it.
- Where is event 403 recorded?
- In the Windows PowerShell 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 PowerShell engine stops. The closing counterpart to 400, with the same host and version detail. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.