Check the integrity of the searchocr.admx file. It might be corrupted. You can use the System File Checker (SFC) tool to scan and repair corrupted system files:
a. Open a Command Prompt with administrator privileges.
Run the commands:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
If you have access to a healthy Windows system with the same version, you can copy the searchocr.admx file from that system to your problematic system.