Disable UI extending from documents and templates: registry value L_NoExtensibilityCustomizationFromDocumentPolicy (toolbars)UserHKCU\software\policies\microsoft\office\16.0\common\toolbars
- Policy ID
- L_NoExtensibilityCustomizationFromDocumentPolicy
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Office 2016 › Global Options › Customize
Registry
noextensibilitycustomizationfromdocument
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Disallow in Word
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars\word] ; Options (use only one) ; Checked "noextensibilitycustomizationfromdocument"=dword:00000001 ; Unchecked "noextensibilitycustomizationfromdocument"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\word" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\word" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\word' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\word' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\word' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 0 -Force | Out-Null
noextensibilitycustomizationfromdocument
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Disallow in Excel
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars\excel] ; Options (use only one) ; Checked "noextensibilitycustomizationfromdocument"=dword:00000001 ; Unchecked "noextensibilitycustomizationfromdocument"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\excel" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\excel" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\excel' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\excel' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\excel' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 0 -Force | Out-Null
noextensibilitycustomizationfromdocument
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Disallow in PowerPoint
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars\powerpoint] ; Options (use only one) ; Checked "noextensibilitycustomizationfromdocument"=dword:00000001 ; Unchecked "noextensibilitycustomizationfromdocument"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\powerpoint" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\powerpoint" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\powerpoint' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\powerpoint' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\powerpoint' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 0 -Force | Out-Null
noextensibilitycustomizationfromdocument
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Disallow in Access
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars\access] ; Options (use only one) ; Checked "noextensibilitycustomizationfromdocument"=dword:00000001 ; Unchecked "noextensibilitycustomizationfromdocument"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\access" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\access" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\access' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\access' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\access' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 0 -Force | Out-Null
noextensibilitycustomizationfromdocument
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Disallow in Outlook
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars\outlook] ; Options (use only one) ; Checked "noextensibilitycustomizationfromdocument"=dword:00000001 ; Unchecked "noextensibilitycustomizationfromdocument"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\outlook" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\outlook" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\outlook' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\outlook' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\outlook' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 0 -Force | Out-Null
noextensibilitycustomizationfromdocument
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Disallow in Publisher
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars\publisher] ; Options (use only one) ; Checked "noextensibilitycustomizationfromdocument"=dword:00000001 ; Unchecked "noextensibilitycustomizationfromdocument"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\publisher" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\publisher" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\publisher' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\publisher' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\publisher' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 0 -Force | Out-Null
noextensibilitycustomizationfromdocument
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Disallow in Project
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars\project] ; Options (use only one) ; Checked "noextensibilitycustomizationfromdocument"=dword:00000001 ; Unchecked "noextensibilitycustomizationfromdocument"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\project" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\project" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\project' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\project' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\project' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 0 -Force | Out-Null
noextensibilitycustomizationfromdocument
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Disallow in Visio
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars\visio] ; Options (use only one) ; Checked "noextensibilitycustomizationfromdocument"=dword:00000001 ; Unchecked "noextensibilitycustomizationfromdocument"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\visio" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\visio" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\visio' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\visio' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\visio' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 0 -Force | Out-Null
noextensibilitycustomizationfromdocument
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Disallow in InfoPath
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars\infopath] ; Options (use only one) ; Checked "noextensibilitycustomizationfromdocument"=dword:00000001 ; Unchecked "noextensibilitycustomizationfromdocument"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\infopath" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars\infopath" /v "noextensibilitycustomizationfromdocument" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\infopath' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\infopath' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\infopath' -Name 'noextensibilitycustomizationfromdocument' -PropertyType DWord -Value 0 -Force | Out-Null