Events.asp program: registry value MicrosoftRedirectionProgramComputerHKLM\Software\Policies\Microsoft\EventViewer
- Policy ID
- EventViewer_RedirectionProgram
- Scope
- Computer Configuration
- Supported on
- At least Windows XP Professional with SP2
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Event Viewer
Registry
MicrosoftRedirectionProgram
REG_EXPAND_SZComputerHKLM\Software\Policies\Microsoft\EventViewer Current key
- Enabled value
- Depends on the option value
- Element
- Events.asp program
- Value type
- REG_EXPAND_SZ
- Expandable string (REG_EXPAND_SZ)
- true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EventViewer] ; Value names and types follow the ADMX. Replace <enter value> below with your own data ; hex(2) and hex(7) data must be written as hexadecimal (UTF-16LE) "MicrosoftRedirectionProgram"=hex(2):<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\EventViewer" /v "MicrosoftRedirectionProgram" /t REG_EXPAND_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\EventViewer' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EventViewer' -Name 'MicrosoftRedirectionProgram' -PropertyType ExpandString -Value '<enter value>' -Force | Out-Null