Allow search engine customization
Autoriser la personnalisation du moteur de recherche
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.
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/browserpolicyHKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Protected - It is a violation of Windows Policy to modify. See aka.ms/browserpolicy- Value name
AllowSearchEngineCustomization
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert 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 SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"