Open in the explorer

Control slow network connection timeout for user profiles

Contrôler le délai d’attente des connexions réseau lentes pour les profils utilisateur

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › User Profiles FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Profils utilisateur
Supported on
At least Windows 2000 FR: Au minimum Windows 2000
ADMX file
UserProfiles.admx
Internal name
UserProfiles/SlowLinkTimeOut

Explanation

This policy setting defines a slow connection for roaming user profiles and establishes thresholds for two tests of network speed.

To determine the network performance characteristics, a connection is made to the file share storing the user's profile and 64 kilobytes of data is transfered. From that connection and data transfer, the network's latency and connection speed are determined.

This policy setting and related policy settings in this folder together define the system's response when roaming user profiles are slow to load.

If you enable this policy setting, you can change how long Windows waits for a response from the server before considering the connection to be slow.

If you disable or do not configure this policy setting, Windows considers the network connection to be slow if the server returns less than 500 kilobits of data per second or take 120 milliseconds to respond.Consider increasing this value for clients using DHCP Service-assigned addresses or for computers accessing profiles across dial-up connections.Important: If the "Do not detect slow network connections" policy setting is enabled, this policy setting is ignored. Also, if the "Delete cached copies of roaming profiles" policy setting is enabled, there is no local copy of the roaming profile to load when the system detects a slow connection.

French text from Windows 11 26H2

Ce paramètre de stratégie définit une connexion lente pour les profils utilisateur itinérants et établit des seuils pour deux tests de vitesse réseau.

Afin de déterminer les performances du réseau, une connexion est établie au partage de fichiers stockant le profil de l’utilisateur et 64 kilo-octets de données sont transférées. La latence et la vitesse de connexion du réseau sont déterminées à partir de cette connexion et du transfert de données.

Ce paramètre de stratégie et les paramètres de stratégie associés de ce dossier définissent ensemble la réponse du système lorsque le chargement des profils utilisateur itinérants est lent.

Si vous activez ce paramètre de stratégie, vous pouvez changer la durée pendant laquelle Windows attend une réponse du serveur avant de considérer la connexion comme lente.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, Windows considère que la connexion réseau est lente si le réseau renvoie moins de 500 kilo-octets de données par seconde ou répond à l’issue de 120 millisecondes. Envisagez d’augmenter cette valeur pour les clients utilisant des adresses attribuées par le service DHCP ou pour les ordinateurs accédant aux profils à travers des connexions d’accès à distance. Important : si le paramètre de stratégie « Ne pas détecter les connexions réseau lentes » est activé, ce paramètre de stratégie est ignoré. De même, si le paramètre de stratégie « Supprimer les copies mises en cache des profils itinérants » est activé, aucune copie locale du profil itinérant n’est chargée lorsque le système détecte une connexion lente.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System
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: UserProfiles/SlowLinkTimeOut
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Connection speed (Kbps)
Set-ItemProperty -Path $k -Name 'UserProfileMinTransferRate' -Value 500 -Type DWord  # maximum 4294967200
# Time (milliseconds)
Set-ItemProperty -Path $k -Name 'SlowLinkTimeOut' -Value 120 -Type DWord  # maximum 20000

Disable

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

Revert to "Not configured"

# Revert to "Not configured": UserProfiles/SlowLinkTimeOut
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'UserProfileMinTransferRate' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SlowLinkTimeOut' -ErrorAction SilentlyContinue

Options (2)

LabelControlRegistry valueREG typeConstraints / details
Connection speed (Kbps):Vitesse de connexion (Kbits/s) :TransferRateOpNumeric boxdecimalUserProfileMinTransferRateREG_DWORD
Max: 4294967200 · Default (UI): 500
Time (milliseconds)Durée (millisecondes)SlowLinkWaitIntervalNumeric boxdecimalSlowLinkTimeOutREG_DWORD
Required · Max: 20000 · Default (UI): 120

Availability