Set default search engine
Définir le moteur de recherche par défaut
Explanation
This policy setting lets you configure the default search engine for your employees. Your employees can change the default search engine at any time.
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 this setting, you can choose a default search engine for your employees. If this setting is enabled, you must also add the default engine to the “Set default search engine” setting, by adding a link to your OpenSearch XML file, including at least the short name and https: URL of the search engine. For more info about creating the OpenSearch XML file, see the Understanding OpenSearch Standards (https://msdn.microsoft.com/en-us/library/dd163546.aspx) topic. Use this format to specify the link you wish to add: <https://fabrikam.com/opensearch.xml>
Note
If you'd like your employees to use the default Microsoft Edge settings for each market, you can set the string to EDGEDEFAULT. If you'd like your employees to use Microsoft Bing as the default search engine, you can set the string to EDGEBING.
Employees can change the default search engine at any time, unless you disable the "Allow search engine customization" setting, which restricts any changes.
If you disable this setting, the policy-set default search engine is removed. If this is also the current in-use default, the engine changes to the Microsoft Edge specified engine for the market.
If you don't configure this setting, the default search engine is set to the one specified in App settings.
Ce paramètre de stratégie vous permet de configurer le moteur de recherche par défaut de vos employés. Vos employés peuvent en changer à tout moment.
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, vous pouvez choisir un moteur de recherche par défaut pour vos employés. Si ce paramètre est activé, vous devez également ajouter le moteur par défaut au paramètre « Définir le moteur de recherche par défaut », en ajoutant un lien à votre fichier XML OpenSearch, incluant au moins le nom court et l’URL https: du moteur de recherche. Pour en savoir plus sur la création du fichier XML OpenSearch, consultez la rubrique Présentation des normes OpenSearch (https://msdn.microsoft.com/fr-fr/library/dd163546.aspx). Utilisez ce format pour spécifier le lien à ajouter : <https://fabrikam.com/opensearch.xml>
Remarque
Si vous souhaitez que vos employés utilisent les paramètres par défaut de Microsoft Edge pour chaque marché, vous pouvez définir la chaîne sur EDGEDEFAULT. Si vous souhaitez qu’ils utilisent Microsoft Bing comme moteur de recherche par défaut, vous pouvez définir la chaîne sur EDGEBING.
Les employés peuvent changer le moteur de recherche par défaut à tout moment, à moins que vous ne désactiviez le paramètre « Autoriser la personnalisation du moteur de recherche », ce qui limite les éventuelles modifications.
Si vous désactivez ce paramètre, le moteur de recherche par défaut défini par la stratégie est supprimé. S’il s’agit également du moteur par défaut utilisé actuellement, le moteur est remplacé par celui qui est spécifié par Microsoft Edge pour le marché.
Si vous ne configurez pas ce paramètre, le moteur de recherche par défaut est défini sur celui qui est spécifié dans Paramètres de l’application.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\OpenSearchHKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\OpenSearch- Value name
- not defined in the ADMX
Enable / disable values: not 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.
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/SetDefaultSearchEngine
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\OpenSearch'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Use this format to specify the link you wish to add: <https://fabrikam.com/opensearch.xml>
Set-ItemProperty -Path $k -Name 'SetDefaultSearchEngine' -Value '<value>' -Type StringDisable
# Disable: MicrosoftEdge/SetDefaultSearchEngine
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": MicrosoftEdge/SetDefaultSearchEngine
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\OpenSearch'
Remove-ItemProperty -Path $k -Name 'SetDefaultSearchEngine' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Use this format to specify the link you wish to add: <https://fabrikam.com/opensearch.xml>Spécifiez le lien à ajouter en respectant ce format : <https://fabrikam.com/opensearch.xml>SetDefaultSearchEngine_Prompt | Text boxtext | SetDefaultSearchEngine | REG_SZ | Required |