停用預先定義的命令 的登錄值 fileopensearchtheweb 等 11 個 (access\disabledcmdbaritemscheckboxes)使用者HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes

原則 ID
L_Disablecommandbarbuttonsandmenuitems
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Access 2016 › 停用使用者介面中的項目 › 預先定義

登錄

fileopensearchtheweb

刪除值使用者
停用時的值
(刪除值)
以 .reg · CMD · PowerShell 套用
已停用
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]
"fileopensearchtheweb"=-
CMD · 已停用
reg delete "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "fileopensearchtheweb" /f
PowerShell · 已停用
Remove-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'fileopensearchtheweb'

sendtomailrecipient

REG_SZ使用者
已核取
2188
未核取
0
元素
[檔案] 索引標籤 | 存取選項 | 自訂 | 所有命令 | 電子郵件
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"sendtomailrecipient"="2188"
; 未核取
"sendtomailrecipient"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "sendtomailrecipient" /t REG_SZ /d 2188 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "sendtomailrecipient" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'sendtomailrecipient' -PropertyType String -Value '2188' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'sendtomailrecipient' -PropertyType String -Value '0' -Force | Out-Null

toolssecuritysetpwd

REG_SZ使用者
已核取
1814
未核取
0
元素
資料庫工具 | 資料庫工具 | 以密碼加密
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"toolssecuritysetpwd"="1814"
; 未核取
"toolssecuritysetpwd"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecuritysetpwd" /t REG_SZ /d 1814 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecuritysetpwd" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecuritysetpwd' -PropertyType String -Value '1814' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecuritysetpwd' -PropertyType String -Value '0' -Force | Out-Null

toolssecurityperms

REG_SZ使用者
已核取
572
未核取
0
元素
[檔案] 索引標籤 | 存取選項 | 自訂 | 所有命令 | 使用者及群組的權限
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"toolssecurityperms"="572"
; 未核取
"toolssecurityperms"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityperms" /t REG_SZ /d 572 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityperms" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityperms' -PropertyType String -Value '572' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityperms' -PropertyType String -Value '0' -Force | Out-Null

toolssecurityaccts

REG_SZ使用者
已核取
1816
未核取
0
元素
[檔案] 索引標籤 | 存取選項 | 自訂 | 所有命令 | 使用者及群組帳戶
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"toolssecurityaccts"="1816"
; 未核取
"toolssecurityaccts"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityaccts" /t REG_SZ /d 1816 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityaccts" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityaccts' -PropertyType String -Value '1816' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityaccts' -PropertyType String -Value '0' -Force | Out-Null

toolssecuritysecwiz

REG_SZ使用者
已核取
1815
未核取
0
元素
[檔案] 索引標籤 | 存取選項 | 自訂 | 所有命令 | 使用者層次安全性精靈...
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"toolssecuritysecwiz"="1815"
; 未核取
"toolssecuritysecwiz"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecuritysecwiz" /t REG_SZ /d 1815 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecuritysecwiz" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecuritysecwiz' -PropertyType String -Value '1815' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecuritysecwiz' -PropertyType String -Value '0' -Force | Out-Null

toolssecurityencrypt

REG_SZ使用者
已核取
2074
未核取
0
元素
[檔案] 索引標籤 | 存取選項 | 自訂 | 所有命令 | 編碼/解碼資料庫
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"toolssecurityencrypt"="2074"
; 未核取
"toolssecurityencrypt"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityencrypt" /t REG_SZ /d 2074 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolssecurityencrypt" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityencrypt' -PropertyType String -Value '2074' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolssecurityencrypt' -PropertyType String -Value '0' -Force | Out-Null

toolsmacrovbe

REG_SZ使用者
已核取
1695
未核取
0
元素
資料庫工具 | 巨集 | Visual Basic
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"toolsmacrovbe"="1695"
; 未核取
"toolsmacrovbe"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacrovbe" /t REG_SZ /d 1695 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacrovbe" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacrovbe' -PropertyType String -Value '1695' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacrovbe' -PropertyType String -Value '0' -Force | Out-Null

accrunmacro

REG_SZ使用者
已核取
5745
未核取
0
元素
資料庫工具 | 巨集 | 執行巨集
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"accrunmacro"="5745"
; 未核取
"accrunmacro"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "accrunmacro" /t REG_SZ /d 5745 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "accrunmacro" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'accrunmacro' -PropertyType String -Value '5745' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'accrunmacro' -PropertyType String -Value '0' -Force | Out-Null

toolsmacroconvertmacros

REG_SZ使用者
已核取
2948
未核取
0
元素
資料庫工具 | 巨集 | 將巨集轉換成 Visual Basic
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"toolsmacroconvertmacros"="2948"
; 未核取
"toolsmacroconvertmacros"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacroconvertmacros" /t REG_SZ /d 2948 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacroconvertmacros" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacroconvertmacros' -PropertyType String -Value '2948' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacroconvertmacros' -PropertyType String -Value '0' -Force | Out-Null

toolsmacrocreateshortcutmenu

REG_SZ使用者
已核取
1570
未核取
0
元素
資料庫工具 | 巨集 | 從巨集建立捷徑功能表
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"toolsmacrocreateshortcutmenu"="1570"
; 未核取
"toolsmacrocreateshortcutmenu"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacrocreateshortcutmenu" /t REG_SZ /d 1570 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "toolsmacrocreateshortcutmenu" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacrocreateshortcutmenu' -PropertyType String -Value '1570' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'toolsmacrocreateshortcutmenu' -PropertyType String -Value '0' -Force | Out-Null

addinsmenuicon

REG_SZ使用者
已核取
15719
未核取
0
元素
資料庫工具 | 資料庫工具 | 增益集
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes]

; 選項 (只使用其中一個)
; 已核取
"addinsmenuicon"="15719"
; 未核取
"addinsmenuicon"="0"
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "addinsmenuicon" /t REG_SZ /d 15719 /f
:: 未核取
reg add "HKCU\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes" /v "addinsmenuicon" /t REG_SZ /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'addinsmenuicon' -PropertyType String -Value '15719' -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\disabledcmdbaritemscheckboxes' -Name 'addinsmenuicon' -PropertyType String -Value '0' -Force | Out-Null