Ouvrir dans l'explorateur

Désactiver le format abrégé de la date et de l’heure

Turn off abbreviated time and date format

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Menu Démarrer et barre des tâches EN : User Configuration › Policies › Administrative Templates › Start Menu and Taskbar
Pris en charge sur
Au moins Windows 11 version 22H2 EN : At least Windows 11 Version 22H2
Fichier ADMX
Taskbar.admx
Nom interne
Taskbar/TurnOffAbbreviatedDateTimeFormat

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie vous permet d’afficher le format de date et d’heure plus longs dans la barre d’état système.

Si ce paramètre est activé, le format d’heure inclut le marqueur d’heure AM/PM et la date inclut l’année.

Un redémarrage est nécessaire pour que ce paramètre de stratégie prenne effet.

This policy setting allows you to show the longer time and date format in the system tray.​

If this setting is enabled, the time format will include the AM/PM time marker and the date will include the year.​

A reboot is required for this policy setting to take effect.

Registre

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
Nom de la valeur
TurnOffAbbreviatedDateTimeFormat
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : Taskbar/TurnOffAbbreviatedDateTimeFormat
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TurnOffAbbreviatedDateTimeFormat' -Value 1 -Type DWord

Désactiver

# Désactiver : Taskbar/TurnOffAbbreviatedDateTimeFormat
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TurnOffAbbreviatedDateTimeFormat' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : Taskbar/TurnOffAbbreviatedDateTimeFormat
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'TurnOffAbbreviatedDateTimeFormat' -ErrorAction SilentlyContinue

Disponibilité

Windows 11

✓ 26H2✓ 25H2✓ 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016