年の最初の週 のレジストリ値 firstwoyユーザーHKCU\software\policies\microsoft\office\16.0\outlook\options\calendar

ポリシー ID
L_Firstweekofyear
適用対象
ユーザーの構成
サポートされるバージョン
Windows Server 2008 R2、Windows 7 またはそれ以降
出典
Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
カテゴリ
Microsoft Outlook 2016 › Outlook のオプション › ユーザー設定 › 予定表オプション

レジストリ

firstwoy

REG_DWORDユーザー
有効時の値
オプションの値に依存
要素
年の最初の週を選択してください:
オプション
項目保存される値
1 月 1 日に開始0
7 日あれば第 1 週とする2
4 日以上あれば第 1 週とする1
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; 1 月 1 日に開始
"firstwoy"=dword:00000000
; 7 日あれば第 1 週とする
"firstwoy"=dword:00000002
; 4 日以上あれば第 1 週とする
"firstwoy"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用)

:: 1 月 1 日に開始
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "firstwoy" /t REG_DWORD /d 0 /f
:: 7 日あれば第 1 週とする
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "firstwoy" /t REG_DWORD /d 2 /f
:: 4 日以上あれば第 1 週とする
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "firstwoy" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 1 月 1 日に開始
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'firstwoy' -PropertyType DWord -Value 0 -Force | Out-Null
# 7 日あれば第 1 週とする
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'firstwoy' -PropertyType DWord -Value 2 -Force | Out-Null
# 4 日以上あれば第 1 週とする
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'firstwoy' -PropertyType DWord -Value 1 -Force | Out-Null