每週開始於 的登錄值 start week day使用者HKCU\software\policies\microsoft\office\16.0\ms project\options\calendar
- 原則 ID
- L_PjWeekStarts
- 適用範圍
- 使用者設定
- 支援的作業系統
- 至少需要 Windows Server 2008 R2 或 Windows 7
- 來源
- Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
- 類別
- Microsoft Project 2016 › Project 選項 › 行事曆
登錄
start week day
REG_DWORD使用者- 啟用時的值
- 取決於選項值
- 元素
- 每週開始於
| 項目 | 儲存的值 |
|---|---|
| 星期六 | 6 |
| 星期日 | 0 |
| 星期一 | 1 |
| 星期二 | 2 |
| 星期三 | 3 |
| 星期四 | 4 |
| 星期五 | 5 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\ms project\options\calendar] ; 選項 (只使用其中一個) ; 星期六 "start week day"=dword:00000006 ; 星期日 "start week day"=dword:00000000 ; 星期一 "start week day"=dword:00000001 ; 星期二 "start week day"=dword:00000002 ; 星期三 "start week day"=dword:00000003 ; 星期四 "start week day"=dword:00000004 ; 星期五 "start week day"=dword:00000005
CMD
:: 選項 (只使用其中一個) :: 星期六 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\calendar" /v "start week day" /t REG_DWORD /d 6 /f :: 星期日 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\calendar" /v "start week day" /t REG_DWORD /d 0 /f :: 星期一 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\calendar" /v "start week day" /t REG_DWORD /d 1 /f :: 星期二 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\calendar" /v "start week day" /t REG_DWORD /d 2 /f :: 星期三 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\calendar" /v "start week day" /t REG_DWORD /d 3 /f :: 星期四 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\calendar" /v "start week day" /t REG_DWORD /d 4 /f :: 星期五 reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\calendar" /v "start week day" /t REG_DWORD /d 5 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calendar' -Force | Out-Null # 選項 (只使用其中一個) # 星期六 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calendar' -Name 'start week day' -PropertyType DWord -Value 6 -Force | Out-Null # 星期日 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calendar' -Name 'start week day' -PropertyType DWord -Value 0 -Force | Out-Null # 星期一 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calendar' -Name 'start week day' -PropertyType DWord -Value 1 -Force | Out-Null # 星期二 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calendar' -Name 'start week day' -PropertyType DWord -Value 2 -Force | Out-Null # 星期三 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calendar' -Name 'start week day' -PropertyType DWord -Value 3 -Force | Out-Null # 星期四 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calendar' -Name 'start week day' -PropertyType DWord -Value 4 -Force | Out-Null # 星期五 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calendar' -Name 'start week day' -PropertyType DWord -Value 5 -Force | Out-Null