Encountered an error when start gpedit.msc

When I start local group policy editor an error message pops up:

Encountered an error while parsing.

Resouce
'$(string.IP_Stateless_Autoconfiguration_Limits_State)' referenced in attribute displayName could not be found.

File C:\Windows\PolicyDefinitions\tcpip.admx, line 202, column 315

How to solve this?

 

Question Info


Last updated October 6, 2019 Views 6,237 Applies to:
Answer
Answer

Group Policy Editor uses ADMX files and it sounds like at least one of yours is corrupted.

The files are usually located here (assuming Windows is installed in the Windows folder on your C drive):

C:\Windows\PolicyDefinitions

The files are just XML files and how it got corrupted I have no idea but they can be replaced.

If you are seeing stuff like this:

Perhaps just replacing the one file is all you need so there is a copy of the tcpip.admx file on my OneDrive:

https://onedrive.live.com/?id=A8C24A4BD70DC25C!107&cid=A8C24A4BD70DC25C

You may need to take ownership of the current file to replace it and here's one way to do that:

http://www.winhelponline.com/blog/take-ownership-of-file-or-folder/

Before replacing the suspicious file you may want to rename/copy it someplace safe "just in case".

Note that running sfc  /scannow will NOT replace a corrupted ADMX file. 

How do I know? 

I corrupted my tcpip.admx file on purpose to recreate this problem and ran sfc  /scannow and the corrupted file was not replaced.

If the problem is more widespread with multiple corruptions, there is a way to download install ALL the GPE files from

this link:

https://www.microsoft.com/en-us/download/details.aspx?id=6243

This download includes all languages and lots of files that you might not need on your installation.

Replacing your suspicious files this way is possible but a little more complicated to only get the stuff you are really interested in and if I was sufficiently enchanted I might be able to explain it.

The mediocre teacher tells. The good teacher explains. The superior teacher demonstrates.

2 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.