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.

2. Select Enabled. Click the Disable Windows Installer drop-down list and select Always.

3. 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.)

Method 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 .

3. 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
- 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
May be interested
- How to block pop ups, turn off advertising windows on chrome, Firefox, IEyou are very annoyed when pop ups or ads interrupt your surfing process. the following article has detailed instructions on how to block pop ups, turn off advertising windows on chrome, firefox, ie.
- Instructions to create Windows 7, 8, 10 installer from USBmany computers now omit the cd / dvd drive as an alternative to installing the operating system via usb. the following article details how to create the windows 7, 8, 10 installer on usb.
- How to download a Windows installer, Office directly from Microsoftinstructions on how to download the original windows installer, download the original office installer (all versions). download the iso file to install from the microsoft homepage
- Block ads on iPhone with AdGuardhow to block ads on the safari iphone browser will help you load web pages faster and reduce lag when there is more ad content containing animations.
- Instructions to block ads on Smart TVturning off advertising mode on smart tv is very simple but not all users know how. so, in the framework of this article, network administrator will guide you how to block ads on smart tv screen with different tv companies.
- Chocolatey or Windows Package Manager is the better tool to download Windows software?the package manager can make installing and configuring applications on windows very easy. like apt-get, homebrew or yum on linux and macos, you can use chocolatey or windows package manager (winget) on windows 10 and 11.
- Install Ubuntu in Windows using the Wubi Installeryou want to find a solution to try ubuntu but don't like the idea of creating a partition, using the cd drive directly, or not having enough resources to run a virtual machine. try using the wubi installer program to run to ubuntu.
- How to prevent others from installing software on Windows computersthere is a setting on windows that prevents strangers from installing software on your computer, thereby limiting malware infiltration of the computer.
- How to fix AMD 195 'Software Installer Cannot Continue' error on Windowsamd radeon software can automatically detect your graphics card and install compatible drivers. however, sometimes the installer stops working because of amd error 195.
- How to Install iTunes on Windows Vistawindows vista is no longer a supported operating system for itunes. you'll need to use a special installer from apple for an older version. this version of itunes will allow you to connect to ios 9 devices. the regular installer from the...