Open in the explorer

Enable enhanced shell experience for RemoteApp

Activer l’expérience d’interpréteur de commandes améliorée pour RemoteApp

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Remote Session Environment FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Environnement de session à distance
Supported on
At least Windows 11 Version 22H2 FR: Au moins Windows 11 version 22H2
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_SERVER_REMOTEAPP_USE_SHELLAPPRUNTIME

Explanation

This policy setting enables an enhanced shell experience for RemoteApp sessions, offering support for default file associations, Run/RunOnce registry keys, and more. This policy setting applies only to RemoteApp sessions and does not apply to Remote Desktop sessions.

If you enable or do not configure this policy setting, RemoteApp sessions on RD Session Host servers will have the enhanced shell experience.

If you disable this policy setting, RemoteApp sessions will not have the enhanced shell experience and will use the legacy shell behavior. This may be needed if compatibility issues arise in published RemoteApp programs.

French text from Windows 11 26H2

Ce paramètre de stratégie permet une expérience de shell améliorée pour les sessions RemoteApp, offrant la prise en charge des associations de fichiers par défaut, des clés de Registre Run/RunOnce, etc. Ce paramètre de stratégie s’applique uniquement aux sessions RemoteApp et ne s’applique pas aux sessions Bureau à distance.

Si vous activez ou ne configurez pas ce paramètre de stratégie, les sessions RemoteApp sur les serveurs hôtes de session Bureau à distance bénéficient de l’expérience shell améliorée.

Si vous désactivez ce paramètre de stratégie, les sessions RemoteApp n’auront pas l’expérience d’interpréteur de commandes améliorée et utiliseront le comportement hérité de l’interpréteur de commandes. Cela peut être nécessaire si des problèmes de compatibilité surviennent dans les programmes RemoteApp publiés.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
UseShellAppRuntimeRemoteApp
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: TerminalServer/TS_SERVER_REMOTEAPP_USE_SHELLAPPRUNTIME
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseShellAppRuntimeRemoteApp' -Value 1 -Type DWord

Disable

# Disable: TerminalServer/TS_SERVER_REMOTEAPP_USE_SHELLAPPRUNTIME
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseShellAppRuntimeRemoteApp' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": TerminalServer/TS_SERVER_REMOTEAPP_USE_SHELLAPPRUNTIME
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'UseShellAppRuntimeRemoteApp' -ErrorAction SilentlyContinue

Availability

Windows 11

✓ 26H2✓ 25H2✓ 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016