Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2 or Windows 7
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR |
|---|
| Value name | OCREveryPage |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This Group Policy setting lets users turn off the performance optimization so that the TIFF IFilter will perform OCR for every page in a TIFF document, which allows indexing of all recognized text. By default, the TIFF IFilter optimizes its performance by skipping OCR (Optical Character Recognition) for document pages that have non-textual content (for example, pictures). In some cases, pages that contain text can be misclassified as non-text pages. If this is the case, the text in these pages will not be indexed.
If you enable this setting, TIFF IFilter will perform OCR for every page in a TIFF document to index all recognized text. Therefore, the OCR process will be slower. This decrease in performance can be significant if there are lots of non-textual pages (pictures) in TIFF documents on the system.
If you disable or do not configure this setting, TIFF IFilter will optimize its performance by skipping non-textual content during the OCR process.
Group Policy path: Computer Configuration > Administrative Templates > OCR > Force TIFF IFilter to perform OCR for every page in a TIFF document
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'OCREveryPage' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: searchocr.admx · policy name OCREveryPage
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2016 or Windows 10
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following OCR languages: | SelectedOcrLanguage | | ar (REG_SZ) = Arabic bs-latn-ba (REG_SZ) = Bosnian (Latin) bg (REG_SZ) = Bulgarian hr (REG_SZ) = Croatian sl (REG_SZ) = Slovenian cs (REG_SZ) = Czech hu (REG_SZ) = Hungarian pl (REG_SZ) = Polish ru (REG_SZ) = Russian da (REG_SZ) = Danish nl (REG_SZ) = Dutch en (REG_SZ) = English fi (REG_SZ) = Finnish fr (REG_SZ) = French de (REG_SZ) = German it (REG_SZ) = Italian nb (REG_SZ) = Norwegian pt (REG_SZ) = Portuguese ro (REG_SZ) = Romanian sr-cyrl-rs (REG_SZ) = Serbian (Cyrillic) sr-latn-rs (REG_SZ) = Serbian (Latin) sk (REG_SZ) = Slovak es (REG_SZ) = Spanish sv (REG_SZ) = Swedish el (REG_SZ) = Greek tr (REG_SZ) = Turkish zh-Hans (REG_SZ) = Chinese (Simplified) zh-Hant (REG_SZ) = Chinese (Traditional) ja (REG_SZ) = Japanese ko (REG_SZ) = Korean |
What it does (vendor explanation)
This policy setting allows selection of OCR (Optical Character Recognition) language. If you enable this policy setting, the selected OCR language is used in OCR processing during the indexing of TIFF files. If you disable or do not configure this policy setting, the default system language is used.
Re-indexing is not initiated when you enable this policy and select the OCR language. This policy setting only applies to indexing of new files, unless re-indexing is initiated manually.
Group Policy path: Computer Configuration > Administrative Templates > OCR > Select OCR language
PowerShell equivalent (generated from the template)
# Choose one of the following OCR languages:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'SelectedOcrLanguage' -Value ar -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: searchocr.admx · policy name SelectOCRLangs
Per machine Release not stated
Supported on: At least Windows 7 through Windows 8.1 or Windows Server 2012 R2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR |
|---|
| Value name | SelectOCRLangs |
|---|
| Option | Value | Type | Allowed values |
|---|
| Estonian | Estonian | REG_DWORD | Checked: 1061 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Latvian | Latvian | REG_DWORD | Checked: 1062 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Lithuanian | Lithuanian | REG_DWORD | Checked: 1063 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Albanian | Albanian | REG_DWORD | Checked: 1052 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Croatian | Croatian | REG_DWORD | Checked: 1050 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Czech | Czech | REG_DWORD | Checked: 1029 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Hungarian | Hungarian | REG_DWORD | Checked: 1038 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Polish | Polish | REG_DWORD | Checked: 1045 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Romanian | Romanian | REG_DWORD | Checked: 1048 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Serbian Latin | SerbianLatin | REG_DWORD | Checked: 2074 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Slovak | Slovak | REG_DWORD | Checked: 1051 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Slovenian | Slovenian | REG_DWORD | Checked: 1060 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Bulgarian | Bulgarian | REG_DWORD | Checked: 1026 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Belarusian | Byelorussian | REG_DWORD | Checked: 1059 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Macedonian (F.Y.R.O. Macedonia) | MacedoniaFYRO | REG_DWORD | Checked: 1071 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Russian | Russian | REG_DWORD | Checked: 1049 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Serbian | Serbian | REG_DWORD | Checked: 3098 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Ukrainian | Ukrainian | REG_DWORD | Checked: 1058 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Catalan | Catalan | REG_DWORD | Checked: 1027 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Danish | Danish | REG_DWORD | Checked: 1030 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Dutch | Dutch | REG_DWORD | Checked: 1043 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| English | English | REG_DWORD | Checked: 1033 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Faroese | Faroese | REG_DWORD | Checked: 1080 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Finnish | Finnish | REG_DWORD | Checked: 1035 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| French | French | REG_DWORD | Checked: 1036 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| German | German | REG_DWORD | Checked: 1031 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Icelandic | Icelandic | REG_DWORD | Checked: 1039 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Indonesian | Indonesian | REG_DWORD | Checked: 1057 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Italian | Italian | REG_DWORD | Checked: 1040 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Malay | Malaysian | REG_DWORD | Checked: 1086 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Norwegian | Norwegian | REG_DWORD | Checked: 1044 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Portuguese | Portuguese | REG_DWORD | Checked: 1046 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Spanish | Spanish | REG_DWORD | Checked: 1034 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Swedish | Swedish | REG_DWORD | Checked: 1053 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Greek | Greek | REG_DWORD | Checked: 1032 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Turkish | Turkish | REG_DWORD | Checked: 1055 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Chinese (simplified) | Chinese (Simplified) | REG_DWORD | Checked: 4100 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Chinese (traditional) | Chinese (Traditional) | REG_DWORD | Checked: 5124 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Japanese | Japanese | REG_DWORD | Checked: 1041 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Korean | Korean | REG_DWORD | Checked: 1042 (REG_DWORD); unchecked: 0 (REG_DWORD) |
What it does (vendor explanation)
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.
Group Policy path: Computer Configuration > Administrative Templates > OCR > Select OCR language from a code page
PowerShell equivalent (generated from the template)
# Estonian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Estonian' -Value <value> -PropertyType DWord -Force
# Latvian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Latvian' -Value <value> -PropertyType DWord -Force
# Lithuanian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Lithuanian' -Value <value> -PropertyType DWord -Force
# Albanian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Albanian' -Value <value> -PropertyType DWord -Force
# Croatian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Croatian' -Value <value> -PropertyType DWord -Force
# Czech
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Czech' -Value <value> -PropertyType DWord -Force
# Hungarian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Hungarian' -Value <value> -PropertyType DWord -Force
# Polish
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Polish' -Value <value> -PropertyType DWord -Force
# Romanian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Romanian' -Value <value> -PropertyType DWord -Force
# Serbian Latin
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'SerbianLatin' -Value <value> -PropertyType DWord -Force
# Slovak
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Slovak' -Value <value> -PropertyType DWord -Force
# Slovenian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Slovenian' -Value <value> -PropertyType DWord -Force
# Bulgarian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Bulgarian' -Value <value> -PropertyType DWord -Force
# Belarusian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Byelorussian' -Value <value> -PropertyType DWord -Force
# Macedonian (F.Y.R.O. Macedonia)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'MacedoniaFYRO' -Value <value> -PropertyType DWord -Force
# Russian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Russian' -Value <value> -PropertyType DWord -Force
# Serbian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Serbian' -Value <value> -PropertyType DWord -Force
# Ukrainian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Ukrainian' -Value <value> -PropertyType DWord -Force
# Catalan
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Catalan' -Value <value> -PropertyType DWord -Force
# Danish
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Danish' -Value <value> -PropertyType DWord -Force
# Dutch
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Dutch' -Value <value> -PropertyType DWord -Force
# English
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'English' -Value <value> -PropertyType DWord -Force
# Faroese
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Faroese' -Value <value> -PropertyType DWord -Force
# Finnish
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Finnish' -Value <value> -PropertyType DWord -Force
# French
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'French' -Value <value> -PropertyType DWord -Force
# German
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'German' -Value <value> -PropertyType DWord -Force
# Icelandic
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Icelandic' -Value <value> -PropertyType DWord -Force
# Indonesian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Indonesian' -Value <value> -PropertyType DWord -Force
# Italian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Italian' -Value <value> -PropertyType DWord -Force
# Malay
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Malaysian' -Value <value> -PropertyType DWord -Force
# Norwegian
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Norwegian' -Value <value> -PropertyType DWord -Force
# Portuguese
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Portuguese' -Value <value> -PropertyType DWord -Force
# Spanish
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Spanish' -Value <value> -PropertyType DWord -Force
# Swedish
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Swedish' -Value <value> -PropertyType DWord -Force
# Greek
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Greek' -Value <value> -PropertyType DWord -Force
# Turkish
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Turkish' -Value <value> -PropertyType DWord -Force
# Chinese (simplified)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Chinese (Simplified)' -Value <value> -PropertyType DWord -Force
# Chinese (traditional)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Chinese (Traditional)' -Value <value> -PropertyType DWord -Force
# Japanese
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Japanese' -Value <value> -PropertyType DWord -Force
# Korean
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR' -Name 'Korean' -Value <value> -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: searchocr.admx · policy name SelectOCRLangsCodePage