Open in the explorer

Set what information is shared in Search

Définir quelles informations sont partagées 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. Not supported on Windows 10 or later FR: Microsoft Windows 8.1. Non pris en charge sur Windows 10 ou version ultérieure
ADMX file
Search.admx
Internal name
Search/SearchPrivacy

Explanation

This policy setting allows you to control what information is shared with Bing in Search.

If you enable this policy setting, you can specify one of four settings, which users won't be able to change:

-User info and location: Share a user's search history, some Microsoft account info, and specific location to personalize their search and other Microsoft experiences.

-User info only: Share a user's search history and some Microsoft account info to personalize their search and other Microsoft experiences.

-Anonymous info: Share usage information but don't share search history, Microsoft account info or specific location.

If you disable or don't configure this policy setting, users can choose what information is shared in Search.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de contrôler quelles informations sont partagées avec Bing dans Search.

Si vous activez ce paramètre de stratégie, vous pouvez spécifier un des quatre paramètres, que les utilisateurs ne peuvent pas modifier :

- Informations utilisateur et emplacement : permet de partager l’historique de recherche d’un utilisateur, certaines informations de compte Microsoft et un emplacement spécifique pour personnaliser ses recherches et d’autres expériences Microsoft.

- Informations utilisateur uniquement : permet de partager l’historique de recherche d’un utilisateur, certaines informations de compte Microsoft pour personnaliser ses recherches et d’autres expériences Microsoft.

- Informations anonymes : permet de partager des informations d’utilisation mais pas de partager l’historique de recherche, des informations de compte Microsoft ou un emplacement spécifique.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent choisir les informations qui sont partagées dans Search.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
Value name
ConnectedSearchPrivacy
StateValue written
Enablednot defined in the ADMX (see the options below)
Disablednot defined in the ADMX (see the options below)

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

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/SearchPrivacy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'ConnectedSearchPrivacy' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)
# Type of information
# Possible options:
#   User info and location = 1
#   User info only = 2
#   Anonymous info = 3
Set-ItemProperty -Path $k -Name 'ConnectedSearchPrivacy' -Value 1 -Type DWord

Disable

# Disable: Search/SearchPrivacy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'ConnectedSearchPrivacy' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Type of informationType d’informationsSharePrivacy_DropdownDrop-down listenumConnectedSearchPrivacyREG_DWORD
Default choice (UI): #0
LabelValue
User info and locationREG_DWORD = 1
User info onlyREG_DWORD = 2
Anonymous infoREG_DWORD = 3

Availability