Disable predefined commands: registry value fileopensearchtheweb and 11 more (access\disabledcmdbaritemscheckboxes)UserHKCU\software\policies\microsoft\office\16.0\access\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 Access 2016 › Disable Items in User Interface › Predefined

Registry

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\access\disabledcmdbaritemscheckboxes]
"fileopensearchtheweb"=-
CMD · Disabled
reg delete "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "fileopensearchtheweb" /f
PowerShell · Disabled
Remove-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'fileopensearchtheweb'

sendtomailrecipient

REG_SZUser
Checked
2188
Unchecked
0
Element
File tab | Access Options | Customize | All Commands | 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\access\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\access\disabledcmdbaritemscheckboxes" /v "sendtomailrecipient" /t REG_SZ /d 2188 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "sendtomailrecipient" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'sendtomailrecipient' -PropertyType String -Value '2188' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'sendtomailrecipient' -PropertyType String -Value '0' -Force | Out-Null

toolssecuritysetpwd

REG_SZUser
Checked
1814
Unchecked
0
Element
Database tools | Database tools | Encrypt with Password
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\access\disabledcmdbaritemscheckboxes]

; Options (use only one)
; Checked
"toolssecuritysetpwd"="1814"
; Unchecked
"toolssecuritysetpwd"="0"
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecuritysetpwd" /t REG_SZ /d 1814 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecuritysetpwd" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecuritysetpwd' -PropertyType String -Value '1814' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecuritysetpwd' -PropertyType String -Value '0' -Force | Out-Null

toolssecurityperms

REG_SZUser
Checked
572
Unchecked
0
Element
File tab | Access Options | Customize | All Commands | User and Group Permissions
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\access\disabledcmdbaritemscheckboxes]

; Options (use only one)
; Checked
"toolssecurityperms"="572"
; Unchecked
"toolssecurityperms"="0"
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityperms" /t REG_SZ /d 572 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityperms" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityperms' -PropertyType String -Value '572' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityperms' -PropertyType String -Value '0' -Force | Out-Null

toolssecurityaccts

REG_SZUser
Checked
1816
Unchecked
0
Element
File tab | Access Options | Customize | All Commands | User and Group accounts
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\access\disabledcmdbaritemscheckboxes]

; Options (use only one)
; Checked
"toolssecurityaccts"="1816"
; Unchecked
"toolssecurityaccts"="0"
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityaccts" /t REG_SZ /d 1816 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityaccts" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityaccts' -PropertyType String -Value '1816' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityaccts' -PropertyType String -Value '0' -Force | Out-Null

toolssecuritysecwiz

REG_SZUser
Checked
1815
Unchecked
0
Element
File tab | Access Options | Customize | All Commands | User-Level Security Wizard...
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\access\disabledcmdbaritemscheckboxes]

; Options (use only one)
; Checked
"toolssecuritysecwiz"="1815"
; Unchecked
"toolssecuritysecwiz"="0"
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecuritysecwiz" /t REG_SZ /d 1815 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecuritysecwiz" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecuritysecwiz' -PropertyType String -Value '1815' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecuritysecwiz' -PropertyType String -Value '0' -Force | Out-Null

toolssecurityencrypt

REG_SZUser
Checked
2074
Unchecked
0
Element
File tab | Access Options | Customize | All Commands | Encode/Decode Database
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\access\disabledcmdbaritemscheckboxes]

; Options (use only one)
; Checked
"toolssecurityencrypt"="2074"
; Unchecked
"toolssecurityencrypt"="0"
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityencrypt" /t REG_SZ /d 2074 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityencrypt" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityencrypt' -PropertyType String -Value '2074' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityencrypt' -PropertyType String -Value '0' -Force | Out-Null

toolsmacrovbe

REG_SZUser
Checked
1695
Unchecked
0
Element
Database tools | Macro | 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\access\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\access\disabledcmdbaritemscheckboxes" /v "toolsmacrovbe" /t REG_SZ /d 1695 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacrovbe" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacrovbe' -PropertyType String -Value '1695' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacrovbe' -PropertyType String -Value '0' -Force | Out-Null

accrunmacro

REG_SZUser
Checked
5745
Unchecked
0
Element
Database Tools | Macro | Run 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\access\disabledcmdbaritemscheckboxes]

; Options (use only one)
; Checked
"accrunmacro"="5745"
; Unchecked
"accrunmacro"="0"
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "accrunmacro" /t REG_SZ /d 5745 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "accrunmacro" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'accrunmacro' -PropertyType String -Value '5745' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'accrunmacro' -PropertyType String -Value '0' -Force | Out-Null

toolsmacroconvertmacros

REG_SZUser
Checked
2948
Unchecked
0
Element
Database Tools | Macro | Convert Macros to 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\access\disabledcmdbaritemscheckboxes]

; Options (use only one)
; Checked
"toolsmacroconvertmacros"="2948"
; Unchecked
"toolsmacroconvertmacros"="0"
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacroconvertmacros" /t REG_SZ /d 2948 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacroconvertmacros" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacroconvertmacros' -PropertyType String -Value '2948' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacroconvertmacros' -PropertyType String -Value '0' -Force | Out-Null

toolsmacrocreateshortcutmenu

REG_SZUser
Checked
1570
Unchecked
0
Element
Database Tools | Macro | Create Shortcut Menu from 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\access\disabledcmdbaritemscheckboxes]

; Options (use only one)
; Checked
"toolsmacrocreateshortcutmenu"="1570"
; Unchecked
"toolsmacrocreateshortcutmenu"="0"
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacrocreateshortcutmenu" /t REG_SZ /d 1570 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacrocreateshortcutmenu" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacrocreateshortcutmenu' -PropertyType String -Value '1570' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacrocreateshortcutmenu' -PropertyType String -Value '0' -Force | Out-Null

addinsmenuicon

REG_SZUser
Checked
15719
Unchecked
0
Element
Database Tools | Database Tools | 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\access\disabledcmdbaritemscheckboxes]

; Options (use only one)
; Checked
"addinsmenuicon"="15719"
; Unchecked
"addinsmenuicon"="0"
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "addinsmenuicon" /t REG_SZ /d 15719 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "addinsmenuicon" /t REG_SZ /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'addinsmenuicon' -PropertyType String -Value '15719' -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'addinsmenuicon' -PropertyType String -Value '0' -Force | Out-Null