email

Tuesday, December 22, 2009

Resolve GPO GUID to GPO name

“I have a GPO GUID and want to know to which GPO this belongs to?”. If that is your question, you can happily use the below method.  For this you need to have “support tools” of Windows 2003.  You can get it from Microsoft Web Site as well. Alternatively, you can copy search.vbs from any machine where support tools package is installed.



cscript /nologo search.vbs "LDAP://dc=mydomain,dc=com" /C:"&(objectClass=groupPolicyContainer)(name={31B2F340-016D-11D2-945F-00C04FB984F9})" /P:displayName /S:SubTree


You can find more other alternatives ways at http://support.microsoft.com/kb/216359


Happy Learning..,
Sitaram Pamarthi


tags:how to find GPO name, GPO GUID to name resolution

4 comments:

  1. Why take such a pain? Use GPMC tool.

    ReplyDelete
  2. Can you tell me "how" you will do it using GPMC especially when you have thousands of policies in your environment?

    ReplyDelete
  3. With a 2003+ environment, you can right-click the forest and hit "Search", then change the condition to GUID. I didn't know it existed until today, it's pretty nifty.

    ReplyDelete
  4. Search item, not condition, sorry. =)

    ReplyDelete