Configure Get Diagnostics feature's visibility in the Help Ribbon in Office applications and control the feature's mode of operation.
| Registry value | configuregetdiagnostics |
| Group Policy | Configure Get Diagnostics feature's visibility in the Help Ribbon in Office applications and control the feature's mode of operation. |
| German version | Konfigurieren Sie die Sichtbarkeit des Features "Diagnose abrufen" im Hilfemenüband in Office-Anwendungen, und steuern Sie den Betriebsmodus des Features. |
| Intune settings catalog | Configure Get Diagnostics feature's visibility in the Help Ribbon in Office applications and control the feature's mode of operation. (User) |
| Scope | User · HKCU |
| ADMX | office16.admx · L_ConfigureGetDiagnostics |
Group Policy path
Registry
| Value | Data |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\common\diagnostics | |
| configuregetdiagnostics | 0 = Disabled · 1 = Upload diagnostic logs to Microsoft · 2 = Capture diagnostic logs in a local archive, dont upload logs to Microsoft |
Not configured = the value does not exist – the application default applies and users may change the setting.
PowerShell
Check the current value (read-only)
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
$key = "$root\Software\policies\microsoft\office\16.0\common\diagnostics"
foreach ($name in @('configuregetdiagnostics')) {
try { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
catch { '{0}: not configured' -f $name }
}Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.
Enable
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
try {
$key = "$root\Software\policies\microsoft\office\16.0\common\diagnostics"
if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
New-ItemProperty -Path $key -Name 'configuregetdiagnostics' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null # options: 0 = Disabled, 1 = Upload diagnostic logs to Microsoft, 2 = Capture diagnostic logs in a local archive, dont upload logs to Microsoft
'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }Reset to Not configured
# --- Settings --- $root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>' $key = "$root\Software\policies\microsoft\office\16.0\common\diagnostics" Remove-ItemProperty -Path $key -Name 'configuregetdiagnostics' -ErrorAction SilentlyContinue 'Policy values removed (Not configured).'
Intune (settings catalog)
Configure Get Diagnostics feature's visibility in the Help Ribbon in Office applications and control the feature's mode of operation. (User)
Settings catalog → Add settings → search for the name above.
Intune Settings Catalog Viewer ↗
Alternative: custom profile (OMA-URI)
| OMA-URI | ./User/Vendor/MSFT/Policy/Config/office16v17~Policy~L_MicrosoftOfficeSystem~L_Diagnostics/L_ConfigureGetDiagnostics |
| Data type | String |
| Value | <enabled/> · <disabled/> |
This policy has options: add one <data id="…" value="…"/> per element after <enabled/>. The element IDs are in the ADMX file.
Cloud Policy
Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Configure Get Diagnostics feature's visibility in the Help Ribbon in Office applications and control the feature's mode of operation.. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.
Microsoft 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.”
All policies in this category · All 945 policies of office16.admx