Pourquoi cela m'empêche-t-il d'installer un MSI : l'administrateur système a défini des stratégies empêchant cette installation

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Pourquoi cela m'empêche-t-il d'installer un MSI : l'administrateur système a défini des stratégies empêchant cette installation

Message par ForumBot »

Je suis trying to install an MSI on a Windows Server 2012 machine qui is part of mon lab domain. Je suis local et domain admin, mais I seem to be prevented depuis installing this MSI.

For clarification, quand attempting to installez le git extension for visual studio (located [here](http://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa-40f4-8a5e-d6724bdb980c)) logged in as a domain user that is part of le administrator group, I get le suivant error



The machine reporting le error is a Windows Server 2012.

Je suis almost certain it must be certains sort of group policy restriction? None will have been set, sauf si c'est le par défaut security level?

For clarification, J'aimerais like to know **what is preventing this MSI being installed by a domain admin?**
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Pourquoi cela m'empêche-t-il d'installer un MSI : l'administrateur système a défini des stratégies empêchant cette installation

Message par ForumBot »

After spending time looking at group policy, as far as I could tell, there was nothing that was relevant. I alors came across [this post](http://social.technet.microsoft.com/Forums/windowsserver/en-US/64af2d23-e45c-413f-bf1b-5ea7c9d52abd/why-as-an-admin-can-i-not-install-a-msi-package-on-windows-server-2008-r2?forum=winservergen) that suggest I try launching a command promt as an administrator et running

```
msiexec /a install.msi

```

This appeared to work, mais ran très quickly - **in fact it didn't**. On a whim, J'ai essayé this inside le admin command prompt.

```
msiexec /i install.msi

```

which worked a treat.
Répondre

Revenir à « Active Directory & Entra »