en-US windows computer

Select OCR language

Verified with Windows 11 25H2 — updated on July 12, 2026

Windows 11 25H2

Supported on: At least Windows Server 2016 or Windows 10

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Search\OCR

Description

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.

Registry

HKLM SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR

More options available

Options

Choose one of the following OCR languages:
SelectedOcrLanguage enum
  • Arabic -> ar (default)
  • Bosnian (Latin) -> bs-latn-ba
  • Bulgarian -> bg
  • Croatian -> hr
  • Slovenian -> sl
  • Czech -> cs
  • Hungarian -> hu
  • Polish -> pl
  • Russian -> ru
  • Danish -> da
  • Dutch -> nl
  • English -> en
  • Finnish -> fi
  • French -> fr
  • German -> de
  • Italian -> it
  • Norwegian -> nb
  • Portuguese -> pt
  • Romanian -> ro
  • Serbian (Cyrillic) -> sr-cyrl-rs
  • Serbian (Latin) -> sr-latn-rs
  • Slovak -> sk
  • Spanish -> es
  • Swedish -> sv
  • Greek -> el
  • Turkish -> tr
  • Chinese (Simplified) -> zh-Hans
  • Chinese (Traditional) -> zh-Hant
  • Japanese -> ja
  • Korean -> ko

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Select OCR language
; State: Enabled
; Supported on: At least Windows Server 2016 or Windows 10

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR]
"SelectedOcrLanguage"="ar"
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Select OCR language
# State: Enabled
# Supported on: At least Windows Server 2016 or Windows 10

$path = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\OCR'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'SelectedOcrLanguage' -Value 'ar' -Type String

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview