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.
Explication
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.
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\disabledcmdbaritemscheckboxes- Nom de la valeur
- non défini dans l'ADMX
| État | Valeur écrite | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Activé | non défini dans l'ADMX (voir les options ci-dessous) | ||||||||||||
| Désactivé |
|
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 : ppt16/L_Disablecommandbarbuttonsandmenuitems
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\disabledcmdbaritemscheckboxes'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# File tab | Options | Customize Ribbon | All Commands | Web Page Preview
# décoché : 0
Set-ItemProperty -Path $k -Name 'filewebpagepreview' -Value '3655' -Type String
# File tab | Share | Send Using E-mail
# décoché : 0
Set-ItemProperty -Path $k -Name 'sendtomailrecipient' -Value '18209' -Type String
# Insert tab | Links | Hyperlink
# décoché : 0
Set-ItemProperty -Path $k -Name 'inserthyperlink' -Value '12599' -Type String
# Review tab | Language | Language
# décoché : 0
Set-ItemProperty -Path $k -Name 'toolslanguage' -Value '22144' -Type String
# Developer tab | Code | Macros
# décoché : 0
Set-ItemProperty -Path $k -Name 'toolsmacromacros' -Value '186' -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
# File tab | Options | Customize Ribbon | All Commands | Address
# décoché : 0
Set-ItemProperty -Path $k -Name 'webaddress' -Value '1740' -Type String
# Slide Show tab | Start Slide Show | Broadcast Slide Show
# décoché : 0
Set-ItemProperty -Path $k -Name 'slideshowbroadcast' -Value '16461' -Type StringDésactiver
# Désactiver : ppt16/L_Disablecommandbarbuttonsandmenuitems
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\disabledcmdbaritemscheckboxes'
Remove-ItemProperty -Path $k -Name 'weboptions' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'filepublishaswebpage' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'fileopensearchtheweb' -ErrorAction SilentlyContinueRevenir à « Non configuré »
# Revenir à « Non configuré » : ppt16/L_Disablecommandbarbuttonsandmenuitems
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\disabledcmdbaritemscheckboxes'
Remove-ItemProperty -Path $k -Name 'weboptions' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'filepublishaswebpage' -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 'toolslanguage' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacromacros' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacrosecurity' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'toolsmacrovbe' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'webaddress' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'slideshowbroadcast' -ErrorAction SilentlyContinueOptions (9)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| File tab | Options | Customize Ribbon | All Commands | Web Page PreviewL_FileWebPagePreview | Case à cocherboolean | filewebpagepreview | REG_SZ | Coché : REG_SZ = 3655Décoché : REG_SZ = 0 |
| File tab | Share | Send Using E-mailL_FileSendToMailRecipient | Case à cocherboolean | sendtomailrecipient | REG_SZ | Coché : REG_SZ = 18209Décoché : REG_SZ = 0 |
| Insert tab | Links | HyperlinkL_InsertHyperlinkPPT | Case à cocherboolean | inserthyperlink | REG_SZ | Coché : REG_SZ = 12599Décoché : REG_SZ = 0 |
| Review tab | Language | LanguageL_ToolsLanguage | Case à cocherboolean | toolslanguage | REG_SZ | Coché : REG_SZ = 22144Décoché : REG_SZ = 0 |
| Developer tab | Code | MacrosL_ToolsMacroMacrosPPT | Case à cocherboolean | toolsmacromacros | REG_SZ | Coché : REG_SZ = 186Décoché : REG_SZ = 0 |
| Developer tab | Code | Macro SecurityL_ToolsMacroSecurity | Case à cocherboolean | toolsmacrosecurity | REG_SZ | Coché : REG_SZ = 3627Décoché : REG_SZ = 0 |
| Developer tab | Code | Visual BasicL_ToolsMacroVisualBasicEditorPPT | Case à cocherboolean | toolsmacrovbe | REG_SZ | Coché : REG_SZ = 1695Décoché : REG_SZ = 0 |
| File tab | Options | Customize Ribbon | All Commands | AddressL_WebAddressPPT | Case à cocherboolean | webaddress | REG_SZ | Coché : REG_SZ = 1740Décoché : REG_SZ = 0 |
| Slide Show tab | Start Slide Show | Broadcast Slide ShowL_BroadcastSlideShow | Case à cocherboolean | slideshowbroadcast | REG_SZ | Coché : REG_SZ = 16461Dé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.