Open in the explorer

Troubleshooting: Allow users to access online troubleshooting content on Microsoft servers from the Troubleshooting Control Panel (via the Windows Online Troubleshooting Service - WOTS)

Dépannage : autoriser les utilisateurs à accéder au contenu de dépannage en ligne sur les serveurs Microsoft à partir du Panneau de configuration Dépannage (via le Service de résolution de problèmes en ligne Windows - WOTS)

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Troubleshooting and Diagnostics › Scripted Diagnostics FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Dépannage et diagnostics › Diagnostics à base de script
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
sdiageng.admx
Internal name
sdiageng/BetterWhenConnected

Explanation

This policy setting allows users who are connected to the Internet to access and search troubleshooting content that is hosted on Microsoft content servers. Users can access online troubleshooting content from within the Troubleshooting Control Panel UI by clicking "Yes" when they are prompted by a message that states, "Do you want the most up-to-date troubleshooting content?"

If you enable or do not configure this policy setting, users who are connected to the Internet can access and search troubleshooting content that is hosted on Microsoft content servers from within the Troubleshooting Control Panel user interface.

If you disable this policy setting, users can only access and search troubleshooting content that is available locally on their computers, even if they are connected to the Internet. They are prevented from connecting to the Microsoft servers that host the Windows Online Troubleshooting Service.

French text from Windows 11 26H2

Ce paramètre de stratégie permet aux utilisateurs connectés à Internet d’accéder au contenu de dépannage hébergé sur les serveurs de contenu Microsoft (et d’y effectuer des recherches). Les utilisateurs peuvent accéder au contenu de dépannage en ligne à partir de l’interface utilisateur Panneau de configuration Dépannage en cliquant sur « Oui » en réponse au message « Voulez-vous utiliser le contenu le plus récent pour le dépannage ? ».

Si vous activez ou ne configurez pas ce paramètre de stratégie, les utilisateurs connectés à Internet peuvent accéder aux informations de dépannage qui sont hébergées sur les serveurs de contenu Microsoft, et y effectuer des recherches, à partir de l’interface utilisateur Panneau de configuration Dépannage.

Si vous désactivez ce paramètre de stratégie, les utilisateurs ne peuvent explorer que le contenu de dépannage disponible localement sur leurs ordinateurs, même s’ils sont connectés à Internet. Ils ne peuvent pas se connecter aux serveurs Microsoft hébergeant le service de résolution des problèmes Windows en ligne.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScriptedDiagnosticsProvider\Policy
Value name
EnableQueryRemoteServer
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: sdiageng/BetterWhenConnected
$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 'EnableQueryRemoteServer' -Value 1 -Type DWord

Disable

# Disable: sdiageng/BetterWhenConnected
$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 'EnableQueryRemoteServer' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability