Specify default connection URL: registry value DefaultConnectionURLUserHKCU\SOFTWARE\Policies\Microsoft\Workspaces
- Policy ID
- TS_RADC_DefaultConnection
- Scope
- User Configuration
- Supported on
- At least Windows Server 2012, Windows 8 or Windows RT
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Remote Desktop Services › RemoteApp and Desktop Connections
Registry
DefaultConnectionURL
REG_SZUserHKCU\SOFTWARE\Policies\Microsoft\Workspaces Current key
- Enabled value
- Depends on the option value
- Element
- Default connection URL:
- Value type
- REG_SZ
- Required
- true
- Client extension
- {4D2F9B6F-1E52-4711-A382-6A8B1A003DE6}
- Maximum length
- 2083
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Workspaces] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "DefaultConnectionURL"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKCU\SOFTWARE\Policies\Microsoft\Workspaces" /v "DefaultConnectionURL" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Workspaces' -Force | Out-Null New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Workspaces' -Name 'DefaultConnectionURL' -PropertyType String -Value '<enter value>' -Force | Out-Null