Open in the explorer

Specify default connection URL

Spécifier l’URL de connexion par défaut

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › RemoteApp and Desktop Connections FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Connexions aux programmes RemoteApp et aux services Bureau à distance
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_RADC_DefaultConnection

Explanation

This policy setting specifies the default connection URL for RemoteApp and Desktop Connections. The default connection URL is a specific connection that can only be configured by using Group Policy. In addition to the capabilities that are common to all connections, the default connection URL allows document file types to be associated with RemoteApp programs.

The default connection URL must be configured in the form of http://contoso.com/rdweb/Feed/webfeed.aspx.

If you enable this policy setting, the specified URL is configured as the default connection URL for the user and replaces any existing connection URL. The user cannot change the default connection URL. The user's default logon credentials are used when setting up the default connection URL.

If you disable or do not configure this policy setting, the user has no default connection URL.

Note: RemoteApp programs that are installed through RemoteApp and Desktop Connections from an untrusted server can compromise the security of a user's account.

French text from Windows 11 26H2

Ce paramètre de stratégie spécifie l’URL de connexion par défaut pour les connexions aux programmes RemoteApp et aux services Bureau à distance. L’URL de connexion par défaut est une connexion spécifique qui ne peut être configurée que via une stratégie de groupe. Outre les fonctionnalités communes à toutes les connexions, l’URL de connexion par défaut permet l’association de tous les types de fichiers à des programmes RemoteApp.

L’URL de connexion par défaut doit être configurée comme suit : http://contoso.com/rdweb/Feed/webfeed.aspx.

Si vous activez ce paramètre de stratégie, l’URL spécifiée est configurée comme l’URL de connexion par défaut pour l’utilisateur et elle remplace l’URL de connexion existante. L’utilisateur ne peut pas modifier l’URL de connexion par défaut. Les informations d’identification par défaut d’ouverture de session sont utilisées lorsque vous configurez l’URL de connexion par défaut.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, l’utilisateur ne dispose d’aucune URL de connexion par défaut.

Remarque : les programmes RemoteApp installés via les connexions aux programmes RemoteApp et aux services Bureau à distance provenant d’un serveur non approuvé peuvent compromettre la sécurité d’un compte d’utilisateur.

Registry

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Workspaces
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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_RADC_DefaultConnection
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Workspaces'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Default connection URL
Set-ItemProperty -Path $k -Name 'DefaultConnectionURL' -Value '<value>' -Type String

Disable

# Disable: TerminalServer/TS_RADC_DefaultConnection
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": TerminalServer/TS_RADC_DefaultConnection
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Workspaces'
Remove-ItemProperty -Path $k -Name 'DefaultConnectionURL' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Default connection URL:URL de connexion par défaut :TS_RADC_DefaultConnectionURLText boxtextDefaultConnectionURLREG_SZ
Required · Max length: 2083

Availability