Open in the explorer

Allow users to patch elevated products

Autoriser les utilisateurs à appliquer des correctifs sur des installations avec privilèges élevés

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/AllowLockdownPatch

Explanation

This policy setting allows users to patch elevated products.

If you enable this policy setting, all users are permitted to install patches, even when the installation program is running with elevated system privileges. Patches are updates or upgrades that replace only those program files that have changed. Because patches can easily be vehicles for malicious programs, some installations prohibit their use.

If you disable or do not configure this policy setting, by default, only system administrators can apply patches during installations with elevated privileges, such as installations offered on the desktop or displayed in Add or Remove Programs.

This policy setting does not affect installations that run in the user's security context. By default, users can install patches to programs that run in their own security context. Also, see the "Prohibit patching" policy setting.

French text from Windows 11 26H2

Ce paramètre de stratégie permet aux utilisateurs d’appliquer des correctifs sur des installations avec privilèges élevés.

Si vous activez ce paramètre de stratégie, tous les utilisateurs sont autorisés à installer des correctifs, même si le programme d’installation s’exécute avec des privilèges système élevés. Les correctifs sont des mises à jour ou des mises à niveau qui remplacent uniquement les fichiers programmes qui ont changé. Comme les correctifs sont des sources faciles d’intrusion malveillante, certaines installations empêchent leur utilisation.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, par défaut, seuls les administrateurs système peuvent appliquer des correctifs lors d’installations avec privilèges élevés (par exemple, les installations disponibles sur le Bureau ou affichées dans l’application Ajout/Suppression de programmes).

Ce paramètre de stratégie n’affecte pas les installations qui s’exécutent dans le contexte de sécurité de l’utilisateur. Par défaut, les utilisateurs peuvent installer des correctifs aux programmes qui s’exécutent dans leur propre contexte de sécurité. Consultez également le paramètre de stratégie « Empêcher l’application de correctifs ».

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Value name
AllowLockdownPatch
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/AllowLockdownPatch
$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 'AllowLockdownPatch' -Value 1 -Type DWord

Disable

# Disable: MSI/AllowLockdownPatch
$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 'AllowLockdownPatch' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability