Policy
Control the location of the log file
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista
This policy setting controls the location of the log file. The location of the file must be writable by the Event Log service and should only be accessible to administrators. If you enable this policy setting, the Event Log uses the path specified in this policy setting. If you disable or do not configure this policy setting, the Event Log uses the folder %SYSTEMROOT%\System32\winevt\Logs.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Log File Path ID Channel_LogFilePath | text | HKLM\Software\Policies\Microsoft\Windows\EventLog\Setup\File Type REG_SZ | None |
Other policies in this category
Explore related policies at the same level.
- ComputerBack up log automatically when fullAt least Windows Vista
- ComputerConfigure log accessAt least Windows Vista
- ComputerConfigure log access (legacy)At least Windows Vista
- ComputerControl Event Log behavior when the log file reaches its maximum sizeAt least Windows Vista
- ComputerSpecify the maximum log file size (KB)At least Windows Vista
- ComputerTurn on loggingAt least Windows Vista