How to turn off Windows Installer to block MSI package
Is there a way to prevent users from installing the .msi package? Windows Installer is a background service, which manages the installation and uninstallation of MSI-based programs. To block the MSI installer, you can turn off Windows Installer using Group Policy or edit the registry.
Method 1: Disable Windows Installer with GPO
To disable Windows Installer using Group Policy, follow these steps:
1. Open Local Group Policy Editor and expand Computer Configuration> Administrative Templates> Windows Components> Windows Installer . Double click on the policy named Turn off Windows Installer in the right panel.
Double click on the policy called Turn off Windows Installer2. Select Enabled. Click the Disable Windows Installer drop-down list and select Always.
Click the Disable Windows Installer drop-down list and select Always3. Click OK and reboot the system to apply the changes. The next time you try to run any .msi package, you will receive an error message: 'The system administrator has set policies to prevent this installation'. (System administrators have set policies to prevent this setting.)
The next time you try to run any .msi package, you will receive an error messageMethod 2: Disable the Windows Installer by tweaking the Registry
To disable the Windows Installer by tweaking the Registry, follow these steps:
1. Open Registry Editor and browse to:
HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsInstaller
If the Installer subkey does not exist, you must create it first.
2. Double-click DWORD 32-bit DisableMSI on the right and set the value to 2 .
Double-click DWORD 32-bit DisableMSI on the right and set the value to 23. Close Registry Editor and restart Windows for the changes to take effect. If you need to re-enable the Windows installer, just set the value of DisableMSI to 0 .
You should read it
- How to fix the 'Problem With This Windows Installer Package' error
- Microsoft allows users to reactivate Windows App installer
- Fix Opera installer crashes downloading on Windows
- App Installer on Windows 10 was used to install BazarLoarder malware
- How to fix corrupted macOS installer errors
- Instructions to create Windows 7, 8, 10 installer from USB
- How to download a Windows installer, Office directly from Microsoft
- Install Ubuntu in Windows using the Wubi Installer
- How to fix AMD 195 'Software Installer Cannot Continue' error on Windows
- How to Install iTunes on Windows Vista
- How to prevent others from installing software on Windows computers
- Learn the Windows Modules Installer Worker process
Maybe you are interested
How to completely remove software using Bulk Crap Uninstaller
Instructions for speeding up Fedora Linux application installers
How to uninstall software with Your Uninstaller, completely delete redundant files and errors on your computer
Link to download Windows 10 20H1 ISO file, latest Windows 10 20H1 installer
How to use Your Uninstaller to completely remove software - Delete 'stubborn' applications
How to use IObit Uninstaller to completely remove software on Windows