Logboekregistratie via pakketinstellingen uitschakelen: registerwaarde DisableLoggingFromPackageComputerHKLM\Software\Policies\Microsoft\Windows\Installer

Beleids-ID
DisableLoggingFromPackage
Bereik
Computerconfiguratie
Ondersteund op
Windows Installer v4.0
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Windows Installer

Register

DisableLoggingFromPackage

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Logboekregistratie via pakketinstellingen uitschakelen
Opties
ItemOpgeslagen waarde
Logboekregistratie via pakketinstellingen uitschakelen uitgeschakeld1
Logboekregistratie via pakketinstellingen uitschakelen ingeschakeld0
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Logboekregistratie via pakketinstellingen uitschakelen uitgeschakeld
"DisableLoggingFromPackage"=dword:00000001
; Logboekregistratie via pakketinstellingen uitschakelen ingeschakeld
"DisableLoggingFromPackage"=dword:00000000
CMD
:: Opties (gebruik er maar één)

:: Logboekregistratie via pakketinstellingen uitschakelen uitgeschakeld
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableLoggingFromPackage" /t REG_DWORD /d 1 /f
:: Logboekregistratie via pakketinstellingen uitschakelen ingeschakeld
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "DisableLoggingFromPackage" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null

# Opties (gebruik er maar één)
# Logboekregistratie via pakketinstellingen uitschakelen uitgeschakeld
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableLoggingFromPackage' -PropertyType DWord -Value 1 -Force | Out-Null
# Logboekregistratie via pakketinstellingen uitschakelen ingeschakeld
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'DisableLoggingFromPackage' -PropertyType DWord -Value 0 -Force | Out-Null