Años: valor del Registro yearlabeldisplayUsuarioHKCU\software\policies\microsoft\office\16.0\ms project\options\edit

Id. de directiva
L_PjYears
Á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

yearlabeldisplay

REG_DWORDUsuario
Valor al habilitar
Depende del valor de la opción
Elemento
Años
Opciones
Elemento de listaValor almacenado
a0
año1
año2
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)
; a
"yearlabeldisplay"=dword:00000000
; año
"yearlabeldisplay"=dword:00000001
; año
"yearlabeldisplay"=dword:00000002
; 
"yearlabeldisplay"=dword:00000003
; 
"yearlabeldisplay"=dword:00000004
CMD
:: Opciones (usar solo una)

:: a
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "yearlabeldisplay" /t REG_DWORD /d 0 /f
:: año
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "yearlabeldisplay" /t REG_DWORD /d 1 /f
:: año
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "yearlabeldisplay" /t REG_DWORD /d 2 /f
:: 
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "yearlabeldisplay" /t REG_DWORD /d 3 /f
:: 
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "yearlabeldisplay" /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)
# a
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'yearlabeldisplay' -PropertyType DWord -Value 0 -Force | Out-Null
# año
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'yearlabeldisplay' -PropertyType DWord -Value 1 -Force | Out-Null
# año
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'yearlabeldisplay' -PropertyType DWord -Value 2 -Force | Out-Null
# 
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'yearlabeldisplay' -PropertyType DWord -Value 3 -Force | Out-Null
# 
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'yearlabeldisplay' -PropertyType DWord -Value 4 -Force | Out-Null