Open in the explorer

Don't search the web or display web results in Search

Ne pas effectuer des recherches sur le Web ou afficher des résultats Web dans Search

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Search FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rechercher
Supported on
Microsoft Windows 8.1 or later FR: Microsoft Windows 8.1 ou version ultérieure
ADMX file
Search.admx
Internal name
Search/DoNotUseWebResults

Explanation

This policy setting allows you to control whether or not Search can perform queries on the web, and if the web results are displayed in Search.

If you enable this policy setting, queries won't be performed on the web and web results won't be displayed when a user performs a query in Search.

If you disable this policy setting, queries will be performed on the web and web results will be displayed when a user performs a query in Search.

If you don't configure this policy setting, a user can choose whether or not Search can perform queries on the web, and if the web results are displayed in Search.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de contrôler si Search peut, ou non, exécuter des requêtes sur le Web, et si les résultats Web s’affichent dans Search.

Si vous activez ce paramètre de stratégie, aucune requête n’est exécutée sur le Web et les résultats Web ne s’affichent pas quand un utilisateur exécute une requête dans Search.

Si vous activez ce paramètre de stratégie, aucune requête n’est exécutée sur le Web et aucun résultat Web ne s’affiche quand un utilisateur exécute une requête dans Search.

Si vous ne configurez pas ce paramètre de stratégie, un utilisateur peut choisir si Search peut, ou non, exécuter des requêtes sur le Web, et si les résultats Web s’affichent dans Search.

Use cases

Prevents Windows Search from querying the web and showing web results. On a corporate machine, it avoids terms typed to find a local file being sent to an external service.

Behaviour depends on edition and version: on Windows 10 Pro the setting cannot be managed, and on 2004 and later it no longer affects Cortana.

Microsoft sources: Policy CSP - Search · Use Group Policy and mobile device management (MDM) settings to configure Cortana in your organization

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
Value name
ConnectedSearchUseWeb
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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: Search/DoNotUseWebResults
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ConnectedSearchUseWeb' -Value 0 -Type DWord

Disable

# Disable: Search/DoNotUseWebResults
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ConnectedSearchUseWeb' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Search/DoNotUseWebResults
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'ConnectedSearchUseWeb' -ErrorAction SilentlyContinue

Availability