Office Admin Explorer

Deaktiviert den Zugriff von Add-Ons auf kennwortgeschützte Abschnitte.

Registrierungswert
allowaddinaccesstoencryptedfiles
GruppenrichtlinieDeaktiviert den Zugriff von Add-Ons auf kennwortgeschützte Abschnitte.
Englische VersionDisallows add-ons access to password protected sections
Intune-EinstellungskatalogDisallows add-ons access to password protected sections (User)
BereichBenutzer · HKCU
ADMXonent16.admx · L_Disallowsaddonsaccesstopass
Im interaktiven Explorer öffnen+ Zur Sammlung

Pfad der Gruppenrichtlinie

Benutzerkonfiguration\Richtlinien\Administrative Vorlagen\Microsoft OneNote 2016\OneNote-Optionen\Kennwort
User Configuration\Policies\Administrative Templates\Microsoft OneNote 2016\OneNote Options\Password

Registrierung

WertDaten
HKCU\Software\policies\microsoft\office\16.0\onenote\security
allowaddinaccesstoencryptedfilesEnabled = 0 · Disabled = 1

Nicht konfiguriert = der Wert existiert nicht – es gilt der Standard der Anwendung, Benutzer dürfen die Einstellung ändern.

PowerShell

Aktuellen Wert prüfen (nur lesen)

# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

$key = "$root\Software\policies\microsoft\office\16.0\onenote\security"
foreach ($name in @('allowaddinaccesstoencryptedfiles')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}

Adminrechte nötig: HKCU\Software\Policies ist für Standardbenutzer schreibgeschützt. Eine erhöhte Sitzung schreibt in das HKCU des Admins – für einen anderen angemeldeten Benutzer $root auf Registry::HKEY_USERS\<SID> ändern.

Aktivieren

# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

try {
    $key = "$root\Software\policies\microsoft\office\16.0\onenote\security"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'allowaddinaccesstoencryptedfiles' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null   # Enabled
    'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }
Deaktivieren
# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

try {
    $key = "$root\Software\policies\microsoft\office\16.0\onenote\security"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'allowaddinaccesstoencryptedfiles' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Disabled
    'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }
Auf „Nicht konfiguriert“ zurücksetzen
# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

$key = "$root\Software\policies\microsoft\office\16.0\onenote\security"
Remove-ItemProperty -Path $key -Name 'allowaddinaccesstoencryptedfiles' -ErrorAction SilentlyContinue
'Policy values removed (Not configured).'

Intune (Einstellungskatalog)

Disallows add-ons access to password protected sections (User)

Einstellungskatalog → Einstellungen hinzufügen → nach dem Namen oben suchen.

Intune Settings Catalog Viewer ↗

Alternative: benutzerdefiniertes Profil (OMA-URI)
OMA-URI
./User/Vendor/MSFT/Policy/Config/onent16v2~Policy~L_MicrosoftOfficeOneNote~L_OneNoteOptions~L_Password/L_Disallowsaddonsaccesstopass
DatentypString
Wert<enabled/> · <disabled/>

Cloud Policy

Cloud Policy (config.office.com → Anpassung → Richtlinienverwaltung) enthält viele Benutzerrichtlinien der Microsoft 365 Apps – suchen nach Disallows add-ons access to password protected sections. Gilt auch auf nicht verwalteten Geräten und hat Vorrang vor GPO und Intune bei derselben Einstellung.

Erklärung von Microsoft

Mit dieser Option kann für Erweiterungs-Add-Ons der Zugriff auf kennwortgeschützte Abschnitte deaktiviert werden, wenn sie nicht gesperrt sind.

Gleiche Kategorie: Microsoft OneNote 2016 › OneNote-Optionen › Kennwort

Alle Richtlinien dieser Kategorie · Alle 86 Richtlinien von onent16.admx