Configure Get Diagnostics feature's visibility in the Help Ribbon in Office applications and control the feature's mode of operation.: registry value configuregetdiagnosticsUserHKCU\software\policies\microsoft\office\16.0\common\diagnostics

Policy ID
L_ConfigureGetDiagnostics
Scope
User Configuration
Supported on
-
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Office 2016 › Diagnostics

Registry

configuregetdiagnostics

REG_DWORDUser
Enabled value
Depends on the option value
Element
Configure Get Diagnostics:
Options
ItemStored value
Disabled0
Upload diagnostic logs to Microsoft1
Capture diagnostic logs in a local archive, dont upload logs to Microsoft2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\diagnostics]

; Options (use only one)
; Disabled
"configuregetdiagnostics"=dword:00000000
; Upload diagnostic logs to Microsoft
"configuregetdiagnostics"=dword:00000001
; Capture diagnostic logs in a local archive, dont upload logs to Microsoft
"configuregetdiagnostics"=dword:00000002
CMD
:: Options (use only one)

:: Disabled
reg add "HKCU\software\policies\microsoft\office\16.0\common\diagnostics" /v "configuregetdiagnostics" /t REG_DWORD /d 0 /f
:: Upload diagnostic logs to Microsoft
reg add "HKCU\software\policies\microsoft\office\16.0\common\diagnostics" /v "configuregetdiagnostics" /t REG_DWORD /d 1 /f
:: Capture diagnostic logs in a local archive, dont upload logs to Microsoft
reg add "HKCU\software\policies\microsoft\office\16.0\common\diagnostics" /v "configuregetdiagnostics" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\diagnostics' -Force | Out-Null

# Options (use only one)
# Disabled
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\diagnostics' -Name 'configuregetdiagnostics' -PropertyType DWord -Value 0 -Force | Out-Null
# Upload diagnostic logs to Microsoft
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\diagnostics' -Name 'configuregetdiagnostics' -PropertyType DWord -Value 1 -Force | Out-Null
# Capture diagnostic logs in a local archive, dont upload logs to Microsoft
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\diagnostics' -Name 'configuregetdiagnostics' -PropertyType DWord -Value 2 -Force | Out-Null