Allow use of diacritics
Autoriser l’utilisation des signes diacritiques
Explanation
This policy setting allows words that contain diacritic characters to be treated as separate words. If you enable this policy setting, words that only differ in diacritics are treated as different words. If you disable this policy setting, words with diacritics and words without diacritics are treated as identical words. This policy setting is not configured by default. If you do not configure this policy setting, the local setting, configured through Control Panel, will be used. Note: By default, the Control Panel setting is set to treat words that differ only because of diacritics as the same word.
Ce paramètre de stratégie permet aux mots contenant des caractères diacritiques d’être traités comme des mots séparés. S’il est activé, les mots qui se différencient par leurs signes diacritiques sont considérés comme des mots distincts. S’il est désactivé, les mots qui se différencient par leurs signes diacritiques et les mots sans signes diacritiques sont considérés comme des mots identiques. Ce paramètre de stratégie n’est pas configuré par défaut. Si ce paramètre de stratégie n’est pas configuré, le paramètre local, configuré dans le Panneau de configuration, est utilisé. Remarque : par défaut, le paramètre du Panneau de configuration est défini pour traiter les mots qui se différencient par leurs signes diacritiques comme des mots identiques.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search- Value name
AllowUsingDiacritics
| 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.
Enable
# Enable: Search/AllowUsingDiacritics
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowUsingDiacritics' -Value 1 -Type DWordDisable
# Disable: Search/AllowUsingDiacritics
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowUsingDiacritics' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Search/AllowUsingDiacritics
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'AllowUsingDiacritics' -ErrorAction SilentlyContinue