Benutzeroberflächenerweiterung von Dokumenten und Vorlagen deaktivieren
| Registrierungswert | noextensibilitycustomizationfromdocument |
| Gruppenrichtlinie | Benutzeroberflächenerweiterung von Dokumenten und Vorlagen deaktivieren |
| Englische Version | Disable UI extending from documents and templates |
| Intune-Einstellungskatalog | Disable UI extending from documents and templates (User) |
| Bereich | Benutzer · HKCU |
| ADMX | office16.admx · L_NoExtensibilityCustomizationFromDocumentPolicy |
Pfad der Gruppenrichtlinie
Registrierung
| Wert | Daten |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\word | |
| noextensibilitycustomizationfromdocument | Enabled = 1 · Disabled = 0 |
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\excel | |
| noextensibilitycustomizationfromdocument | Enabled = 1 · Disabled = 0 |
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\powerpoint | |
| noextensibilitycustomizationfromdocument | Enabled = 1 · Disabled = 0 |
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\access | |
| noextensibilitycustomizationfromdocument | Enabled = 1 · Disabled = 0 |
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\outlook | |
| noextensibilitycustomizationfromdocument | Enabled = 1 · Disabled = 0 |
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\publisher | |
| noextensibilitycustomizationfromdocument | Enabled = 1 · Disabled = 0 |
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\project | |
| noextensibilitycustomizationfromdocument | Enabled = 1 · Disabled = 0 |
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\visio | |
| noextensibilitycustomizationfromdocument | Enabled = 1 · Disabled = 0 |
HKCU\Software\policies\microsoft\office\16.0\common\toolbars\infopath | |
| noextensibilitycustomizationfromdocument | Enabled = 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 |
| Datentyp | String |
| 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
- Benutzeranpassungen über die Benutzeroberfläche deaktivierendisabletoolbarcustomizationui
- Alle Benutzeranpassungen deaktvierennousercustomization
- Große Symbolebtnsize
- Schriftartennamen in ihrer Schriftart anzeigenfontview
- QuickInfos nicht auf Symbolleisten anzeigentooltips
- Tastenkombinationen in QuickInfo anzeigenshowkbdshortcuts
- Menüanimationenanimation
- Roaming aller Benutzeranpassungen erlaubencustomuiroaming
- Standarddesign für Officedefault ui theme
Alle Richtlinien dieser Kategorie · Alle 945 Richtlinien von office16.admx