Question

Please take a look at this screenshot (gpedit.msc) of local group policy settings on my computer:

enter image description here

Is there any way to retrieve user-friendly (localized) group policy names (circled in the screenshot above) from a C++ program (or maybe using WMI)?

Was it helpful?

Solution

According to Managing Group Policy ADMX Files Step-by-Step Guide you can find, on your W2K8 server, in the file C:\Windows\PolicyDefinitions\Desktop.admx an XML description of what is circled in the screenshot above. You can link the description and help tag of this file with C:\Windows\PolicyDefinitions\Desktop.adml an XML-based ADM files that contain language-specific settings.


Edited

To parse XML in C++ I use to use these two libraries :

  1. XMLLite
  2. TinyXML
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top