Jaren: registerwaarde yearlabeldisplayGebruikerHKCU\software\policies\microsoft\office\16.0\ms project\options\edit
- Beleids-ID
- L_PjYears
- Bereik
- Gebruikersconfiguratie
- Ondersteund op
- Minimaal Windows Server 2008 R2 of Windows 7
- Bron
- Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
- Categorie
- Microsoft Project 2016 › Opties voor Project › Bewerken › Weergaveopties voor tijdseenheden in Project1
Register
yearlabeldisplay
REG_DWORDGebruiker- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Jaren
| Item | Opgeslagen waarde |
|---|---|
| j | 0 |
| jr | 1 |
| jaar | 2 |
| 3 | |
| 4 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\ms project\options\edit] ; Opties (gebruik er maar één) ; j "yearlabeldisplay"=dword:00000000 ; jr "yearlabeldisplay"=dword:00000001 ; jaar "yearlabeldisplay"=dword:00000002 ; "yearlabeldisplay"=dword:00000003 ; "yearlabeldisplay"=dword:00000004
CMD
:: Opties (gebruik er maar één) :: j reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "yearlabeldisplay" /t REG_DWORD /d 0 /f :: jr reg add "HKCU\software\policies\microsoft\office\16.0\ms project\options\edit" /v "yearlabeldisplay" /t REG_DWORD /d 1 /f :: jaar 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
# Algemeen: sleutel maken New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Force | Out-Null # Opties (gebruik er maar één) # j New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'yearlabeldisplay' -PropertyType DWord -Value 0 -Force | Out-Null # jr New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\edit' -Name 'yearlabeldisplay' -PropertyType DWord -Value 1 -Force | Out-Null # jaar 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