Error when you open Local Group Policy Editor

When you try to open Local Group Policy Editor (gpedit.msc), you may receive the following error message: According to Microsoft, this is a known issue. There are text updates in the previous Windows 11/10 version of SearchOCR.ADML. However, when the changes were made, the line below was cut out of the new ADML: 1] To resolve this issue, it is recommended you update to the latest version of Windows 11/10 via Windows Update or upgrade using the Windows 10 ISO. 2] Alternatively, you can download the updated ADMX package for your version of Windows 10 – and then, use the updated SearchOCR.ADMX and SearchOCR.ADML files from it. 3] To work around the issue, you can manually tweak the SearchOCR.adml file. Here’s how: Navigate to the file location below: C:\Windows\PolicyDefinitions\en-US Locate and make a backup copy of SearchOCR.adml file in case that you make a mistake editing the file. Open the file in a text editor – preferably Notepad++. Locate Line 26. Click to place your cursor on Line 26. Now press the CTRL + ALT + Enter key combo to add a blank line. Line 26 should now be blank. On the blank Line 26 copy and paste the text below: Press CTRL + S key combo to save the file.

Exit Notepad++. The procedure above is for the United States English version. Other languages will have similar instructions to mitigate this gpedit.msc error. We hope that this post helps you resolve the issue. Read next: How to repair a corrupt Group Policy in Windows 11/10.