Ouvrir dans l'explorateur

Sélectionner une langue OCR à partir d’une page de codes

Select OCR language from a code page

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rechercher › OCR EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Search › OCR
Pris en charge sur
Au minimum Windows 7 par le biais de Windows 8.1 ou Windows Server 2012 R2 EN : At least Windows 7 through Windows 8.1 or Windows Server 2012 R2
Fichier ADMX
searchocr.admx
Nom interne
searchocr/SelectOCRLangsCodePage

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie permet de sélectionner les langues de reconnaissance optique de caractères (OCR) appartenant à l’une des pages de codes prises en charge. Si vous activez ce paramètre de stratégie, le traitement OCR tient compte des langues choisies pendant l’indexation des fichiers TIFF. La langue du système par défaut est ignorée, sauf si elle fait partie des langues OCR sélectionnées. Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le traitement OCR s’effectue uniquement dans la langue du système par défaut.

Toutes les langues OCR que vous sélectionnez doivent appartenir à la même page de codes. Si vous choisissez des langues provenant de plusieurs pages de codes, la totalité de la sélection sera ignorée et la langue du système sera appliquée par défaut.

Aucune réindexation n’a lieu lorsque vous activez cette stratégie et sélectionnez des langues OCR. Ce paramètre de stratégie concerne uniquement l’indexation de nouveaux fichiers, sauf si vous lancez une opération de réindexation manuelle.

This policy setting allows selecting of OCR (Optical Character Recognition) languages that belong to one of the supported code pages. If you enable this policy setting, the selected OCR languages are used in OCR processing during the indexing of TIFF files. The default system language is ignored unless it is among the selected OCR languages. If you disable or do not configure this policy setting, only the default system language is used.

All selected OCR languages must belong to the same code page. If you select languages from more than one code page, the entire OCR language selection is ignored and only the default system language is used.

