Office Admin Explorer

Benutzeroberflächenerweiterung von Dokumenten und Vorlagen deaktivieren

Registrierungswert
noextensibilitycustomizationfromdocument
GruppenrichtlinieBenutzeroberflächenerweiterung von Dokumenten und Vorlagen deaktivieren
Englische VersionDisable UI extending from documents and templates
Intune-EinstellungskatalogDisable UI extending from documents and templates (User)
BereichBenutzer · HKCU
ADMXoffice16.admx · L_NoExtensibilityCustomizationFromDocumentPolicy
Im interaktiven Explorer öffnen+ Zur Sammlung

Pfad der Gruppenrichtlinie

Benutzerkonfiguration\Richtlinien\Administrative Vorlagen\Microsoft Office 2016\Globale Optionen\Benutzerdefiniert
User Configuration\Policies\Administrative Templates\Microsoft Office 2016\Global Options\Customize

Registrierung

WertDaten
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\word
noextensibilitycustomizationfromdocumentEnabled = 1 · Disabled = 0
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\excel
noextensibilitycustomizationfromdocumentEnabled = 1 · Disabled = 0
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\powerpoint
noextensibilitycustomizationfromdocumentEnabled = 1 · Disabled = 0
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\access
noextensibilitycustomizationfromdocumentEnabled = 1 · Disabled = 0
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\outlook
noextensibilitycustomizationfromdocumentEnabled = 1 · Disabled = 0
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\publisher
noextensibilitycustomizationfromdocumentEnabled = 1 · Disabled = 0
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\project
noextensibilitycustomizationfromdocumentEnabled = 1 · Disabled = 0
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\visio
noextensibilitycustomizationfromdocumentEnabled = 1 · Disabled = 0
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\infopath
noextensibilitycustomizationfromdocumentEnabled = 1 · Disabled = 0

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\common\toolbars\word"
foreach ($name in @('noextensibilitycustomizationfromdocument')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\excel"
foreach ($name in @('noextensibilitycustomizationfromdocument')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\powerpoint"
foreach ($name in @('noextensibilitycustomizationfromdocument')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\access"
foreach ($name in @('noextensibilitycustomizationfromdocument')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\outlook"
foreach ($name in @('noextensibilitycustomizationfromdocument')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\publisher"
foreach ($name in @('noextensibilitycustomizationfromdocument')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\project"
foreach ($name in @('noextensibilitycustomizationfromdocument')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\visio"
foreach ($name in @('noextensibilitycustomizationfromdocument')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\infopath"
foreach ($name in @('noextensibilitycustomizationfromdocument')) {
    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\common\toolbars\word"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    $key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\excel"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    $key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\powerpoint"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    $key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\access"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    $key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\outlook"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    $key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\publisher"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    $key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\project"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    $key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\visio"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    $key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\infopath"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    '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\common\toolbars\word"
Remove-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -ErrorAction SilentlyContinue
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\excel"
Remove-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -ErrorAction SilentlyContinue
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\powerpoint"
Remove-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -ErrorAction SilentlyContinue
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\access"
Remove-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -ErrorAction SilentlyContinue
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\outlook"
Remove-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -ErrorAction SilentlyContinue
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\publisher"
Remove-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -ErrorAction SilentlyContinue
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\project"
Remove-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -ErrorAction SilentlyContinue
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\visio"
Remove-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -ErrorAction SilentlyContinue
$key = "$root\Software\policies\microsoft\office\16.0\common\toolbars\infopath"
Remove-ItemProperty -Path $key -Name 'noextensibilitycustomizationfromdocument' -ErrorAction SilentlyContinue
'Policy values removed (Not configured).'

Intune (Einstellungskatalog)

Disable UI extending from documents and templates (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/office16v2~Policy~L_MicrosoftOfficeSystem~L_GloablOptions~L_Customize/L_NoExtensibilityCustomizationFromDocumentPolicy
DatentypString
Wert<enabled/> · <disabled/>

Diese Richtlinie hat Optionen: nach <enabled/> je Element ein <data id="…" value="…"/> anhängen. Die Element-IDs stehen in der ADMX-Datei.

Cloud Policy

Cloud Policy (config.office.com → Anpassung → Richtlinienverwaltung) enthält viele Benutzerrichtlinien der Microsoft 365 Apps – suchen nach Disable UI extending from documents and templates. Gilt auch auf nicht verwalteten Geräten und hat Vorrang vor GPO und Intune bei derselben Einstellung.

Erklärung von Microsoft

Diese Richtlinieneinstellung steuert, ob Office 2016-Anwendungen benutzerdefinierten Benutzeroberflächencode, der in einem Dokument oder einer Vorlage gespeichert ist, laden können. Office 2016 ermöglicht Entwicklern, die Benutzeroberfläche durch Anpassungscode zu erweitern, der in einem Dokument oder einer Vorlage enthalten ist.

Wenn Sie diese Richtlinieneinstellung aktivieren, können Office 2016-Anwendungen keinen Benutzeroberflächen-Anpassungscode laden, der in Dokumenten und Vorlagen enthalten ist.

Wenn Sie diese Richtlinieneinstellung deaktivieren oder nicht konfigurieren, laden Office 2016-Anwendungen beim Öffnen Benutzeroberflächen-Anpassungscode, der in einem Dokument oder einer Vorlage enthalten ist.

Gleiche Kategorie: Microsoft Office 2016 › Globale Optionen › Benutzerdefiniert

Alle Richtlinien dieser Kategorie · Alle 945 Richtlinien von office16.admx