Turn off logging via package settings: registry value DisableLoggingFromPackageComputerHKLM\Software\Policies\Microsoft\Windows\Installer

Policy ID
DisableLoggingFromPackage
Scope
Computer Configuration
Supported on
Windows Installer v4.0
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Windows Installer

Registry

DisableLoggingFromPackage

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Disable logging via package settings
Options
ItemStored value
Disable logging via package settings off1
Disable logging via package settings on0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer]

; Options (use only one)
; Disable logging via package settings off
"DisableLoggingFromPackage"=dword:00000001
; Disable logging via package settings on
"DisableLoggingFromPackage"=dword:00000000
CMD
:: Options (use only one)

:: Disable logging via package settings off
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableLoggingFromPackage" /t REG_DWORD /d 1 /f
:: Disable logging via package settings on
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableLoggingFromPackage" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null

# Options (use only one)
# Disable logging via package settings off
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableLoggingFromPackage' -PropertyType DWord -Value 1 -Force | Out-Null
# Disable logging via package settings on
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableLoggingFromPackage' -PropertyType DWord -Value 0 -Force | Out-Null