Jahre: Registrierungswert yearlabeldisplayBenutzerHKCU\software\policies\microsoft\office\16.0\ms project\options\edit

Richtlinien-ID
L_PjYears
Bereich
Benutzerkonfiguration
Unterstützt unter
Mindestens Windows Server 2008 R2 oder Windows 7
Quelle
Microsoft 365 Apps / Office Administrative Templates (Version 5568.1000)
Kategorie
Microsoft Project 2016 › Projektoptionen › Bearbeiten › Anzeigeoptionen für Zeiteinheiten in 'Projekt1'

Registrierung

yearlabeldisplay

REG_DWORDBenutzer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Jahre
Optionen
EintragGespeicherter Wert
J0
J1
Jahr2
3
4
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; J
"yearlabeldisplay"=dword:00000000
; J
"yearlabeldisplay"=dword:00000001
; Jahr
"yearlabeldisplay"=dword:00000002
; 
"yearlabeldisplay"=dword:00000003
; 
"yearlabeldisplay"=dword:00000004
CMD
:: Optionen (nur eine verwenden)

:: J
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "yearlabeldisplay" /t REG_DWORD /d 0 /f
:: J
reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "yearlabeldisplay" /t REG_DWORD /d 1 /f
:: Jahr
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
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Force | Out-Null

# Optionen (nur eine verwenden)
# J
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'yearlabeldisplay' -PropertyType DWord -Value 0 -Force | Out-Null
# J
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'yearlabeldisplay' -PropertyType DWord -Value 1 -Force | Out-Null
# Jahr
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