Msizap.exe is a command line utility that removes either all Windows Installer information for a product or all products installed on a computer. Products installed by the installer may fail to function after using Msizap.

On Windows 2000 and Windows XP, administrative privileges are required to use Msizap.exe.

This tool is only available in the Windows SDK Components for Windows Installer Developers and should not be redistributed. Use the recent version of Msizap.exe (version 3.1.4000.2726 or greater) that is available in the Windows SDK Components for Windows Installer Developers for Windows Vista or greater. Lesser versions of Msizap.exe can remove information about all updates that have been applied to other applications on the user's computer. If this information is removed, these other applications may need to be removed and reinstalled to receive additional updates.


msizap T[WA!]{product code}

msizap T[WA!]<msi package>


msizap PWSA?!

Command Line Options

Msizap.exe uses case-insensitive command line options shown in the following table.

*Removes all Windows Installer folders and registry keys, adjusts shared DLL counts, and stops Windows Installer service. Also removes the In-Progress key and rollback information.
aOnly changes ACLs to Admin Full Control for any specified removal.
gFor all users, removes any cached Windows Installer data files that have been orphaned.
pRemoves the In-Progress key.
sRemoves Rollback Information.
tRemoves all information for the specified product code. When using this option, enclose the Product Code in curly braces. This option may be used with either the full path to the .msi file or with the product code.
wRemoves Windows Installer information for all users. When this option is not set, only the information for the current user is removed. Use of this option requires that the user's profile be loaded so that the user's per-user registry hive be available.
?Verbose help.
!Forces a 'yes' response to any prompt.


Related topics

Released Versions, Tools, and Redistributables