Open in the explorer

Select network detection on the server

Sélectionner la détection du réseau sur le serveur

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Connections FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Connexions
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_SELECT_NETWORK_DETECT

Explanation

This policy setting allows you to specify how the Remote Desktop Protocol will try to detect the network quality (bandwidth and latency).

You can choose to disable Connect Time Detect, Continuous Network Detect, or both Connect Time Detect and Continuous Network Detect.

If you disable Connect Time Detect, Remote Desktop Protocol will not determine the network quality at the connect time, and it will assume that all traffic to this server originates from a low-speed connection.

If you disable Continuous Network Detect, Remote Desktop Protocol will not try to adapt the remote user experience to varying network quality.

If you disable Connect Time Detect and Continuous Network Detect, Remote Desktop Protocol will not try to determine the network quality at the connect time; instead it will assume that all traffic to this server originates from a low-speed connection, and it will not try to adapt the user experience to varying network quality.

If you disable or do not configure this policy setting, Remote Desktop Protocol will spend up to a few seconds trying to determine the network quality prior to the connection, and it will continuously try to adapt the user experience to varying network quality.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’indiquer comment le protocole RDP (Remote Desktop Protocol) va essayer de détecter la qualité du réseau (bande passante et latence).

Vous pouvez désactiver l’option Détection au moment de la connexion ou Détection continue du réseau, ou les deux.

Si vous désactivez Détection au moment de la connexion, le protocole RDP (Remote Desktop Protocol) ne peut pas déterminer la qualité du réseau au moment de la connexion et suppose que tout le trafic à destination de ce serveur provient d’une connexion à basse vitesse.

Si vous désactivez l’option Détection continue du réseau, le protocole RDP (Remote Desktop Protocol) n’essaie pas d’adapter l’expérience utilisateur à distance aux variations de qualité du réseau.

Si vous désactivez les options Détection au moment de la connexion et Détection continue du réseau, le protocole RDP (Remote Desktop Protocol) n’essaie pas de déterminer la qualité du réseau au moment de la connexion. En revanche, il suppose que tout le trafic à destination de ce serveur provient d’une connexion à basse vitesse et il n’essaie pas d’adapter l’expérience utilisateur aux variations de qualité du réseau.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le protocole RDP (Remote Desktop Protocol) tente pendant quelques secondes de déterminer la qualité du réseau avant la connexion et essaie constamment d’adapter l’expérience utilisateur aux variations de qualité du réseau.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
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_SELECT_NETWORK_DETECT
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Select Network Detect Level
# Possible options:
#   Use both Connect Time Detect and Continuous Network Detect = 0
#   Turn off Connect Time Detect = 1
#   Turn off Continuous Network Detect = 2
#   Turn off Connect Time Detect and Continuous Network Detect = 3
Set-ItemProperty -Path $k -Name 'SelectNetworkDetect' -Value 0 -Type DWord

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Select Network Detect LevelSélectionner le niveau de détection du réseauTS_SELECT_NETWORK_DETECT_LEVELDrop-down listenumSelectNetworkDetectREG_DWORD
Default choice (UI): #0
LabelValue
Use both Connect Time Detect and Continuous Network DetectREG_DWORD = 0
Turn off Connect Time DetectREG_DWORD = 1
Turn off Continuous Network DetectREG_DWORD = 2
Turn off Connect Time Detect and Continuous Network DetectREG_DWORD = 3

Availability