Re-indexing is not initiated when you enable this policy and selecting OCR languages. This policy setting only applies to the indexing of new files, unless re-indexing is initiated manually.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR
Nom de la valeur
SelectOCRLangs
É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 : searchocr/SelectOCRLangsCodePage
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR'
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 'SelectOCRLangs' -Value 1 -Type DWord  # valeur supposée (non définie dans l'ADMX)
# Estonien
# décoché : 0
Set-ItemProperty -Path $k -Name 'Estonian' -Value 1061 -Type DWord
# Letton
# décoché : 0
Set-ItemProperty -Path $k -Name 'Latvian' -Value 1062 -Type DWord
# Lituanien
# décoché : 0
Set-ItemProperty -Path $k -Name 'Lithuanian' -Value 1063 -Type DWord
# Albanais
# décoché : 0
Set-ItemProperty -Path $k -Name 'Albanian' -Value 1052 -Type DWord
# Croate
# décoché : 0
Set-ItemProperty -Path $k -Name 'Croatian' -Value 1050 -Type DWord
# Tchèque
# décoché : 0
Set-ItemProperty -Path $k -Name 'Czech' -Value 1029 -Type DWord
# Hongrois
# décoché : 0
Set-ItemProperty -Path $k -Name 'Hungarian' -Value 1038 -Type DWord
# Polonais
# décoché : 0
Set-ItemProperty -Path $k -Name 'Polish' -Value 1045 -Type DWord
# Roumain
# décoché : 0
Set-ItemProperty -Path $k -Name 'Romanian' -Value 1048 -Type DWord
# Serbe (latin)
# décoché : 0
Set-ItemProperty -Path $k -Name 'SerbianLatin' -Value 2074 -Type DWord
# Slovaque
# décoché : 0
Set-ItemProperty -Path $k -Name 'Slovak' -Value 1051 -Type DWord
# Slovène
# décoché : 0
Set-ItemProperty -Path $k -Name 'Slovenian' -Value 1060 -Type DWord
# Bulgare
# décoché : 0
Set-ItemProperty -Path $k -Name 'Bulgarian' -Value 1026 -Type DWord
# Bélarusse
# décoché : 0
Set-ItemProperty -Path $k -Name 'Byelorussian' -Value 1059 -Type DWord
# Macédonien (Ex-Rép. yougoslave de Macédoine)
# décoché : 0
Set-ItemProperty -Path $k -Name 'MacedoniaFYRO' -Value 1071 -Type DWord
# Russe
# décoché : 0
Set-ItemProperty -Path $k -Name 'Russian' -Value 1049 -Type DWord
# Serbe
# décoché : 0
Set-ItemProperty -Path $k -Name 'Serbian' -Value 3098 -Type DWord
# Ukrainien
# décoché : 0
Set-ItemProperty -Path $k -Name 'Ukrainian' -Value 1058 -Type DWord
# Catalan
# décoché : 0
Set-ItemProperty -Path $k -Name 'Catalan' -Value 1027 -Type DWord
# Danois
# décoché : 0
Set-ItemProperty -Path $k -Name 'Danish' -Value 1030 -Type DWord
# Néerlandais
# décoché : 0
Set-ItemProperty -Path $k -Name 'Dutch' -Value 1043 -Type DWord
# Anglais
# décoché : 0
Set-ItemProperty -Path $k -Name 'English' -Value 1033 -Type DWord
# Féroïen
# décoché : 0
Set-ItemProperty -Path $k -Name 'Faroese' -Value 1080 -Type DWord
# Finnois
# décoché : 0
Set-ItemProperty -Path $k -Name 'Finnish' -Value 1035 -Type DWord
# Français
# décoché : 0
Set-ItemProperty -Path $k -Name 'French' -Value 1036 -Type DWord
# Allemand
# décoché : 0
Set-ItemProperty -Path $k -Name 'German' -Value 1031 -Type DWord
# Islandais
# décoché : 0
Set-ItemProperty -Path $k -Name 'Icelandic' -Value 1039 -Type DWord
# Indonésien
# décoché : 0
Set-ItemProperty -Path $k -Name 'Indonesian' -Value 1057 -Type DWord
# Italien
# décoché : 0
Set-ItemProperty -Path $k -Name 'Italian' -Value 1040 -Type DWord
# Malais
# décoché : 0
Set-ItemProperty -Path $k -Name 'Malaysian' -Value 1086 -Type DWord
# Norvégien
# décoché : 0
Set-ItemProperty -Path $k -Name 'Norwegian' -Value 1044 -Type DWord
# Portugais
# décoché : 0
Set-ItemProperty -Path $k -Name 'Portuguese' -Value 1046 -Type DWord
# Espagnol
# décoché : 0
Set-ItemProperty -Path $k -Name 'Spanish' -Value 1034 -Type DWord
# Suédois
# décoché : 0
Set-ItemProperty -Path $k -Name 'Swedish' -Value 1053 -Type DWord
# Grec
# décoché : 0
Set-ItemProperty -Path $k -Name 'Greek' -Value 1032 -Type DWord
# Turc
# décoché : 0
Set-ItemProperty -Path $k -Name 'Turkish' -Value 1055 -Type DWord
# Chinois (simplifié)
# décoché : 0
Set-ItemProperty -Path $k -Name 'Chinese (Simplified)' -Value 4100 -Type DWord
# Chinois (traditionnel)
# décoché : 0
Set-ItemProperty -Path $k -Name 'Chinese (Traditional)' -Value 5124 -Type DWord
# Japonais
# décoché : 0
Set-ItemProperty -Path $k -Name 'Japanese' -Value 1041 -Type DWord
# Coréen
# décoché : 0
Set-ItemProperty -Path $k -Name 'Korean' -Value 1042 -Type DWord

Désactiver

# Désactiver : searchocr/SelectOCRLangsCodePage
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR'
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 'SelectOCRLangs' -Value 0 -Type DWord  # valeur supposée (non définie dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : searchocr/SelectOCRLangsCodePage
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR'
Remove-ItemProperty -Path $k -Name 'SelectOCRLangs' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Estonian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Latvian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Lithuanian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Albanian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Croatian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Czech' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Hungarian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Polish' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Romanian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SerbianLatin' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Slovak' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Slovenian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Bulgarian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Byelorussian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'MacedoniaFYRO' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Russian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Serbian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Ukrainian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Catalan' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Danish' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Dutch' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'English' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Faroese' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Finnish' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'French' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'German' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Icelandic' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Indonesian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Italian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Malaysian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Norwegian' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Portuguese' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Spanish' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Swedish' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Greek' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Turkish' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Chinese (Simplified)' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Chinese (Traditional)' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Japanese' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Korean' -ErrorAction SilentlyContinue

Options (40)

