Sélectionner une langue OCR à partir d’une page de codes
Select OCR language from a code page
Explication
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
| État | Valeur é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 DWordDé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 SilentlyContinueOptions (40)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| EstonienEstonianEstonian | Case à cocherboolean | Estonian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1061Décoché : REG_DWORD = 0 |
| LettonLatvianLatvian | Case à cocherboolean | Latvian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1062Décoché : REG_DWORD = 0 |
| LituanienLithuanianLithuanian | Case à cocherboolean | Lithuanian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1063Décoché : REG_DWORD = 0 |
| AlbanaisAlbanianAlbanian | Case à cocherboolean | Albanian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1052Décoché : REG_DWORD = 0 |
| CroateCroatianCroatian | Case à cocherboolean | Croatian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1050Décoché : REG_DWORD = 0 |
| TchèqueCzechCzech | Case à cocherboolean | Czech | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1029Décoché : REG_DWORD = 0 |
| HongroisHungarianHungarian | Case à cocherboolean | Hungarian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1038Décoché : REG_DWORD = 0 |
| PolonaisPolishPolish | Case à cocherboolean | Polish | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1045Décoché : REG_DWORD = 0 |
| RoumainRomanianRomanian | Case à cocherboolean | Romanian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1048Décoché : REG_DWORD = 0 |
| Serbe (latin)Serbian LatinSerbianLatin | Case à cocherboolean | SerbianLatin | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 2074Décoché : REG_DWORD = 0 |
| SlovaqueSlovakSlovak | Case à cocherboolean | Slovak | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1051Décoché : REG_DWORD = 0 |
| SlovèneSlovenianSlovenian | Case à cocherboolean | Slovenian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1060Décoché : REG_DWORD = 0 |
| BulgareBulgarianBulgarian | Case à cocherboolean | Bulgarian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1026Décoché : REG_DWORD = 0 |
| BélarusseBelarusianByelorussian | Case à cocherboolean | Byelorussian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1059Décoché : REG_DWORD = 0 |
| Macédonien (Ex-Rép. yougoslave de Macédoine)Macedonian (F.Y.R.O. Macedonia)MacedoniaFYRO | Case à cocherboolean | MacedoniaFYRO | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1071Décoché : REG_DWORD = 0 |
| RusseRussianRussian | Case à cocherboolean | Russian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1049Décoché : REG_DWORD = 0 |
| SerbeSerbianSerbian | Case à cocherboolean | Serbian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 3098Décoché : REG_DWORD = 0 |
| UkrainienUkrainianUkrainian | Case à cocherboolean | Ukrainian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1058Décoché : REG_DWORD = 0 |
| CatalanCatalan | Case à cocherboolean | Catalan | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1027Décoché : REG_DWORD = 0 |
| DanoisDanishDanish | Case à cocherboolean | Danish | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1030Décoché : REG_DWORD = 0 |
| NéerlandaisDutchDutch | Case à cocherboolean | Dutch | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1043Décoché : REG_DWORD = 0 |
| AnglaisEnglishEnglish | Case à cocherboolean | English | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1033Décoché : REG_DWORD = 0 |
| FéroïenFaroeseFaroese | Case à cocherboolean | Faroese | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1080Décoché : REG_DWORD = 0 |
| FinnoisFinnishFinnish | Case à cocherboolean | Finnish | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1035Décoché : REG_DWORD = 0 |
| FrançaisFrenchFrench | Case à cocherboolean | French | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1036Décoché : REG_DWORD = 0 |
| AllemandGermanGerman | Case à cocherboolean | German | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1031Décoché : REG_DWORD = 0 |
| IslandaisIcelandicIcelandic | Case à cocherboolean | Icelandic | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1039Décoché : REG_DWORD = 0 |
| IndonésienIndonesianIndonesian | Case à cocherboolean | Indonesian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1057Décoché : REG_DWORD = 0 |
| ItalienItalianItalian | Case à cocherboolean | Italian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1040Décoché : REG_DWORD = 0 |
| MalaisMalayMalaysian | Case à cocherboolean | Malaysian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1086Décoché : REG_DWORD = 0 |
| NorvégienNorwegianNorwegian | Case à cocherboolean | Norwegian | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1044Décoché : REG_DWORD = 0 |
| PortugaisPortuguesePortuguese | Case à cocherboolean | Portuguese | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1046Décoché : REG_DWORD = 0 |
| EspagnolSpanishSpanish | Case à cocherboolean | Spanish | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1034Décoché : REG_DWORD = 0 |
| SuédoisSwedishSwedish | Case à cocherboolean | Swedish | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1053Décoché : REG_DWORD = 0 |
| GrecGreekGreek | Case à cocherboolean | Greek | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1032Décoché : REG_DWORD = 0 |
| TurcTurkishTurkish | Case à cocherboolean | Turkish | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1055Décoché : REG_DWORD = 0 |
| Chinois (simplifié)Chinese (simplified)ChineseSimplified | Case à cocherboolean | Chinese (Simplified) | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 4100Décoché : REG_DWORD = 0 |
| Chinois (traditionnel)Chinese (traditional)ChineseTraditional | Case à cocherboolean | Chinese (Traditional) | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 5124Décoché : REG_DWORD = 0 |
| JaponaisJapaneseJapanese | Case à cocherboolean | Japanese | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1041Décoché : REG_DWORD = 0 |
| CoréenKoreanKorean | Case à cocherboolean | Korean | REG_DWORD | Défaut (interface) : false Coché : REG_DWORD = 1042Décoché : REG_DWORD = 0 |