Why is this preventing me installing an MSI: The System Administrator has set policies to prevent this installation
Server
Author
author
Date
2019-07-03 14:01
Views
2674
I am trying to install an MSI on a Windows Server 2012 machine which is part of my lab domain. I am local and domain admin, but I seem to be prevented from installing this MSI.
For clarification, when attempting to install the git extension for visual studio (located here) logged in as a domain user that is part of the administrator group, I get the following error
The machine reporting the error is a Windows Server 2012.
I'm almost certain it must be some sort of group policy restriction? None will have been set, unless it's the default security level?
For clarification, I'd like to know what is preventing this MSI being installed by a domain admin?
Total 104
Number | Title | Author | Date | Votes | Views |
33 |
Remove Powered by WordPress in 3 Easy Steps (2)
author
|
2019.07.05
|
Votes 0
|
Views 15044
|
author | 2019.07.05 | 0 | 15044 |
32 |
Fix: The System Administrator Has Set Policies to Prevent This Installation
author
|
2019.07.03
|
Votes 0
|
Views 2473
|
author | 2019.07.03 | 0 | 2473 |
31 |
Why is this preventing me installing an MSI: The System Administrator has set policies to prevent this installation (7)
author
|
2019.07.03
|
Votes 0
|
Views 2674
|
author | 2019.07.03 | 0 | 2674 |
30 |
Child Themes
author
|
2019.06.29
|
Votes 0
|
Views 2310
|
author | 2019.06.29 | 0 | 2310 |
29 |
My computer is running slow, what steps can I do to fix it?
author
|
2019.06.29
|
Votes 0
|
Views 2334
|
author | 2019.06.29 | 0 | 2334 |
28 |
Nighthawk M1 port forwarding not working (8)
author
|
2019.06.27
|
Votes 0
|
Views 4708
|
author | 2019.06.27 | 0 | 4708 |
27 |
Plugged in, not charging problem, Windows 10
author
|
2019.06.17
|
Votes 0
|
Views 2424
|
author | 2019.06.17 | 0 | 2424 |
26 |
How to fix a Windows 10 laptop that's plugged in but not charging - Cnet
author
|
2019.06.17
|
Votes 0
|
Views 2445
|
author | 2019.06.17 | 0 | 2445 |
25 |
WordPress. How to hide time and date from the post page
author
|
2019.06.10
|
Votes 0
|
Views 2409
|
author | 2019.06.10 | 0 | 2409 |
24 |
How to Remove the Date from Your WordPress Posts
author
|
2019.06.10
|
Votes 0
|
Views 2409
|
author | 2019.06.10 | 0 | 2409 |
After spending time looking at group policy, as far as I could tell, there was nothing that was relevant. I then came across this post that suggest I try launching a command promt as an administrator and running
msiexec /a install.msi
This appeared to work, but ran very quickly - in fact it didn't. On a whim, I tried this inside the admin command prompt.
msiexec /i install.msi
which worked a treat.
I've run into this behavior, where MSI installation is prevented with "The system administrator has set policies to prevent this installation" before. I believe it is due to default Windows Software Restriction policy and I've seen it on both Windows Server 2008 R2 and Windows Server 2012.
There is probably a better GUI based way to alter the policy, but setting the following reg key as an admin on the machine does the trick:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"DisableMSI"=dword:00000000
This is usually due to a Group Policy or a Local Policy disabling Windows Installer.
Look on your Domain Controller if you have a GPO disabling "Windows Installer": Computer Configuration > Administrative Templates > Windows Components > Windows Installer > "Turn off Windows Installer".
Verify that it is set to "Not configured" or "Disabled".
If if you don't find it in your GPO's, look on the computer's local policies using gpedit.msc.
Note: the fact that you are a domain admins doesn't matter. It all depends of the scope of the GPO.
Verify that it is set to "Not configured" or "Disabled". That's not true. The default (Not Configured) is 1 which means managed only. msdn.microsoft.com/en-us/library/aa368304.aspx Disabled in terms of gpos means the policy will be disabled, so the reg key will be deleted and the default is used. Sound's strange but you have to choose Enabled and select Never in the dropdown box
right-click -> run as administrator
Neither the msiexec nor registry fixes worked for me (even after rebooting), but disabling User Account Control and rebooting did the trick.
You have the option to turn off UAC via registry by changing the DWORD EnableLUA from 1 to 0 in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system. You will get a notification that a reboot is required. After the reboot, UAC is disabled.