Update windows/security/operating-system-security/network-security/windows-firewall/configure-the-windows-firewall-log.md

Co-authored-by: Paolo Matarazzo <74918781+paolomatarazzo@users.noreply.github.com>
This commit is contained in:
msarcletti 2023-10-09 15:35:04 +02:00 committed by GitHub
parent 78b2e60cca
commit 164539542f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ New-Item -ItemType Directory -Path $env:windir\System32\LogFiles\Firewall
```
Verify if MpsSvc has *FullControl* on the folder and the files.
Open an elevated PowerShell and use these commands. Make sure to use the correct path.
From an elevated PowerShell session, use the following commands, ensuring to use the correct path:
```
$LogPath = Join-Path -path $env:windir -ChildPath "System32\LogFiles\Firewall"