Waarschuwing voor aangepaste opmaak: registerwaarde custommarkupwarningGebruikerHKCU\software\policies\microsoft\office\16.0\word\options

Beleids-ID
L_CustomMarkupWarning
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft Word 2016 › Opties voor Word › Geavanceerd

Register

custommarkupwarning

REG_DWORDGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Waarschuwing voor aangepaste markeringen:
Opties
ItemOpgeslagen waarde
Niet vragen0
Vragen1
Altijd vragen2
Waarschuwen en het bestand openen als alleen-lezen3
Altijd vragen en het bestand openen als alleen-lezen4
Niet vragen en het bestand openen als alleen-lezen5
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\options]

; Opties (gebruik er maar één)
; Niet vragen
"custommarkupwarning"=dword:00000000
; Vragen
"custommarkupwarning"=dword:00000001
; Altijd vragen
"custommarkupwarning"=dword:00000002
; Waarschuwen en het bestand openen als alleen-lezen
"custommarkupwarning"=dword:00000003
; Altijd vragen en het bestand openen als alleen-lezen
"custommarkupwarning"=dword:00000004
; Niet vragen en het bestand openen als alleen-lezen
"custommarkupwarning"=dword:00000005
CMD
:: Opties (gebruik er maar één)

:: Niet vragen
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "custommarkupwarning" /t REG_DWORD /d 0 /f
:: Vragen
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "custommarkupwarning" /t REG_DWORD /d 1 /f
:: Altijd vragen
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "custommarkupwarning" /t REG_DWORD /d 2 /f
:: Waarschuwen en het bestand openen als alleen-lezen
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "custommarkupwarning" /t REG_DWORD /d 3 /f
:: Altijd vragen en het bestand openen als alleen-lezen
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "custommarkupwarning" /t REG_DWORD /d 4 /f
:: Niet vragen en het bestand openen als alleen-lezen
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "custommarkupwarning" /t REG_DWORD /d 5 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Force | Out-Null

# Opties (gebruik er maar één)
# Niet vragen
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'custommarkupwarning' -PropertyType DWord -Value 0 -Force | Out-Null
# Vragen
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'custommarkupwarning' -PropertyType DWord -Value 1 -Force | Out-Null
# Altijd vragen
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'custommarkupwarning' -PropertyType DWord -Value 2 -Force | Out-Null
# Waarschuwen en het bestand openen als alleen-lezen
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'custommarkupwarning' -PropertyType DWord -Value 3 -Force | Out-Null
# Altijd vragen en het bestand openen als alleen-lezen
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'custommarkupwarning' -PropertyType DWord -Value 4 -Force | Out-Null
# Niet vragen en het bestand openen als alleen-lezen
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'custommarkupwarning' -PropertyType DWord -Value 5 -Force | Out-Null