Ouvrir dans l'explorateur

Disable predefined commands

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Word 2016 › Désactiver les éléments de l’interface utilisateur › Prédéfini EN : User Configuration › Policies › Administrative Templates › Microsoft Word 2016 › Disable Items in User Interface › Predefined
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
word16.admx
Nom interne
word16/L_Disablecommandbarbuttonsandmenuitems

Explication

This policy setting allows you to disable some specific commands in Microsoft Word. Commands are buttons, menus, or other items that can be added to the Quick Access Toolbar or to the Ribbon under File tab | Options | Quick Access Toolbar or via File | Options | Customize Ribbon, respectively.

If you enable this policy setting then you can specify what commands in the user interface for Word are disabled.

If you disable or do not configure this policy setting, the commands in the predefined list are all enabled in Word.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes
Nom de la valeur
non défini dans l'ADMX
ÉtatValeur écrite
Activénon défini dans l'ADMX (voir les options ci-dessous)
Désactivé
CléValeurDonnée
software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxesweboptionsSupprime la valeur
software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxesgeneraloptionsSupprime la valeur
software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxesfileopensearchthewebSupprime la valeur

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : word16/L_Disablecommandbarbuttonsandmenuitems
$k = 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# File tab | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Web Page Preview
# décoché : 0
Set-ItemProperty -Path $k -Name 'filewebpagepreview' -Value '3655' -Type String
# File tab | Share | Email
# décoché : 0
Set-ItemProperty -Path $k -Name 'sendtomailrecipient' -Value '2188' -Type String
# Insert tab | Links | Hyperlink
# décoché : 0
Set-ItemProperty -Path $k -Name 'inserthyperlink' -Value '1576' -Type String
# File tab | Info | Protect Document
# décoché : 0
Set-ItemProperty -Path $k -Name 'flyoutanchorprotectdocumentmenu' -Value '16129' -Type String
# View tab | Macros | Macros
# décoché : 0
Set-ItemProperty -Path $k -Name 'toolsmacro' -Value '16106' -Type String
# Developer tab | Code | Macros
# décoché : 0
Set-ItemProperty -Path $k -Name 'toolsmacromacros' -Value '186' -Type String
# Developer tab | Code | Record Macro
# décoché : 0
Set-ItemProperty -Path $k -Name 'toolsmacrorecord' -Value '2780' -Type String
# Developer tab | Code | Macro Security
# décoché : 0
Set-ItemProperty -Path $k -Name 'toolsmacrosecurity' -Value '3627' -Type String
# Developer tab | Code | Visual Basic
# décoché : 0
Set-ItemProperty -Path $k -Name 'toolsmacrovbe' -Value '1695' -Type String
# Developer tab | Templates | Document Template
# décoché : 0
Set-ItemProperty -Path $k -Name 'toolstemplateaddins' -Value '751' -Type String
# File tab | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Document Location
# décoché : 0
Set-ItemProperty -Path $k -Name 'webaddress' -Value '1740' -Type String

Désactiver

# Désactiver : word16/L_Disablecommandbarbuttonsandmenuitems
$k = 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes'
Remove-ItemProperty -Path $k -Name 'weboptions' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'generaloptions' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'fileopensearchtheweb' -ErrorAction SilentlyContinue

Revenir à « Non configuré »

# Revenir à « Non configuré » : word16/L_Disablecommandbarbuttonsandmenuitems
$k = 'HKCU:\software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes'
Remove-ItemProperty -Path $k -Name 'weboptions' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'generaloptions' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'fileopensearchtheweb' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'filewebpagepreview' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'sendtomailrecipient' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'inserthyperlink' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'flyoutanchorprotectdocumentmenu' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacro' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacromacros' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacrorecord' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacrosecurity' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacrovbe' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolstemplateaddins' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'webaddress' -ErrorAction SilentlyContinue

Options (11)

LibelléContrôleValeur de registreType REGContraintes / détails
File tab | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Web Page PreviewL_FileWebPagePreviewCase à cocherbooleanfilewebpagepreviewREG_SZ
Coché : REG_SZ = 3655
Décoché : REG_SZ = 0
File tab | Share | EmailL_FileSendToMailRecipientCase à cocherbooleansendtomailrecipientREG_SZ
Coché : REG_SZ = 2188
Décoché : REG_SZ = 0
Insert tab | Links | HyperlinkL_InsertHyperlinkWdCase à cocherbooleaninserthyperlinkREG_SZ
Coché : REG_SZ = 1576
Décoché : REG_SZ = 0
File tab | Info | Protect DocumentL_ToolsProtectDocumentCase à cocherbooleanflyoutanchorprotectdocumentmenuREG_SZ
Coché : REG_SZ = 16129
Décoché : REG_SZ = 0
View tab | Macros | MacrosL_ToolsMacroWdCase à cocherbooleantoolsmacroREG_SZ
Coché : REG_SZ = 16106
Décoché : REG_SZ = 0
Developer tab | Code | MacrosL_ToolsMacroMacrosWdCase à cocherbooleantoolsmacromacrosREG_SZ
Coché : REG_SZ = 186
Décoché : REG_SZ = 0
Developer tab | Code | Record MacroL_ToolsMacroRecordNewMacroCase à cocherbooleantoolsmacrorecordREG_SZ
Coché : REG_SZ = 2780
Décoché : REG_SZ = 0
Developer tab | Code | Macro SecurityL_ToolsMacroSecurityCase à cocherbooleantoolsmacrosecurityREG_SZ
Coché : REG_SZ = 3627
Décoché : REG_SZ = 0
Developer tab | Code | Visual BasicL_ToolsMacroVisualBasicEditorWdCase à cocherbooleantoolsmacrovbeREG_SZ
Coché : REG_SZ = 1695
Décoché : REG_SZ = 0
Developer tab | Templates | Document TemplateL_ToolsTemplatesandAddInsCase à cocherbooleantoolstemplateaddinsREG_SZ
Coché : REG_SZ = 751
Décoché : REG_SZ = 0
File tab | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Document LocationL_WebAddressWdCase à cocherbooleanwebaddressREG_SZ
Coché : REG_SZ = 1740
Décoché : REG_SZ = 0

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.