Disable predefined commands: registry value weboptions and 13 more (word\disabledcmdbaritemscheckboxes)UserHKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes
- Policy ID
- L_Disablecommandbarbuttonsandmenuitems
- 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 Word 2016 › Disable Items in User Interface › Predefined
Registry
weboptions
Delete valueUser- Disabled value
- (delete value)
Apply with .reg · CMD · PowerShell
Disabled
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] "weboptions"=-
CMD · Disabled
reg delete "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "weboptions" /f
PowerShell · Disabled
Remove-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'weboptions'
generaloptions
Delete valueUser- Disabled value
- (delete value)
Apply with .reg · CMD · PowerShell
Disabled
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] "generaloptions"=-
CMD · Disabled
reg delete "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "generaloptions" /f
PowerShell · Disabled
Remove-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'generaloptions'
fileopensearchtheweb
Delete valueUser- Disabled value
- (delete value)
Apply with .reg · CMD · PowerShell
Disabled
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] "fileopensearchtheweb"=-
CMD · Disabled
reg delete "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "fileopensearchtheweb" /f
PowerShell · Disabled
Remove-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'fileopensearchtheweb'
filewebpagepreview
REG_SZUser- Checked
- 3655
- Unchecked
- 0
- Element
- File tab | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Web Page Preview
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "filewebpagepreview"="3655" ; Unchecked "filewebpagepreview"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "filewebpagepreview" /t REG_SZ /d 3655 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "filewebpagepreview" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'filewebpagepreview' -PropertyType String -Value '3655' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'filewebpagepreview' -PropertyType String -Value '0' -Force | Out-Null
sendtomailrecipient
REG_SZUser- Checked
- 2188
- Unchecked
- 0
- Element
- File tab | Share | Email
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "sendtomailrecipient"="2188" ; Unchecked "sendtomailrecipient"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "sendtomailrecipient" /t REG_SZ /d 2188 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "sendtomailrecipient" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'sendtomailrecipient' -PropertyType String -Value '2188' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'sendtomailrecipient' -PropertyType String -Value '0' -Force | Out-Null
inserthyperlink
REG_SZUser- Checked
- 1576
- Unchecked
- 0
- Element
- Insert tab | Links | Hyperlink
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "inserthyperlink"="1576" ; Unchecked "inserthyperlink"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "inserthyperlink" /t REG_SZ /d 1576 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "inserthyperlink" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'inserthyperlink' -PropertyType String -Value '1576' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'inserthyperlink' -PropertyType String -Value '0' -Force | Out-Null
flyoutanchorprotectdocumentmenu
REG_SZUser- Checked
- 16129
- Unchecked
- 0
- Element
- File tab | Info | Protect Document
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "flyoutanchorprotectdocumentmenu"="16129" ; Unchecked "flyoutanchorprotectdocumentmenu"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "flyoutanchorprotectdocumentmenu" /t REG_SZ /d 16129 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "flyoutanchorprotectdocumentmenu" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'flyoutanchorprotectdocumentmenu' -PropertyType String -Value '16129' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'flyoutanchorprotectdocumentmenu' -PropertyType String -Value '0' -Force | Out-Null
toolsmacro
REG_SZUser- Checked
- 16106
- Unchecked
- 0
- Element
- View tab | Macros | Macros
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolsmacro"="16106" ; Unchecked "toolsmacro"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacro" /t REG_SZ /d 16106 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacro" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacro' -PropertyType String -Value '16106' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacro' -PropertyType String -Value '0' -Force | Out-Null
toolsmacromacros
REG_SZUser- Checked
- 186
- Unchecked
- 0
- Element
- Developer tab | Code | Macros
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolsmacromacros"="186" ; Unchecked "toolsmacromacros"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacromacros" /t REG_SZ /d 186 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacromacros" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacromacros' -PropertyType String -Value '186' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacromacros' -PropertyType String -Value '0' -Force | Out-Null
toolsmacrorecord
REG_SZUser- Checked
- 2780
- Unchecked
- 0
- Element
- Developer tab | Code | Record Macro
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolsmacrorecord"="2780" ; Unchecked "toolsmacrorecord"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacrorecord" /t REG_SZ /d 2780 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacrorecord" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacrorecord' -PropertyType String -Value '2780' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacrorecord' -PropertyType String -Value '0' -Force | Out-Null
toolsmacrosecurity
REG_SZUser- Checked
- 3627
- Unchecked
- 0
- Element
- Developer tab | Code | Macro Security
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolsmacrosecurity"="3627" ; Unchecked "toolsmacrosecurity"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacrosecurity" /t REG_SZ /d 3627 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacrosecurity" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacrosecurity' -PropertyType String -Value '3627' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacrosecurity' -PropertyType String -Value '0' -Force | Out-Null
toolsmacrovbe
REG_SZUser- Checked
- 1695
- Unchecked
- 0
- Element
- Developer tab | Code | Visual Basic
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolsmacrovbe"="1695" ; Unchecked "toolsmacrovbe"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacrovbe" /t REG_SZ /d 1695 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolsmacrovbe" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacrovbe' -PropertyType String -Value '1695' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolsmacrovbe' -PropertyType String -Value '0' -Force | Out-Null
toolstemplateaddins
REG_SZUser- Checked
- 751
- Unchecked
- 0
- Element
- Developer tab | Templates | Document Template
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolstemplateaddins"="751" ; Unchecked "toolstemplateaddins"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolstemplateaddins" /t REG_SZ /d 751 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "toolstemplateaddins" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolstemplateaddins' -PropertyType String -Value '751' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'toolstemplateaddins' -PropertyType String -Value '0' -Force | Out-Null
webaddress
REG_SZUser- Checked
- 1740
- Unchecked
- 0
- Element
- File tab | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Document Location
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "webaddress"="1740" ; Unchecked "webaddress"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "webaddress" /t REG_SZ /d 1740 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes" /v "webaddress" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'webaddress' -PropertyType String -Value '1740' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes' -Name 'webaddress' -PropertyType String -Value '0' -Force | Out-Null