Select RDP transport protocols: registry value SelectTransportComputerHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

Policy ID
TS_SELECT_TRANSPORT
Scope
Computer 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 › Remote Desktop Session Host › Connections

Registry

SelectTransport

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Select Transport Type
Options
ItemStored value
Use either UDP or TCP2
Use only TCP1
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]

; Options (use only one)
; Use either UDP or TCP
"SelectTransport"=dword:00000002
; Use only TCP
"SelectTransport"=dword:00000001
CMD
:: Options (use only one)

:: Use either UDP or TCP
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SelectTransport" /t REG_DWORD /d 2 /f
:: Use only TCP
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SelectTransport" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null

# Options (use only one)
# Use either UDP or TCP
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SelectTransport' -PropertyType DWord -Value 2 -Force | Out-Null
# Use only TCP
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SelectTransport' -PropertyType DWord -Value 1 -Force | Out-Null