SecurityAuthentication
Event ID 4825: A user was denied access to Remote Desktop
A user was denied access to Remote Desktop. Network Level Authentication (NLA) failed.
- Channel
- Security
- Logged by default
- Unknown
- Written on
- Any host
- Volume
- Not rated
- Provider
- Microsoft-Windows-Security-Auditing
- Needs a SACL
- No
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 'Security' -FilterXPath "*[System[(EventID=4825)]]" -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.
Common questions
- What does Windows event ID 4825 mean?
- A user was denied access to Remote Desktop. Network Level Authentication (NLA) failed. It is written to the Windows Security log (Security).
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderA user was denied access to Remote Desktop. Network Level Authentication (NLA) failed. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.