≡ Menu

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

Comments on this entry are closed.

  • Cassie February 10, 2011, 7:31 pm

    Awesome post. Exactly what I was looking for. thanks

  • Putneyboy April 14, 2011, 12:54 am

    Thanks for this, it triggered a memory of mine, you can quite simply backup all your GPOs using GPMC, then simply go to Manage Backups and you’ll see the GPO GUID in the display against the one you were probably looking for unless it was deleted.

    Saves having to remember a script

  • Sitaram Pamarthi April 14, 2011, 11:02 am

    Agree. The procedure you mentioned works if you want to do it manually. If you want to do this in your scripts/programs, then obviously you need to rely on some code. Thanks for your comments 🙂

  • Tom November 15, 2012, 7:54 pm

    Thanks, great article!

  • donny May 29, 2013, 7:30 am

    how can you put it as a script to run hundreds of GUID?