{"id":15329,"date":"2019-11-20T07:05:47","date_gmt":"2019-11-20T07:05:47","guid":{"rendered":"https:\/\/www.top-password.com\/blog\/?p=15329"},"modified":"2019-11-20T07:07:17","modified_gmt":"2019-11-20T07:07:17","slug":"turn-off-windows-installer-to-block-msi-package","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/turn-off-windows-installer-to-block-msi-package\/","title":{"rendered":"How to Turn off Windows Installer to Block MSI Package"},"content":{"rendered":"<p>Is there a way to prevent users from installing .msi package? Windows Installer is a background service that manages installing and uninstalling MSI-based programs. To block MSI installer, you can turn off Windows Installer using group policy or registry tweak.<\/p>\n<p><strong>Method 1: Disable Windows Installer Using GPO<\/strong><\/p>\n<ol>\n<li><a href=\"https:\/\/www.top-password.com\/blog\/open-local-group-policy-editor-in-windows-10\/\" rel=\"noopener noreferrer\" target=\"_blank\">Open Local Group Policy Editor<\/a> and expand <code>Computer Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; Windows Installer<\/code>. Double-click the policy named &#8220;<strong>Turn off Windows Installer<\/strong>&#8221; in the right pane.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/turn-off-windows-installer.png\" alt=\"\" width=\"595\" height=\"274\" class=\"alignnone size-full wp-image-15333\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/turn-off-windows-installer.png 595w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/turn-off-windows-installer-300x138.png 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/>\n<\/li>\n<li>Select <strong>Enabled<\/strong>. Click the &#8220;<strong>Disable Windows Installer<\/strong>&#8221; drop-down list and select <strong>Always<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/disable-windows-installer.png\" alt=\"\" width=\"598\" height=\"379\" class=\"alignnone size-full wp-image-15334\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/disable-windows-installer.png 598w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/disable-windows-installer-300x190.png 300w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/>\n<\/li>\n<li>Click <strong>OK<\/strong> and restart your system to apply the changes. The next time you try to run any .msi package, you&#8217;ll get the error message &#8220;<em>The system administrator has set policies to prevent this installation.<\/em>&#8221;\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/set-policies-to-prevent-installation.png\" alt=\"\" width=\"364\" height=\"151\" class=\"alignnone size-full wp-image-15335\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/set-policies-to-prevent-installation.png 364w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/set-policies-to-prevent-installation-300x124.png 300w\" sizes=\"auto, (max-width: 364px) 100vw, 364px\" \/>\n<\/li>\n<\/ol>\n<p><strong>Method 2: Disable Windows Installer Using Registry Tweak<\/strong><\/p>\n<ol>\n<li><a href=\"https:\/\/www.top-password.com\/blog\/6-ways-to-open-registry-editor-in-windows-10\/\" rel=\"noopener noreferrer\" target=\"_blank\">Open Registry Editor<\/a> and browse to: <code>HKEY_LOCAL_MACHINE\\Software\\Policies\\Microsoft\\Windows\\Installer<\/code>. If the <strong>Installer<\/strong> subkey doesn&#8217;t exist, you have to create it first.<\/li>\n<li>Double-click the 32-bit DWORD <strong>DisableMSI<\/strong> in the right pane, and set the value to 2.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/DisableMSI.png\" alt=\"\" width=\"532\" height=\"274\" class=\"alignnone size-full wp-image-15336\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/DisableMSI.png 532w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2019\/11\/DisableMSI-300x155.png 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/>\n<\/li>\n<li>Close Registry Editor and reboot Windows to make the changes take effect. If you need to enable Windows installer again, just set the value of <strong>DisableMSI<\/strong> to 0 and you&#8217;re done.<\/li>\n<\/ol>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Is there a way to prevent users from installing .msi package? Windows Installer is a background service that manages installing and uninstalling MSI-based programs. To block MSI installer, you can turn off Windows Installer using group policy or registry tweak. Method 1: Disable Windows Installer Using GPO Open Local Group Policy Editor and expand Computer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10,1894,3,39],"tags":[4381,4380],"class_list":["post-15329","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-10","category-windows-7","category-windows-8","tag-system-administrator-set-policies-to-prevent-this-installation","tag-turn-off-windows-installer"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/15329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=15329"}],"version-history":[{"count":6,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/15329\/revisions"}],"predecessor-version":[{"id":15339,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/15329\/revisions\/15339"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=15329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=15329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=15329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}