en-US office user

Disable predefined commands

Verified with Microsoft 365/Office 5568.1000 — updated on September 4, 2026

Microsoft 365/Office 5568.1000

Supported on: At least Windows Server 2008 R2 or Windows 7

Path in the GPO console

User Configuration\Administrative Templates\Microsoft Access 2016\Disable Items in User Interface\Predefined

Description

This policy setting allows you to disable specific command bar buttons and menu items in the specified applications. If you enable this policy setting you can disable specific command bar buttons and menu items in the user interface for the selected application. The predefined list of command bar buttons and menu items you can disable becomes available to you when you enable this policy setting. If you disable or do not configure this policy setting, the predefined list of command bar buttons and menu items are enabled for the application.

Registry

HKCU software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes

Value name: fileopensearchtheweb

More options available

Options

File tab | Access Options | Customize | All Commands | Email
sendtomailrecipient boolean
Database tools | Database tools | Encrypt with Password
toolssecuritysetpwd boolean
File tab | Access Options | Customize | All Commands | User and Group Permissions
toolssecurityperms boolean
File tab | Access Options | Customize | All Commands | User and Group accounts
toolssecurityaccts boolean
File tab | Access Options | Customize | All Commands | User-Level Security Wizard...
toolssecuritysecwiz boolean
File tab | Access Options | Customize | All Commands | Encode/Decode Database
toolssecurityencrypt boolean
Database tools | Macro | Visual Basic
toolsmacrovbe boolean
Database Tools | Macro | Run Macro
accrunmacro boolean
Database Tools | Macro | Convert Macros to Visual Basic
toolsmacroconvertmacros boolean
Database Tools | Macro | Create Shortcut Menu from Macro
toolsmacrocreateshortcutmenu boolean
Database Tools | Database Tools | Add-Ins
addinsmenuicon boolean

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Disable predefined commands
; State: Enabled
; Supported on: At least Windows Server 2008 R2 or Windows 7

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]
"fileopensearchtheweb"=dword:00000001
"sendtomailrecipient"=dword:00000000
"toolssecuritysetpwd"=dword:00000000
"toolssecurityperms"=dword:00000000
"toolssecurityaccts"=dword:00000000
"toolssecuritysecwiz"=dword:00000000
"toolssecurityencrypt"=dword:00000000
"toolsmacrovbe"=dword:00000000
"accrunmacro"=dword:00000000
"toolsmacroconvertmacros"=dword:00000000
"toolsmacrocreateshortcutmenu"=dword:00000000
"addinsmenuicon"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Disable predefined commands
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.

$path = 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'fileopensearchtheweb' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'sendtomailrecipient' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'toolssecuritysetpwd' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'toolssecurityperms' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'toolssecurityaccts' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'toolssecuritysecwiz' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'toolssecurityencrypt' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'toolsmacrovbe' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'accrunmacro' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'toolsmacroconvertmacros' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'toolsmacrocreateshortcutmenu' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'addinsmenuicon' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview