Show additional calendar
Afficher un calendrier supplémentaire
Explanation
By default, the calendar is set according to the locale of the operating system, and users can show an additional calendar. For zh-CN and zh-SG locales, an additional calendar shows the lunar month and date and holiday names in Simplified Chinese (Lunar) by default. For zh-TW, zh-HK, and zh-MO locales, an additional calendar shows the lunar month and date and holiday names in Traditional Chinese (Lunar) by default.
If you enable this policy setting, users can show an additional calendar in either Simplified Chinese (Lunar) or Traditional Chinese (Lunar), regardless of the locale.
If you disable this policy setting, users cannot show an additional calendar, regardless of the locale.
If you do not configure this policy setting, the calendar will be set according to the default logic.
Par défaut, le calendrier est défini selon les paramètres régionaux de votre système d'exploitation, et les utilisateurs peuvent afficher un calendrier supplémentaire. Pour les paramètres régionaux zh-CN et zh-SG, un calendrier supplémentaire indique le mois lunaire, la date lunaire et les désignations des vacances en chinois simplifié (lunaire) par défaut. Pour les paramètres régionaux zh-TW, zh-HK et zh-MO, un calendrier supplémentaire indique le mois lunaire, la date lunaire et les désignations des vacances en chinois traditionnel (lunaire) par défaut.
Si vous activez ce paramètre de stratégie, les utilisateurs peuvent afficher un calendrier supplémentaire en chinois simplifié (lunaire) ou chinois traditionnel (lunaire), quels que soient les paramètres régionaux.
Si vous désactivez ce paramètre de stratégie, les utilisateurs ne peuvent pas afficher de calendrier supplémentaire, et ce, quels que soient les paramètres régionaux.
Si vous ne configurez pas ce paramètre de stratégie, le calendrier est défini selon la logique par défaut.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Settings- Value name
AllowConfigureTaskbarCalendar
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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: Taskbar/ConfigureTaskbarCalendar
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowConfigureTaskbarCalendar' -Value 1 -Type DWord
# Calendar
# Possible options:
# Simplified Chinese (Lunar) = 2
# Traditional Chinese (Lunar) = 3
Set-ItemProperty -Path $k -Name 'ConfigureTaskbarCalendar' -Value 2 -Type DWordDisable
# Disable: Taskbar/ConfigureTaskbarCalendar
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowConfigureTaskbarCalendar' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Taskbar/ConfigureTaskbarCalendar
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Settings'
Remove-ItemProperty -Path $k -Name 'AllowConfigureTaskbarCalendar' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ConfigureTaskbarCalendar' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Calendar:Calendrier :ConfigureTaskbarCalendar_Dropdown | Drop-down listenum | ConfigureTaskbarCalendar | REG_DWORD | Required · Default choice (UI): #0
|