Re: Translating group policy GUID til DN

From: Darren Mar-Elia (dmanonymous_at_discussions.microsoft.com)
Date: 07/28/04


Date: Wed, 28 Jul 2004 07:14:29 -0700

Are you looking to do this programmatically? The DN of a GPO is simply the
GUID appended to the CN=policies,CN=system container within your domain. So,
for example if the GUID of a GPO is {0AE0B115-0581-4013-92D2-4DA33B273E3B},
then its DN is

CN={0AE0B115-0581-4013-92D2-4DA33B273E3B},CN=Policies,CN=System,DC=mydomain,
DC=com

where mydomain.com is the name of your domain.

-- 
Darren Mar-Elia
MS-MVP-Windows Management
http://www.gpoguy.com
"pdk" <anonymous@discussions.microsoft.com> wrote in message
news:5b8e01c474a8$161e9fd0$a401280a@phx.gbl...
> Hi
>
> Can someone give a hint on the possibility to translate a
> GPO GUID to DN.
> I had hoped that guid2obj.exe could do it but no luck
>
> My goal is to translate the GUID of a policy in %
> systempath%\sysvol\domain\policies\GUID
>
> Can somebody shed som elight on this one
>
>


Relevant Pages

  • Re: How to check a policy?
    ... to query the contents of a GPO programmatically to ask if a particular user ... is assigned to a particular policy. ... >> So do you get back any kind of GPO struct or just nothing? ... >>> GUID guid = ...
    (microsoft.public.win2000.group_policy)
  • Re: remove old GPO
    ... Look at the properties of the GPO within the GPMC and closely at it's GUID. ... Does that GUID number appear in SYSVOL? ...
    (microsoft.public.windows.group_policy)
  • Re: GPO Processing Error - Application log
    ... Windows cannot query for the list of Group Policy objects. ... How can I figure out what GPO this is related to as it only gives the GUID ...
    (microsoft.public.windows.server.active_directory)
  • Re: LogonScripts =?ISO-8859-1?Q?=FCber_Gruppenrichtlinien_la?= =?ISO-8859-1?Q?ufen_n
    ... ist auch die Angabe in der GPO! ... - WINS eintragen ... DNS kontrollieren ...
    (microsoft.public.de.german.windows.server.networking)
  • Re: Translating group policy GUID til DN
    ... I've seen info about this peppered throughout various GPO related docs. ... >>for example if the GUID of a GPO is {0AE0B115-0581-4013- ... >>Darren Mar-Elia ... >>> Can someone give a hint on the possibility to translate ...
    (microsoft.public.win2000.group_policy)