Open in the explorer

Allow search engine customization

Autoriser la personnalisation du moteur de recherche

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge User Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft EdgeFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Edge
Supported on
Microsoft Edge on Windows 10, Version 1703 or later FR: Microsoft Edge sur Windows 10, version 1703 ou ultérieure
ADMX file
MicrosoftEdge.admx
Internal name
MicrosoftEdge/AllowSearchEngineCustomization

Explanation

This policy setting lets you decide whether users can change their search engine. If you disable this setting, users can't add new search engines or change the default used in the address bar.

Important
This setting can only be used with domain-joined or MDM-enrolled devices. For more info, see the Microsoft browser extension policy (aka.ms/browserpolicy).

If you enable or don't configure this policy, users can add new search engines and change the default used in the address bar from within Microsoft Edge Settings.

If you disable this setting, users can't add search engines or change the default used in the address bar.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de déterminer si les utilisateurs peuvent modifier leur moteur de recherche. Si vous désactivez ce paramètre, les utilisateurs ne peuvent pas ajouter de nouveaux moteurs de recherche ni changer le moteur utilisé par défaut dans la barre d’adresse.

Important
Ce paramètre ne peut être utilisé qu’avec des appareils joints à un domaine ou inscrits à GPM. Pour plus d’informations, consultez la stratégie d’extension de navigateur Microsoft (aka.ms/browserpolicy).

Si vous activez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs peuvent ajouter de nouveaux moteurs de recherche et changer le moteur utilisé par défaut dans la barre d’adresse dans Paramètres de Microsoft Edge.

Si vous désactivez ce paramètre, les utilisateurs ne peuvent pas ajouter de moteurs de recherche ni modifier le moteur utilisé par défaut dans la barre d’adresse.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Protected - It is a violation of Windows Policy to modify. See aka.ms/browserpolicy
HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Protected - It is a violation of Windows Policy to modify. See aka.ms/browserpolicy
Value name
AllowSearchEngineCustomization
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.

Computer (HKLM)

Enable

# Enable: MicrosoftEdge/AllowSearchEngineCustomization
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Protected - It is a violation of Windows Policy to modify. See aka.ms/browserpolicy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSearchEngineCustomization' -Value 1 -Type DWord

Disable

# Disable: MicrosoftEdge/AllowSearchEngineCustomization
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Protected - It is a violation of Windows Policy to modify. See aka.ms/browserpolicy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSearchEngineCustomization' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": MicrosoftEdge/AllowSearchEngineCustomization
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Protected - It is a violation of Windows Policy to modify. See aka.ms/browserpolicy'
Remove-ItemProperty -Path $k -Name 'AllowSearchEngineCustomization' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability

Windows Server