Event logging level: registry value EventLoggingLevel (HKCU NetCache)UserHKCU\Software\Policies\Microsoft\Windows\NetCache

Policy ID
Pol_EventLoggingLevel_1
Scope
User Configuration
Supported on
Windows Server 2003, Windows XP, and Windows 2000 only
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Network › Offline Files

Registry

EventLoggingLevel

REG_DWORDUser
Enabled value
Depends on the option value
Element
Enter [0-3]:
Value type
REG_DWORD
Maximum value
3
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\NetCache]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"EventLoggingLevel"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\Software\Policies\Microsoft\Windows\NetCache" /v "EventLoggingLevel" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Name 'EventLoggingLevel' -PropertyType DWord -Value '<enter value>' -Force | Out-Null