Error when you open Local Group Policy Editor in Windows 10

Error when you open Local Group Policy Editor in Windows 10

In today's post, we will try to resolve the error message The resource $ (string id = "Win7Only)" referenced in the displayName attribute could not be found that you might come across when trying to open gpedit.msc in Windows 10.

Error when opening local group policy editor

When you try to open the Local Group Policy Editor (gpedit.msc), you may receive the following error message:

The resource $ (string id = "Win7Only)" referenced in the displayName attribute could not be found

according to Microsoft, This is a known problem. There are text updates in the previous version of Windows 10 from SearchOCR.ADML. However, when the changes were made, the following line was removed from the new ADML:

Microsoft Windows 7 or later

1) To resolve this issue, it is recommended to update to the latest version of Windows 10 via Windows Update or upgrade using ISO Windows 10.

2) Alternatively, you can download the updated ADMX package for your version of Windows 10 – then use the update RechercherOCR.ADMX and RechercherOCR.ADML files from her.

3) To work around the problem, you can manually edit SearchOCR.adml file.

Here's how:

Navigate to the location of the file below:

C: Windows PolicyDefinitions en-US

Locate and back up the SearchOCR.adml file in case you make a mistake while 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 CTRL + ALT + Enter combo of keys to add a blank line. Line 26 should now be empty.

On the blank line 26, copy and paste the text below:

Microsoft Windows 7 or later

hurry CTRL + S combo of keys to save the file.

Quit Notepad ++.

The above procedure concerns the English version of the United States. Other languages ​​will have similar instructions to alleviate this problem gpedit.msc Fault.

We hope this message will help you resolve the problem.

Read more: How to fix a corrupted group policy in Windows 10.

Leave a Reply