Skip to content
WETNav
SecurityPolicy Change

Event ID 5050: An attempt to programmatically disable the Windows Firewall was rejected

An attempt to programmatically disable the Windows Firewall using a call to InetFwProfile.FirewallEnabled(False) was rejected (API not supported on this OS version).

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=5050)]]" -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 5050 mean?
An attempt to programmatically disable the Windows Firewall using a call to InetFwProfile.FirewallEnabled(False) was rejected (API not supported on this OS version). It is written to the Windows Security log (Security).

An attempt to programmatically disable the Windows Firewall using a call to InetFwProfile.FirewallEnabled(False) was rejected (API not supported on this OS version). Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.