Group Policy

I want to check Group Policy to see where in the registry on the client's PCs this is being deployed. Can I check this in the Sysvol folder where the GPO settings are stored?

I am familiar with GPresult and RSoP, but I want to know can this be done from the Sysvol Folder.
LVL 15
JamesSenior Cloud Infrastructure EngineerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Krzysztof PytkoConnect With a Mentor Senior Active Directory EngineerCommented:
It is possible but it's a little tricky :)

Open GPMC and edit that particular GPO. Select Administrative Templates and click on it right mouse button, choose "Add/Remove Templates". You should see window with Administrative Templates (*.adm files)

By default in each GPO you will find:

- conf
- inetres (Internet Explorer settings)
- system (System settings)
- wmplayer (Windows Media Playes)
- wuau (if WSUS is present)

and additional if you added them there.

Notice policy name under GPO you want to find and write it down. Now, locate this GPO's GUID and go to SYSVOL folder to ADM folder. Edit particular ADM file in notepad and search for written policy name.

In Windows default templates, Microsoft used variables, so when you find that string on the left is its variable name. Look this variable in template (POLICY section) and locate KEYNAME and VALUE sections. KEYNAME is a registry hive and VALUE is value in particular registry key. In custom ADM files probably you have no variables, so you can identify KEYNAME and VALUE from direct POLICY section.

If you have more questions let me know. I would try to prepare guide for you :]


Krzysztof PytkoSenior Active Directory EngineerCommented:
Check this MS article about "How to check GPO's GUID" and the look for this string using F3 in registry

JamesSenior Cloud Infrastructure EngineerAuthor Commented:
Thanks Krzysztof but its not really what I'm looking for. Let me try to explain more clearly. If I create a new GPO, say for example restricting users from using usb keys so they can't transfer information. I know that the new GPO will have a GUID and that will be in Active Directory Container folder for GPOs.

Say for example I want to disable the GPO on a 1 client's PC, I can do this by editing the registry of the GPO on client,s machine.

From the Sysvol is there a way of checking the GPO to see where the GPO will target the registry on the client's PCs.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Darius GhassemCommented:
No, since some GPOs don't edit registry. What the best way to stop gpo from applying to Windows Users or Computers is to use GPO Security Filtering

So, basically you can't find out from SYSVOL exactly where in the registry that a GPO will be applied.
Krzysztof PytkoSenior Active Directory EngineerCommented:
Yup, Darius is right. The only one way for that is Group Policy Security Filtering. Most of the GPO settings are not stored in the registry. Only settings from "Administrative Templates" modify clint's registry (and they could be located in appropriate hives).

JamesSenior Cloud Infrastructure EngineerAuthor Commented:
What I want is to manually disable the GPO from a Client's PC so I don't have to do this in the Group Policy Filtering. I have done this before by editing the registry temporarily so a certain could use a USB key.

With registry based GPOs, I thought there was a way you could check the settings of the GPO to see where the GPO targets the registry. I was sure you could do this from the Sysvol folder.
JamesSenior Cloud Infrastructure EngineerAuthor Commented:
Thank you for you help Krzysztof.

Krzysztof PytkoSenior Active Directory EngineerCommented:
You're welcome :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.