Première semaine de l’année : valeur de Registre firstwoyUtilisateurHKCU\software\policies\microsoft\office\16.0\outlook\options\calendar

ID de stratégie
L_Firstweekofyear
Étendue
Configuration utilisateur
Pris en charge sur
Au minimum Windows Server 2008 R2 ou Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Catégorie
Microsoft Outlook 2016 › OptionsOutlook › Préférences › Options du calendrier

Registre

firstwoy

REG_DWORDUtilisateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Sélectionner la première semaine de l’année :
Options
EntréeValeur stockée
Commence le 1er janvier0
Première semaine entière2
Première semaine de quatre jours1
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\calendar]

; Options (en utiliser une seule)
; Commence le 1er janvier
"firstwoy"=dword:00000000
; Première semaine entière
"firstwoy"=dword:00000002
; Première semaine de quatre jours
"firstwoy"=dword:00000001
CMD
:: Options (en utiliser une seule)

:: Commence le 1er janvier
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "firstwoy" /t REG_DWORD /d 0 /f
:: Première semaine entière
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "firstwoy" /t REG_DWORD /d 2 /f
:: Première semaine de quatre jours
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "firstwoy" /t REG_DWORD /d 1 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Force | Out-Null

# Options (en utiliser une seule)
# Commence le 1er janvier
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'firstwoy' -PropertyType DWord -Value 0 -Force | Out-Null
# Première semaine entière
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'firstwoy' -PropertyType DWord -Value 2 -Force | Out-Null
# Première semaine de quatre jours
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'firstwoy' -PropertyType DWord -Value 1 -Force | Out-Null