Settimane: valore del Registro di sistema weeklabeldisplayUtenteHKCU\software\policies\microsoft\office\16.0\ms project\options\edit

ID criterio
L_PjWeeks
Ambito
Configurazione utente
Supportato in
Almeno Windows Server 2008 R2 o Windows 7
Origine
Microsoft 365 Apps / Office Administrative Templates (versione 5568.1000)
Categoria
Microsoft Project 2016 › Opzioni di Project › Modifica › Opzioni di visualizzazione per le unità di tempo in 'Proget1'

Registro

weeklabeldisplay

REG_DWORDUtente
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Settimane
Opzioni
VoceValore memorizzato
s0
sett.1
settimana2
3
4
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\ms project\options\edit]

; Opzioni (usarne solo una)
; s
"weeklabeldisplay"=dword:00000000
; sett.
"weeklabeldisplay"=dword:00000001
; settimana
"weeklabeldisplay"=dword:00000002
; 
"weeklabeldisplay"=dword:00000003
; 
"weeklabeldisplay"=dword:00000004
CMD
:: Opzioni (usarne solo una)

:: s
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "weeklabeldisplay" /t REG_DWORD /d 0 /f
:: sett.
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "weeklabeldisplay" /t REG_DWORD /d 1 /f
:: settimana
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "weeklabeldisplay" /t REG_DWORD /d 2 /f
:: 
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "weeklabeldisplay" /t REG_DWORD /d 3 /f
:: 
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "weeklabeldisplay" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Force | Out-Null

# Opzioni (usarne solo una)
# s
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'weeklabeldisplay' -PropertyType DWord -Value 0 -Force | Out-Null
# sett.
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'weeklabeldisplay' -PropertyType DWord -Value 1 -Force | Out-Null
# settimana
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'weeklabeldisplay' -PropertyType DWord -Value 2 -Force | Out-Null
# 
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'weeklabeldisplay' -PropertyType DWord -Value 3 -Force | Out-Null
# 
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'weeklabeldisplay' -PropertyType DWord -Value 4 -Force | Out-Null