Re: Translating group policy GUID til DN

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

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


Date: Wed, 28 Jul 2004 10:15:34 -0700

I've seen info about this peppered throughout various GPO related docs.
There's also this article that I found:

http://support.microsoft.com/default.aspx?scid=kb;en-us;216359

-- 
Darren Mar-Elia
MS-MVP-Windows Management
http://www.gpoguy.com
"pdk" <anonymous@discussions.microsoft.com> wrote in message
news:5e8301c474bd$0e1c1960$a501280a@phx.gbl...
>
> Perfect !!
>
> I will try this out and let you know the result.
>
> BTW are there other arewas where this solutions is
> represented.
> Futhermore any whitepapers on this that I have missed ??
>
> >-----Original Message-----
> >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: Translating group policy GUID til DN
    ... The DN of a GPO is simply the ... GUID appended to the CN=policies,CN=system container within your domain. ... for example if the GUID of a GPO is, ... > Can someone give a hint on the possibility to translate a> GPO GUID to DN. ...
    (microsoft.public.win2000.group_policy)
  • 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)