Open in the explorer

Microsoft Support Diagnostic Tool: Turn on MSDT interactive communication with support provider

Outil de diagnostic du Support Microsoft : activer la communication interactive de l’outil MSDT avec le fournisseur de support

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Troubleshooting and Diagnostics › Microsoft Support Diagnostic Tool FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Dépannage et diagnostics › Outil de diagnostic du Support Microsoft
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
MSDT.admx
Internal name
MSDT/MsdtSupportProvider

Explanation

This policy setting configures Microsoft Support Diagnostic Tool (MSDT) interactive communication with the support provider. MSDT gathers diagnostic data for analysis by support professionals.

If you enable this policy setting, users can use MSDT to collect and send diagnostic data to a support professional to resolve a problem.

By default, the support provider is set to Microsoft Corporation.

If you disable this policy setting, MSDT cannot run in support mode, and no data can be collected or sent to the support provider.

If you do not configure this policy setting, MSDT support mode is enabled by default.

No reboots or service restarts are required for this policy setting to take effect. Changes take effect immediately.

French text from Windows 11 26H2

Ce paramètre de stratégie configure la communication interactive entre l’Outil de diagnostic du Support Microsoft (MSDT) et le fournisseur de support. L’outil MSDT recueille les données de diagnostic pour analyse par des professionnels du support.

Si vous activez ce paramètre de stratégie, les utilisateurs peuvent se servir de l’outil MSDT pour recueillir et envoyer des données de diagnostic à un professionnel du support en vue de résoudre un problème.

Par défaut, le fournisseur de support est Microsoft Corporation.

Si vous désactivez ce paramètre de stratégie, l’outil MSDT ne peut pas s’exécuter en mode support et aucune donnée ne peut être recueillie ou envoyée au fournisseur de support.

Si vous ne configurez pas ce paramètre de stratégie, le mode support de l’outil MSDT est activé par défaut.

Aucun redémarrage du système ou du service n’est requis pour que ce paramètre de stratégie prenne effet. Les modifications sont appliquées immédiatement.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnosticsProvider\Policy
Value name
DisableQueryRemoteServer
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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: MSDT/MsdtSupportProvider
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnosticsProvider\Policy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableQueryRemoteServer' -Value 1 -Type DWord

Disable

# Disable: MSDT/MsdtSupportProvider
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnosticsProvider\Policy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableQueryRemoteServer' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": MSDT/MsdtSupportProvider
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnosticsProvider\Policy'
Remove-ItemProperty -Path $k -Name 'DisableQueryRemoteServer' -ErrorAction SilentlyContinue

Availability