Open in the explorer

Allow time zone redirection

Autoriser la redirection du fuseau horaire

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Device and Resource Redirection FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Redirection de périphérique et de ressource
Supported on
At least Windows Server 2008 FR: Au minimum Windows Server 2008
ADMX file
terminalserver-server.admx
Internal name
terminalserver-server/TS_TIME_ZONE

Explanation

This policy setting allows you to specify whether the client computer redirects its time zone settings to the Remote Desktop Services session.

If you enable this policy setting, clients that are capable of time zone redirection send their time zone information to the server. The server base time is then used to calculate the current session time (current session time = server base time + client time zone).

If you disable or do not configure this policy setting, the client computer does not redirect its time zone information and the session time zone is the same as the server time zone.

Note: Time zone redirection is possible only when connecting to at least a Microsoft Windows Server 2003 terminal server with a client using RDP 5.1 or later.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de spécifier si l’ordinateur client redirige ses paramètres de fuseau horaire vers la session des services Bureau à distance.

Si vous activez ce paramètre de stratégie, les clients compatibles avec la redirection de fuseau horaire envoient leurs informations de fuseau horaire au serveur. L’heure de base du serveur est ensuite utilisée pour calculer l’heure de la session en cours (heure de la session en cours = heure de base du serveur + fuseau horaire du client).

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’ordinateur client ne redirige pas ses informations de fuseau horaire et le fuseau horaire de la session est identique à celui du serveur.

Remarque : la redirection de fuseau horaire est possible seulement quand la connexion est au moins établie à un serveur Terminal Server Microsoft Windows Server 2003, avec un client utilisant RDP 5.1 ou version ultérieure.

Registry

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
fEnableTimeZoneRedirection
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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-server/TS_TIME_ZONE
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fEnableTimeZoneRedirection' -Value 1 -Type DWord

Disable

# Disable: terminalserver-server/TS_TIME_ZONE
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fEnableTimeZoneRedirection' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": terminalserver-server/TS_TIME_ZONE
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'fEnableTimeZoneRedirection' -ErrorAction SilentlyContinue

Availability