Open in the explorer

Prevent embedded UI

Désactiver l’interface utilisateur incorporée

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
Windows Installer v4.5 FR: Windows Installer version 4.5
ADMX file
MSI.admx
Internal name
MSI/MsiDisableEmbeddedUI

Explanation

This policy setting controls the ability to prevent embedded UI.

If you enable this policy setting, no packages on the system can run embedded UI.

If you disable or do not configure this policy setting, embedded UI is allowed to run.

French text from Windows 11 26H2

Ce paramètre de stratégie contrôle la possibilité de désactiver l’interface utilisateur incorporée.

Si vous activez ce paramètre de stratégie, aucun package du système ne peut exécuter l’interface utilisateur incorporée.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’interface utilisateur incorporée est autorisée à s’exécuter.

Registry

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

Disable

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

Revert to "Not configured"

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

Availability