To block Windows Installer, you have to edit the Group Policy. In the Group Policy Editor of Windows 10, go to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Installer, double-click Turn off Windows Installer, and set it to Enabled.
How do you stop a program from installing?
How do I force stop installation? Right-click on the taskbar and open Task Manager. Click the Processes tab. Select msiexec.exe, right-click on it, and End Process.
How do I block a specific program for Windows?
Right-click the Explorer key and choose New > Key. Name the new key DisallowRun , just like the value you already created. Now, it’s time to start adding apps you want to block. You’ll do this by creating a new string value inside the DisallowRun key for each app you want to block.