Ore: valore del Registro di sistema hourlabeldisplayUtenteHKCU\software\policies\microsoft\office\16.0\ms project\options\edit
- ID criterio
- L_PjHours
- 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
hourlabeldisplay
REG_DWORDUtente- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Ore
| Voce | Valore memorizzato |
|---|---|
| h | 0 |
| h. | 1 |
| ora | 2 |
| 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) ; h "hourlabeldisplay"=dword:00000000 ; h. "hourlabeldisplay"=dword:00000001 ; ora "hourlabeldisplay"=dword:00000002 ; "hourlabeldisplay"=dword:00000003 ; "hourlabeldisplay"=dword:00000004
CMD
:: Opzioni (usarne solo una) :: h reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "hourlabeldisplay" /t REG_DWORD /d 0 /f :: h. reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "hourlabeldisplay" /t REG_DWORD /d 1 /f :: ora reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "hourlabeldisplay" /t REG_DWORD /d 2 /f :: reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "hourlabeldisplay" /t REG_DWORD /d 3 /f :: reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "hourlabeldisplay" /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) # h New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'hourlabeldisplay' -PropertyType DWord -Value 0 -Force | Out-Null # h. New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'hourlabeldisplay' -PropertyType DWord -Value 1 -Force | Out-Null # ora New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'hourlabeldisplay' -PropertyType DWord -Value 2 -Force | Out-Null # New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'hourlabeldisplay' -PropertyType DWord -Value 3 -Force | Out-Null # New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'hourlabeldisplay' -PropertyType DWord -Value 4 -Force | Out-Null