Open in the explorer

Allow user control over installs

Autoriser le contrôle des installations par l’utilisateur

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Installer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Installer
Supported on
At least Windows 2000 FR: Au minimum Windows 2000
ADMX file
MSI.admx
Internal name
MSI/EnableUserControl

Explanation

This policy setting permits users to change installation options that typically are available only to system administrators.

If you enable this policy setting, some of the security features of Windows Installer are bypassed. It permits installations to complete that otherwise would be halted due to a security violation.

If you disable or do not configure this policy setting, the security features of Windows Installer prevent users from changing installation options typically reserved for system administrators, such as specifying the directory to which files are installed.

If Windows Installer detects that an installation package has permitted the user to change a protected option, it stops the installation and displays a message. These security features operate only when the installation program is running in a privileged security context in which it has access to directories denied to the user.

This policy setting is designed for less restrictive environments. It can be used to circumvent errors in an installation program that prevents software from being installed.

French text from Windows 11 26H2

Ce paramètre de stratégie permet aux utilisateurs de modifier les options d’installation qui ne sont généralement disponibles que pour les administrateurs système.

Si vous activez ce paramètre de stratégie, certaines fonctionnalités de sécurité de Windows Installer sont contournées. Il autorise les installations à se terminer alors qu’elles auraient dû être arrêtées en raison d’une violation de sécurité.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les fonctionnalités de sécurité de Windows Installer empêchent les utilisateurs de modifier les options d’installation qui sont généralement réservées aux administrateurs système, telles que la spécification du répertoire d’installation des fichiers.

Si Windows Installer détecte qu’un kit d’installation a autorisé l’utilisateur à modifier une option protégée, il arrête l’installation et affiche un message. Ces fonctionnalités de sécurité sont actives uniquement lorsque le programme d’installation s’exécute dans un contexte de sécurité privilégié dans lequel il a accès aux répertoires qui sont refusés à l’utilisateur.

Ce paramètre de stratégie est conçu pour les environnements qui n’ont pas besoin d’une sécurité totale. Il peut être utilisé pour palier les erreurs dans un programme d’installation qui empêche l’installation du logiciel.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Value name
EnableUserControl
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: MSI/EnableUserControl
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableUserControl' -Value 1 -Type DWord

Disable

# Disable: MSI/EnableUserControl
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableUserControl' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": MSI/EnableUserControl
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
Remove-ItemProperty -Path $k -Name 'EnableUserControl' -ErrorAction SilentlyContinue

Availability