Enable Verbose MSI Logging Globally via Regedit
Enabling global Windows Installer (MSI) logging allows administrators
and users to automatically generate detailed diagnostic logs for every
MSI-based installation, upgrade, or uninstallation on a system without
having to pass command-line arguments manually. This guide outlines the
exact steps to configure verbose MSI logging system-wide using the
Windows Registry Editor (regedit), explains the
configuration values required, and describes where to locate the
generated log files.
Steps to Enable Global MSI Logging
- Open Registry Editor:
- Press
Windows Key + Rto open the Run dialog. - Type
regeditand pressEnter. - Click Yes if prompted by User Account Control (UAC).
- Press
- Navigate to the Windows Installer Policy Key:
In the left sidebar, navigate to the following path:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\InstallerNote: If the
Installerkey does not exist underWindows, right-click theWindowsfolder, select New > Key, and name itInstaller.
- Create the Logging Value:
- Right-click on the
Installerkey in the left pane (or empty space in the right pane). - Select New > String Value
(
REG_SZ). - Name the new value
Logging.
- Right-click on the
- Set the Verbose Logging Parameters:
Double-click the newly created
Loggingentry.In the Value data field, enter:
voicewarmupxClick OK.
Understanding the Logging Flags
The string voicewarmupx is the standard set of flags
recommended by Microsoft for full verbose output:
v– Verbose outputo– Out-of-disk-space messagesi– Status messagesc– Initial UI parameterse– All error messagesw– Non-fatal warningsa– Startup of actionsr– Action-specific recordsm– Out-of-memory or fatal exit informationu– User requestsp– Terminal propertiesx– Extra debugging information (supported on Windows Server 2003 and later)
Locating the Log Files
Once configured, Windows automatically generates a log file in the temporary directory whenever an MSI package runs.
- Open File Explorer and enter
%TEMP%in the address bar. - Look for files with random naming patterns such as
MSI*.log(e.g.,MSI1a2b3.log). - Sort the folder by Date modified to quickly identify the log corresponding to your most recent installation attempt.
Disabling Global Logging
Continuous logging can fill the temporary folder and slightly impact installation performance. To disable global logging after troubleshooting:
- Navigate back to
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer. - Right-click the
Loggingstring value and select Delete. - Confirm the deletion by clicking Yes.