Office Admin Explorer

Disable predefined commands

Registry value
sendtomailrecipient
Group PolicyDisable predefined commands
German versionVordefinierte Befehle deaktivieren
Intune settings catalogDisable commands (User)
ScopeUser · HKCU
ADMXaccess16.admx · L_Disablecommandbarbuttonsandmenuitems
Open in the interactive explorer+ Add to my collection

Group Policy path

User Configuration\Policies\Administrative Templates\Microsoft Access 2016\Disable Items in User Interface\Predefined
Benutzerkonfiguration\Richtlinien\Administrative Vorlagen\Microsoft Access 2016\Elemente in Benutzeroberfläche deaktivieren\Vordefiniert

Registry

ValueData
HKCU\Software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes
sendtomailrecipientEnabled = 2188 · Disabled = 0
toolssecuritysetpwdEnabled = 1814 · Disabled = 0
toolssecuritypermsEnabled = 572 · Disabled = 0
toolssecurityacctsEnabled = 1816 · Disabled = 0
toolssecuritysecwizEnabled = 1815 · Disabled = 0
toolssecurityencryptEnabled = 2074 · Disabled = 0
toolsmacrovbeEnabled = 1695 · Disabled = 0
accrunmacroEnabled = 5745 · Disabled = 0
toolsmacroconvertmacrosEnabled = 2948 · Disabled = 0
toolsmacrocreateshortcutmenuEnabled = 1570 · Disabled = 0
addinsmenuiconEnabled = 15719 · Disabled = 0

Not configured = the value does not exist – the application default applies and users may change the setting.

PowerShell

Check the current value (read-only)

# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

$key = "$root\Software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes"
foreach ($name in @('sendtomailrecipient', 'toolssecuritysetpwd', 'toolssecurityperms', 'toolssecurityaccts', 'toolssecuritysecwiz', 'toolssecurityencrypt', 'toolsmacrovbe', 'accrunmacro', 'toolsmacroconvertmacros', 'toolsmacrocreateshortcutmenu', 'addinsmenuicon')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}

Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.

Enable

# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

try {
    $key = "$root\Software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'sendtomailrecipient' -PropertyType DWord -Value 2188 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'toolssecuritysetpwd' -PropertyType DWord -Value 1814 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'toolssecurityperms' -PropertyType DWord -Value 572 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'toolssecurityaccts' -PropertyType DWord -Value 1816 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'toolssecuritysecwiz' -PropertyType DWord -Value 1815 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'toolssecurityencrypt' -PropertyType DWord -Value 2074 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'toolsmacrovbe' -PropertyType DWord -Value 1695 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'accrunmacro' -PropertyType DWord -Value 5745 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'toolsmacroconvertmacros' -PropertyType DWord -Value 2948 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'toolsmacrocreateshortcutmenu' -PropertyType DWord -Value 1570 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'addinsmenuicon' -PropertyType DWord -Value 15719 -Force -ErrorAction Stop | Out-Null   # Enabled
    'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }
Reset to Not configured
# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

$key = "$root\Software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes"
Remove-ItemProperty -Path $key -Name 'sendtomailrecipient', 'toolssecuritysetpwd', 'toolssecurityperms', 'toolssecurityaccts', 'toolssecuritysecwiz', 'toolssecurityencrypt', 'toolsmacrovbe', 'accrunmacro', 'toolsmacroconvertmacros', 'toolsmacrocreateshortcutmenu', 'addinsmenuicon' -ErrorAction SilentlyContinue
'Policy values removed (Not configured).'

Intune (settings catalog)

Disable commands (User)

Settings catalog → Add settings → search for the name above.

Intune Settings Catalog Viewer ↗

Alternative: custom profile (OMA-URI)
OMA-URI
./User/Vendor/MSFT/Policy/Config/access16v2~Policy~L_MicrosoftOfficeaccess~L_Disableitemsinuserinterface~L_Predefined/L_Disablecommandbarbuttonsandmenuitems
Data typeString
Value<enabled/> · <disabled/>

This policy has options: add one <data id="…" value="…"/> per element after <enabled/>. The element IDs are in the ADMX file.

Cloud Policy

Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Disable predefined commands. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.

Microsoft explanation

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.

Same category: Microsoft Access 2016 › Disable Items in User Interface › Predefined

All policies in this category · All 65 policies of access16.admx