Disable predefined commands: registry value filepublishtoweb and 9 more (publisher\disabledcmdbaritemscheckboxes)UserHKCU\software\policies\microsoft\office\16.0\publisher\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 Publisher 2016 › Disable Items in User Interface › Predefined
Registry
filepublishtoweb
REG_SZUser- Checked
- 9339
- Unchecked
- 0
- Element
- File tab | Export | Publish HTML
- 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\publisher\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "filepublishtoweb"="9339" ; Unchecked "filepublishtoweb"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "filepublishtoweb" /t REG_SZ /d 9339 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "filepublishtoweb" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'filepublishtoweb' -PropertyType String -Value '9339' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'filepublishtoweb' -PropertyType String -Value '0' -Force | Out-Null
filewebpagepreview
REG_SZUser- Checked
- 3655
- Unchecked
- 0
- Element
- Web tab | View | 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\publisher\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\publisher\disabledcmdbaritemscheckboxes" /v "filewebpagepreview" /t REG_SZ /d 3655 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "filewebpagepreview" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'filewebpagepreview' -PropertyType String -Value '3655' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'filewebpagepreview' -PropertyType String -Value '0' -Force | Out-Null
filesendemailsendthispage
REG_SZUser- Checked
- 3738
- 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\publisher\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "filesendemailsendthispage"="3738" ; Unchecked "filesendemailsendthispage"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "filesendemailsendthispage" /t REG_SZ /d 3738 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "filesendemailsendthispage" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'filesendemailsendthispage' -PropertyType String -Value '3738' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'filesendemailsendthispage' -PropertyType String -Value '0' -Force | Out-Null
filesendemailemailpreview
REG_SZUser- Checked
- 9418
- Unchecked
- 0
- Element
- File tab | Share | E-mail 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\publisher\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "filesendemailemailpreview"="9418" ; Unchecked "filesendemailemailpreview"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "filesendemailemailpreview" /t REG_SZ /d 9418 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "filesendemailemailpreview" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'filesendemailemailpreview' -PropertyType String -Value '9418' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'filesendemailemailpreview' -PropertyType String -Value '0' -Force | Out-Null
toolsmacro
REG_SZUser- Checked
- 12557
- Unchecked
- 0
- Element
- Developer tab
- 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\publisher\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolsmacro"="12557" ; Unchecked "toolsmacro"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsmacro" /t REG_SZ /d 12557 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsmacro" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsmacro' -PropertyType String -Value '12557' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\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\publisher\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\publisher\disabledcmdbaritemscheckboxes" /v "toolsmacromacros" /t REG_SZ /d 186 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsmacromacros" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsmacromacros' -PropertyType String -Value '186' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsmacromacros' -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\publisher\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\publisher\disabledcmdbaritemscheckboxes" /v "toolsmacrosecurity" /t REG_SZ /d 3627 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsmacrosecurity" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsmacrosecurity' -PropertyType String -Value '3627' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsmacrosecurity' -PropertyType String -Value '0' -Force | Out-Null
toolsmacrovisualbasiceditor
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\publisher\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolsmacrovisualbasiceditor"="1695" ; Unchecked "toolsmacrovisualbasiceditor"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsmacrovisualbasiceditor" /t REG_SZ /d 1695 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsmacrovisualbasiceditor" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsmacrovisualbasiceditor' -PropertyType String -Value '1695' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsmacrovisualbasiceditor' -PropertyType String -Value '0' -Force | Out-Null
toolsaddins
REG_SZUser- Checked
- 943
- Unchecked
- 0
- Element
- Developer tab | Add-Ins | COM Add-Ins
- 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\publisher\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolsaddins"="943" ; Unchecked "toolsaddins"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsaddins" /t REG_SZ /d 943 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsaddins" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsaddins' -PropertyType String -Value '943' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsaddins' -PropertyType String -Value '0' -Force | Out-Null
toolsoptions
REG_SZUser- Checked
- 11323
- Unchecked
- 0
- Element
- File tab | Options
- 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\publisher\disabledcmdbaritemscheckboxes] ; Options (use only one) ; Checked "toolsoptions"="11323" ; Unchecked "toolsoptions"="0"
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsoptions" /t REG_SZ /d 11323 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes" /v "toolsoptions" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsoptions' -PropertyType String -Value '11323' -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes' -Name 'toolsoptions' -PropertyType String -Value '0' -Force | Out-Null