Ouvrir dans l'explorateur

Configure Get Diagnostics feature's visibility in the Help Ribbon in Office applications and control the feature's mode of operation.

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 Office 2016 › Diagnostics EN : User Configuration › Policies › Administrative Templates › Microsoft Office 2016 › Diagnostics
Pris en charge sur
SUPPORTED_Windows10_0
Fichier ADMX
office16.admx
Nom interne
office16/L_ConfigureGetDiagnostics

Explication

This policy setting allows you to enable or disable Get Diagnostics in Office applications and specifies the mode in which the feature operates.

If you enable this policy setting, you must choose one of the following options:
Disabled
Enable upload of diagnostics logs to Microsoft
Enable the collection of diagnostic logs in an archive

If you select "Disabled", Office applications will not display a visible Get Diagnostics button in the Help Ribbon.

If you select "Enable upload of diagnostics logs to Microsoft", Office applications will have a visible Get Diagnostics button in the Help Ribbon. Clicking this button will upload the application’s diagnostic logs to Microsoft for support purposes.

If you select "Enable the collection of diagnostic logs in an archive", Office applications will have a visible Get Diagnostics button in the Help Ribbon. Clicking this button will capture the application’s diagnostic logs in a file archive on the device where the application is currently running. These logs will not be uploaded to Microsoft.

Please note that the option “Enable the collection of diagnostic logs in an archive” may not be applicable in certain Office applications. When the application does not support local log collection, setting the policy to this option will completely disable the feature, removing the "Get Diagnostics" button.

If you don’t set this policy, the feature will operate in the default mode, which is “Enable upload of diagnostics logs to Microsoft.”

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\diagnostics
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

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 : office16/L_ConfigureGetDiagnostics
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\diagnostics'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Configure Get Diagnostics
# Options possibles :
#   Disabled = 0
#   Upload diagnostic logs to Microsoft = 1
#   Capture diagnostic logs in a local archive, dont upload logs to Microsoft = 2
Set-ItemProperty -Path $k -Name 'configuregetdiagnostics' -Value 1 -Type DWord

Désactiver

# Désactiver : office16/L_ConfigureGetDiagnostics
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : office16/L_ConfigureGetDiagnostics
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\diagnostics'
Remove-ItemProperty -Path $k -Name 'configuregetdiagnostics' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Configure Get Diagnostics:L_ConfigureGetDiagnosticsEnumListe déroulanteenumconfiguregetdiagnosticsREG_DWORD
Choix par défaut (interface) : n° 1
LibelléValeur
DisabledREG_DWORD = 0
Upload diagnostic logs to MicrosoftREG_DWORD = 1
Capture diagnostic logs in a local archive, dont upload logs to MicrosoftREG_DWORD = 2

Application

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

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