After you import Windows 1803 ADMX files, you’ll get an error about ‘searchocr.admx’:
Resource ‘$(string.Win7Only)’ referenced in attribute displayName could not be found.
File %path_sysvol%\…\Policies\PolicyDefinitions\searchocr.admx, line 12, column 69
It appears that the Windows 1803 ADMX files do contain a newer version of the ‘SearchOCR.adml’ file, but not of the ADMX itself, which breaks the functionality. Although editing the ADML file can solve the issue, here some other options:
- Copy back the ADML from your backup (you backup your ‘PolicyDefintions’ prior updating, right?)
- Copy the ADML from Windows 1511 ADMX files
- Install ‘Windows TIFF IFilter’ (TIFFIFilter) on a Windows10/Server 2016 and fetch the ADMX/ADML from there
- Remove both the ADMX and ADML at once if you haven’t got GPO’s for Windows TIFF Filter
According to a post somewhere there are some other ‘orphaned’ ADML files as well, need to have a closer look at those later.
Microsoft published a KB for this on May 22, 2018.
References
“Resource ‘$(string id=Win7Only)’ referenced in attribute displayName could not be found” error when you open gpedit.msc in Windows
https://support.microsoft.com/en-us/help/4292332/error-when-you-open-gpedit-msc-in-windows
How to fix SearchOCS.ADMX Error after upgrade to Windows 1803 ADMX files
https://www.grouppolicy.biz/2018/05/how-to-fix-searchocs-admx-error-after-upgrade-to-windows-1803-admx-files/
Administrative Templates (.admx) for Windows 10
https://www.microsoft.com/en-us/download/details.aspx?id=48257