Fix: Resource ‘$(string id=Win7Only)’ referenced in attribute Windows 10

Do you encounter Resource ‘$(string id=Win7Only)’ referenced in attribute displayName could not be found when open Group Policy editor in V1803 Windows 10? No problem, Microsoft has released a fix for the same with an explanation for this known issue. After getting Windows 10 April 2018 update, ADML and ADMX are automatically updated and cause to throw the error.

Policy Definition folder that is responsible handle the Group Policy editor includes multiple files. Windows 10 comes with a text update of SearchOCR.ADML (one of them) in V1803. The new ADML file misses the line <string id=”Win7Only”>Microsoft Windows 7 or later</string>. So after receiving the version users can’t open Group Policy Editor on their system as it uses to display the error message having the console in the background.  But it is so easy to fix this. See

Resource '$(string id=Win7Only)' referenced in attribute Windows 10

Resource ‘$(string id=Win7Only)’ referenced in attribute displayName could not be found Error in Windows 10 April 2018 update Solution

Here is how to fix Resource ‘$(string id=Win7Only)’ referenced in attribute displayName could not be found error –

Step-1: Press Win+R and run the shortcut command “C:\Windows\PolicyDefinitions\en-US\SearchOCR.adml”.

Step-2: Select Notepad to open the file. Save a backup of this SearchOCR.adml file on your computer.

Step-3: Click View menu and then check Status bar.

Resource '$(string id=Win7Only)' referenced in attribute Windows 10 image 1

Step-4: Go to line 26 and put your cursor here and make an Enter so that the line may become blank.

Step-5: Paste <string id="Win7Only">Microsoft Windows 7 or later</string> in the blank line and save the file.

Resource '$(string id=Win7Only)' referenced in attribute Windows 10 image 2

Note: The Windows 10 fix is for the United States English version (en-US) but the Other languages have similar steps.

Was that not easy?

In fact, there were 2 ways to fix Resource ‘$(string id=Win7Only)’ referenced in attribute displayName could not be found Error in Windows 10 April 2018 update –

1. Add the cut out string to the 1803 Windows 10 of SearchOCR.adml.

2. Copy the SearchOCR.admx of earlier  Windows 10 edition v1511 to the computer. This file of Group Policy editor (gpedit) was not updated after Windows 10, version 1511 up to the Windows 10, version 1803 deliverance.

Sharing is caring    Share Whatsapp

 
Topics:  Windows
  
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.