Toegang van invoegtoepassingen tot secties die met een wachtwoord zijn beveiligd niet toegestaan: registerwaarde allowaddinaccesstoencryptedfilesGebruikerHKCU\software\policies\microsoft\office\16.0\onenote\security

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

Register

allowaddinaccesstoencryptedfiles

REG_DWORDGebruiker
Waarde bij ingeschakeld
0
Waarde bij uitgeschakeld
1
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\onenote\security]

; Opties (gebruik er maar één)
; Ingeschakeld
"allowaddinaccesstoencryptedfiles"=dword:00000000
; Uitgeschakeld
"allowaddinaccesstoencryptedfiles"=dword:00000001
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\security" /v "allowaddinaccesstoencryptedfiles" /t REG_DWORD /d 0 /f
:: Uitgeschakeld
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\security" /v "allowaddinaccesstoencryptedfiles" /t REG_DWORD /d 1 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\security' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\security' -Name 'allowaddinaccesstoencryptedfiles' -PropertyType DWord -Value 0 -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\security' -Name 'allowaddinaccesstoencryptedfiles' -PropertyType DWord -Value 1 -Force | Out-Null