Turn off Windows Installer RDS Compatibility
Désactiver la compatibilité des services Bureau à distance de Windows Installer
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert 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