Ouvrir dans l'explorateur

Autoriser la recherche dans le cloud

Allow Cloud Search

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rechercher EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Search
Pris en charge sur
Au moins Windows Server 2016, Windows 10 EN : At least Windows Server 2016, Windows 10
Fichier ADMX
Search.admx
Nom interne
Search/AllowCloudSearch

Explication

Texte français issu de Windows 11 26H2

Autoriser la recherche et permettre à Cortana de rechercher parmi des ressources du cloud comme OneDrive et SharePoint

Allow search and Cortana to search cloud sources like OneDrive and SharePoint

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
Nom de la valeur
AllowCloudSearch
ÉtatValeur écrite
Activénon défini dans l'ADMX (voir les options ci-dessous)
Désactivénon défini dans l'ADMX (voir les options ci-dessous)

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

L'ADMX ne précise pas la valeur écrite à l'activation ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé). Les commandes ci-dessous utilisent 1/0 par hypothèse.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : Search/AllowCloudSearch
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'AllowCloudSearch' -Value 1 -Type DWord  # valeur supposée (non définie dans l'ADMX)
# Paramètre de recherche dans le cloud
# Options possibles :
#   Disable Cloud Search = 0
#   Enable Cloud Search = 1
#   User Selected = 2
Set-ItemProperty -Path $k -Name 'AllowCloudSearch' -Value 2 -Type DWord

Désactiver

# Désactiver : Search/AllowCloudSearch
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'AllowCloudSearch' -Value 0 -Type DWord  # valeur supposée (non définie dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : Search/AllowCloudSearch
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'AllowCloudSearch' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Paramètre de recherche dans le cloudCloud Search SettingAllowCloudSearch_DropdownListe déroulanteenumAllowCloudSearchREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 2
LibelléValeur
Disable Cloud SearchREG_DWORD = 0
Enable Cloud SearchREG_DWORD = 1
User SelectedREG_DWORD = 2

Disponibilité

Windows Server