Open in the explorer

Turn off Windows Installer RDS Compatibility

Désactiver la compatibilité des services Bureau à distance de Windows Installer

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Application Compatibility FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Compatibilité des applications
Supported on
At least Windows Server 2008 R2 FR: Au moins Windows Server 2008 R2
ADMX file
terminalserver-server.admx
Internal name
terminalserver-server/TS_DISABLE_MSI

Explanation

This policy setting specifies whether Windows Installer RDS Compatibility runs on a per user basis for fully installed applications. Windows Installer allows one instance of the msiexec process to run at a time. By default, Windows Installer RDS Compatibility is turned on.

If you enable this policy setting, Windows Installer RDS Compatibility is turned off, and only one instance of the msiexec process can run at a time.

If you disable or do not configure this policy setting, Windows Installer RDS Compatibility is turned on, and multiple per user application installation requests are queued and handled by the msiexec process in the order in which they are received.

French text from Windows 11 26H2

Ce paramètre de stratégie indique si la compatibilité des services Bureau à distance de Windows Installer est exécutée en fonction d’une stratégie par utilisateur pour les applications entièrement installées. Windows Installer ne permet qu’à une seule instance du processus msiexec de s’exécuter à la fois. Par défaut, la compatibilité des services Bureau à distance de Windows Installer est activée.

Si vous activez ce paramètre de stratégie, la compatibilité des services Bureau à distance de Windows Installer est désactivée et une seule instance du processus msiexec peut être exécutée à la fois.

Si vous désactivez ou ne configurez pas ce paramètre, la compatibilité des services Bureau à distance de Windows Installer est activée et lorsque plusieurs demandes d’installation d’application par utilisateur sont effectuées, elles sont placées en file d’attente et gérées par le processus msiexec dans l’ordre dans lequel elles sont reçues.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI
Value name
Enable
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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: terminalserver-server/TS_DISABLE_MSI
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enable' -Value 0 -Type DWord

Disable

# Disable: terminalserver-server/TS_DISABLE_MSI
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enable' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": terminalserver-server/TS_DISABLE_MSI
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI'
Remove-ItemProperty -Path $k -Name 'Enable' -ErrorAction SilentlyContinue

Availability