Sunday, June 7, 2020

Group Policy Encountered an Error While Parsing

Group Policy, by which all policies contained within the computer can be edited.  All these policies are stored in the computer as an ADMX file. So, when we edit a policy using the group policy editor, these ADMX files are basically edited. When the group policy editor is opend, it's reads all ADMX files. If an ADMX file cannot be read, an error message is conveyed to it. For example, the group policy editor cannot read the "Inetres.admx" file, which works for the administrative template. Then it show the error message below.




This means that, the "inetres.admx" file has become corrupt. Now this corrupted file has to be replaced by another copy. We can download this file from internet or we can copy it from another computer. However, it is better to download. 

"Inetres.admx" file is a system file. So, before replacing, we must take ownership of this file. In this case, it is better to keep the corrupted file as a backup file than to delete or replace it completely. If something goes wrong after the replace, then we can return to the previous situation from that backup file. 

We will now try to do this for windows 7. The process is the same for all windows version. In that case, just download the corrupted file as like as that windows version.

Which ADMX file is become corrupt, we will only download that file. We can restore any ADMX file in the same manner. The error message will show the name as well as path of the corrupted ADMX file. Just like the following:-





The location of all ADMX files are within the "PolicyDefinations" folder inside the windows drive. Such as :- C\Windows\PolicyDefinitions.


Now we will do the whole processes. At first, download the inetres.admx file from the internet using google. 




Here, I was mention the windows version. We can download all ADMX file from the "Microsoft" website. After downloading extract the zip file. Now replace the file from that location. Remember, you have to taken ownership of that file to replace it. It's better also replace the ADML file, which you will get from that downloaded folder. Basically this file is for langues. You will get many langues folder from that downloaded folder. Just like the below:-



Here we will select "en-us" for our example. Because our installation langues is English. Inside this folder we will get ADML file. Copy an replace it with the "C:\Windows\PolicyDefinitions\en-us" folder. Again, you have to take the ownership to replace it.

That's all. Now open group policy editor again. This time you shouldn't get any error message.

No comments:

Post a Comment