LibelléContrôleValeur de registreType REGContraintes / détails
EstonienEstonianEstonianCase à cocherbooleanEstonianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1061
Décoché : REG_DWORD = 0
LettonLatvianLatvianCase à cocherbooleanLatvianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1062
Décoché : REG_DWORD = 0
LituanienLithuanianLithuanianCase à cocherbooleanLithuanianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1063
Décoché : REG_DWORD = 0
AlbanaisAlbanianAlbanianCase à cocherbooleanAlbanianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1052
Décoché : REG_DWORD = 0
CroateCroatianCroatianCase à cocherbooleanCroatianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1050
Décoché : REG_DWORD = 0
TchèqueCzechCzechCase à cocherbooleanCzechREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1029
Décoché : REG_DWORD = 0
HongroisHungarianHungarianCase à cocherbooleanHungarianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1038
Décoché : REG_DWORD = 0
PolonaisPolishPolishCase à cocherbooleanPolishREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1045
Décoché : REG_DWORD = 0
RoumainRomanianRomanianCase à cocherbooleanRomanianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1048
Décoché : REG_DWORD = 0
Serbe (latin)Serbian LatinSerbianLatinCase à cocherbooleanSerbianLatinREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 2074
Décoché : REG_DWORD = 0
SlovaqueSlovakSlovakCase à cocherbooleanSlovakREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1051
Décoché : REG_DWORD = 0
SlovèneSlovenianSlovenianCase à cocherbooleanSlovenianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1060
Décoché : REG_DWORD = 0
BulgareBulgarianBulgarianCase à cocherbooleanBulgarianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1026
Décoché : REG_DWORD = 0
BélarusseBelarusianByelorussianCase à cocherbooleanByelorussianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1059
Décoché : REG_DWORD = 0
Macédonien (Ex-Rép. yougoslave de Macédoine)Macedonian (F.Y.R.O. Macedonia)MacedoniaFYROCase à cocherbooleanMacedoniaFYROREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1071
Décoché : REG_DWORD = 0
RusseRussianRussianCase à cocherbooleanRussianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1049
Décoché : REG_DWORD = 0
SerbeSerbianSerbianCase à cocherbooleanSerbianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 3098
Décoché : REG_DWORD = 0
UkrainienUkrainianUkrainianCase à cocherbooleanUkrainianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1058
Décoché : REG_DWORD = 0
CatalanCatalanCase à cocherbooleanCatalanREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1027
Décoché : REG_DWORD = 0
DanoisDanishDanishCase à cocherbooleanDanishREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1030
Décoché : REG_DWORD = 0
NéerlandaisDutchDutchCase à cocherbooleanDutchREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1043
Décoché : REG_DWORD = 0
AnglaisEnglishEnglishCase à cocherbooleanEnglishREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1033
Décoché : REG_DWORD = 0
FéroïenFaroeseFaroeseCase à cocherbooleanFaroeseREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1080
Décoché : REG_DWORD = 0
FinnoisFinnishFinnishCase à cocherbooleanFinnishREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1035
Décoché : REG_DWORD = 0
FrançaisFrenchFrenchCase à cocherbooleanFrenchREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1036
Décoché : REG_DWORD = 0
AllemandGermanGermanCase à cocherbooleanGermanREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1031
Décoché : REG_DWORD = 0
IslandaisIcelandicIcelandicCase à cocherbooleanIcelandicREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1039
Décoché : REG_DWORD = 0
IndonésienIndonesianIndonesianCase à cocherbooleanIndonesianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1057
Décoché : REG_DWORD = 0
ItalienItalianItalianCase à cocherbooleanItalianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1040
Décoché : REG_DWORD = 0
MalaisMalayMalaysianCase à cocherbooleanMalaysianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1086
Décoché : REG_DWORD = 0
NorvégienNorwegianNorwegianCase à cocherbooleanNorwegianREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1044
Décoché : REG_DWORD = 0
PortugaisPortuguesePortugueseCase à cocherbooleanPortugueseREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1046
Décoché : REG_DWORD = 0
EspagnolSpanishSpanishCase à cocherbooleanSpanishREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1034
Décoché : REG_DWORD = 0
SuédoisSwedishSwedishCase à cocherbooleanSwedishREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1053
Décoché : REG_DWORD = 0
GrecGreekGreekCase à cocherbooleanGreekREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1032
Décoché : REG_DWORD = 0
TurcTurkishTurkishCase à cocherbooleanTurkishREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1055
Décoché : REG_DWORD = 0
Chinois (simplifié)Chinese (simplified)ChineseSimplifiedCase à cocherbooleanChinese (Simplified)REG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 4100
Décoché : REG_DWORD = 0
Chinois (traditionnel)Chinese (traditional)ChineseTraditionalCase à cocherbooleanChinese (Traditional)REG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 5124
Décoché : REG_DWORD = 0
JaponaisJapaneseJapaneseCase à cocherbooleanJapaneseREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1041
Décoché : REG_DWORD = 0
CoréenKoreanKoreanCase à cocherbooleanKoreanREG_DWORD
Défaut (interface) : false
Coché : REG_DWORD = 1042
Décoché : REG_DWORD = 0

Disponibilité

Windows 10

✓ 22H2✓ 21H2✓ 21H1✓ 20H2— 2004— 1909— 1903✓ 1809✓ 1803— 1709— 1703— 1607— 1511— 1507

Windows Server