Turn off logging via package settings

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

Description

This policy setting controls Windows Installer's processing of the MsiLogging property. The MsiLogging property in an installation package can be used to enable automatic logging of all install operations for the package.

If you enable this policy setting, you can use the options in the Disable logging via package settings box to control automatic logging via package settings behavior.

-- The "Logging via package settings on" option instructs Windows Installer to automatically generate log files for packages that include the MsiLogging property.

-- The "Logging via package settings off" option turns off the automatic logging behavior when specified via the MsiLogging policy. Log files can still be generated using the logging command line switch or the Logging policy.

If you disable or do not configure this policy setting, Windows Installer will automatically generate log files for those packages that include the MsiLogging property.

Options

  • Disable logging via package settings
    • Disable logging via package settings off
    • Disable logging via package settings on

Registry

ComputerHKEY_LOCAL_MACHINE
  • DisableLoggingFromPackageREG_DWORD

Other policies in the same category

View all policies in this category (23)