Configure Get Diagnostics feature's visibility in the Help Ribbon in Office applications and control the feature's mode of operation.
Explanation
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.”
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\diagnostics- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: 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
# Possible options:
# 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 DWordDisable
# Disable: office16/L_ConfigureGetDiagnostics
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": office16/L_ConfigureGetDiagnostics
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\diagnostics'
Remove-ItemProperty -Path $k -Name 'configuregetdiagnostics' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Configure Get Diagnostics:L_ConfigureGetDiagnosticsEnum | Drop-down listenum | configuregetdiagnostics | REG_DWORD | Default choice (UI): #1
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.