Horas: valor del Registro hourlabeldisplayUsuarioHKCU\software\policies\microsoft\office\16.0\ms project\options\edit
- Id. de directiva
- L_PjHours
- Ámbito
- Configuración de usuario
- Compatible con
- Al menos Windows Server 2008 R2 o Windows 7
- Origen
- Microsoft 365 Apps / Office Administrative Templates (versión 5568.1000)
- Categoría
- Microsoft Project 2016 › Opciones de proyecto › Edición › Ver opciones de unidades de tiempo en 'Project1'
Registro
hourlabeldisplay
REG_DWORDUsuario- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Horas
| Elemento de lista | Valor almacenado |
|---|---|
| h | 0 |
| h | 1 |
| hora | 2 |
| 3 | |
| 4 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\ms project\options\edit] ; Opciones (usar solo una) ; h "hourlabeldisplay"=dword:00000000 ; h "hourlabeldisplay"=dword:00000001 ; hora "hourlabeldisplay"=dword:00000002 ; "hourlabeldisplay"=dword:00000003 ; "hourlabeldisplay"=dword:00000004
CMD
:: Opciones (usar 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 :: hora 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
# Común: crear la clave New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Force | Out-Null # Opciones (usar 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 # hora 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