Windows Defender Firewall: Allow logging - Domain Profile - LogFileSize

Information

Allows Windows Defender Firewall to record information about the unsolicited incoming messages that it receives.

If you enable this policy setting Windows Defender Firewall writes the information to a log file. You must provide the name location and maximum size of the log file. The location can contain environment variables. You must also specify whether to record information about incoming messages that the firewall blocks (drops) and information about successful incoming and outgoing connections. Windows Defender Firewall does not provide an option to log successful incoming messages.

If you are configuring the log file name ensure that the Windows Defender Firewall service account has write permissions to the folder containing the log file. Default path for the log file is %systemroot%\system32\LogFiles\Firewall\pfirewall.log.

If you disable this policy setting Windows Defender Firewall does not record information in the log file. If you enable this policy setting and Windows Defender Firewall creates the log file and adds information then upon disabling this policy setting Windows Defender Firewall leaves the log file intact.

If you do not configure this policy setting Windows Defender Firewall behaves as if the policy setting were disabled.

Solution

Policy Path: Network\Network Connections\Windows Defender Firewall\Domain Profile
Policy Setting Name: Windows Defender Firewall: Allow logging

See Also

https://techcommunity.microsoft.com/t5/microsoft-security-baselines/windows-11-version-23h2-security-baseline/ba-p/3967618

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-4

Plugin: Windows

Control ID: 12609c76ee12b914442505bf7fad25e1699b8e90a8fb42740cdcbb186d32fb49