Open in the explorer

Prohibit User Installs

Interdire les installations par les utilisateurs

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
Microsoft Windows XP or Windows 2000 with Windows Installer v2.0 FR: Microsoft Windows XP ou Windows 2000 avec Windows Installer version 2
ADMX file
MSI.admx
Internal name
MSI/MSI_DisableUserInstalls

Explanation

This policy setting allows you to configure user installs. To configure this policy setting, set it to enabled and use the drop-down list to select the behavior you want.

If you do not configure this policy setting, or if the policy setting is enabled and "Allow User Installs" is selected, the installer allows and makes use of products that are installed per user, and products that are installed per computer. If the installer finds a per-user install of an application, this hides a per-computer installation of that same product.

If you enable this policy setting and "Hide User Installs" is selected, the installer ignores per-user applications. This causes a per-computer installed application to be visible to users, even if those users have a per-user install of the product registered in their user profile.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer les installations utilisateur. Pour configurer ce paramètre de stratégie, activez-le et utilisez la liste déroulante pour sélectionner le comportement voulu.

Si vous ne configurez pas ce paramètre de stratégie, ou s’il est activé et que l’option « Autoriser l’installation par l’utilisateur » est sélectionnée, le programme d’installation autorise et utilise les produits installés par utilisateur et les produits installés par ordinateur. Si le programme d’installation trouve une installation par utilisateur d’une application, l’installation par ordinateur de ce même produit est alors masquée.

Si vous activez ce paramètre de stratégie et si l’option « Masquer l’installation par l’utilisateur » est sélectionnée, le programme d’installation ignore les applications par utilisateur. Une application installée par ordinateur est alors visible par les utilisateurs, même si ceux-ci ont une installation par utilisateur du produit inscrite dans leur profil d’utilisateur.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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/MSI_DisableUserInstalls
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# User Install Behavior
# Possible options:
#   Allow User Installs = 0
#   Hide User Installs = 1
Set-ItemProperty -Path $k -Name 'DisableUserInstalls' -Value 1 -Type DWord

Disable

# Disable: MSI/MSI_DisableUserInstalls
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
User Install Behavior:Comportement de l’installation par l’utilisateur :MSI_DisableUserInstallsBoxDrop-down listenumDisableUserInstallsREG_DWORD
Required · Default choice (UI): #1
LabelValue
Allow User InstallsREG_DWORD = 0
Hide User InstallsREG_DWORD = 1

Availability