The Windows operating system has a built-in firewall.
If logging is enabled for the firewall, files named pfirewall.log will be generated in a specific directory.
Windows Firewallhas developed over the years to improve security and safeguard against new threats and unauthorized entries.
![]()
It also produces logs and offers visibility into its operations, allowing you to supervise and address security issues.
To manage Windows Firewall logs, you may want to know the location of Windows Firewall logs.
The Windows Firewall log file can also monitorTCPandUDPconnections and blocked packets.

The location of Windows Firewall logs varies depending on the Windows version.
Did you know where are Windows Firewall logs stored?
If not, you are in the right place.

Keep reading to get more details.
Are you struggling with the icmon.exe high CPU usage?
If yes, this post provides effective solutions to fix this issue.

If you want to know where are Windows Firewall logs located, there are 3 ways to get them.
#1.
Step 2: In the pop-up Event Viewer window, expand theWindows Logsfolder.

Step 3: Select theSecurityoption to view the firewall logs.
Double-click theFirewalloption to check its logs.
#2.
![]()
Step 2: Go to the system drive; in most cases, it is the C drive.
Step 3: Navigate toWindows>System32>LogFiles>Firewall.
Step 4: Find and clickpfirewall.log.
#3.
Step 2: ClickMonitoringon the right pane, and locate theLogging Settingssection on the left panel.
However, it is possible to adjust the storage location by making changes to the Windows Registry.
MiniTool ShadowMaker TrialClick to Download100%Clean & Safe
This process necessitates administrative privileges and careful attention.
Step 3: Navigate to the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsFirewall
Step 4: Find theLogFilePathvalue under theWindowsFirewallkey.
Hope you might have a good experience!