How to fix error: The system administrator has set policies to prevent this installation.

If you are getting the following error “The system administrator has set policies to prevent this installation.” when attempting to install an msi file/package on Windows there is a solution!

I will quickly go through the steps in how I fixed this issue on Windows Server 2012 R2.

MSI install fix

  1. Open the Registry Editor by going to Start and typing regedit, then press enter
  2. Drill down to HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer (You might not have an installer key, if you do have the Installer key skip to step 4)
  3. If you don’t have an Installer folder key we will need to create one.  You can do this by right-clicking on the Windows key and going to New>Key, name the new key Installer.
  4. Right-click Installer and go to New>DWORD (32-bit) Value.  Name the DWORD DisableMSI and set it to Hex value 0 (zero if it is hard to tell between and o and 0)
  5. You should now be OK to install your MSI package.  Give it a shot once more and see how it goes!