Event ID 8002: Failed to connect to a wireless network
Written by the WLAN AutoConfig service when a connection attempt to a wireless network fails. Records the SSID, the profile, the failure reason and the signal strength.
- Channel
- Microsoft-Windows-WLAN-AutoConfig/Operational
- Logged by default
- Yes
- Written on
- Any host
- Volume
- Moderate
- Provider
- Microsoft-Windows-WLAN-AutoConfig
- Needs a SACL
- No
To have this event
- A wireless adapter with the WLAN AutoConfig service running (on Windows Server, the Wireless LAN Service feature)
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| SSID | Name of the wireless network the machine tried to join |
| ProfileName | Saved wireless profile used for the attempt |
| ConnectionMode | Whether the attempt was automatic or started by the user |
| FailureReason | Text reason for the failure, for example a timeout or an authentication failure |
| ReasonCode | Numeric reason code matching FailureReason |
| RSSI | Received signal strength at the time of the attempt, in dBm (closer to 0 is stronger) |
Analyst notes
- 01Repeated authentication failures for a known corporate SSID can mean the device is seeing an access point with the right name but different security, which is how an evil twin looks from the client.
- 028002 also records attempts that never succeeded, so it can surface SSIDs a user tried to join (for example a nearby hotspot) even when there is no 8001.
- 03Most failures are benign, such as weak signal or a changed password; RSSI helps separate a distant network from an authentication problem.
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 'Microsoft-Windows-WLAN-AutoConfig/Operational' -FilterXPath "*[System[(EventID=8002)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
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 8002 mean?
- Written by the WLAN AutoConfig service when a connection attempt to a wireless network fails. Records the SSID, the profile, the failure reason and the signal strength. It is written to the WLAN-AutoConfig Operational log (Microsoft-Windows-WLAN-AutoConfig/Operational).
- Is event 8002 logged by default?
- Yes, a default Windows installation records it.
- Where is event 8002 recorded?
- In the Microsoft-Windows-WLAN-AutoConfig/Operational channel on the any host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten by the WLAN AutoConfig service when a connection attempt to a wireless network fails. Records the SSID, the profile, the failure reason and the signal strength. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.