Solved

obtain the GUID of an Organizational Unit

Posted on 2009-03-31
4
923 Views
Last Modified: 2012-05-06
I need the GUID of an OU. I know what the DN of the OU is, and I can locate it in ADUC, but i can't locate the GUID.
0
Comment
Question by:TWCMIL
  • 2
4 Comments
 
LVL 16

Expert Comment

by:speshalyst
ID: 24033581
look for Establish the Distinguished Name and GUID of an Object  at the URL below
http://technet.microsoft.com/en-us/library/bb727062.aspx#E0MC0AA
 
hope it helps
0
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 24034432
I really like using a great tool called adfind by MVP Joe Richards for this
http://www.joeware.net/freetools/tools/adfind/index.htm
For example if my OU is called Testusers
adfind -default -f " ou=Testusers"   objectguid
Thanks
Mike
 
0
 
LVL 1

Author Closing Comment

by:TWCMIL
ID: 31565055
I've not tested this solution, as my request just became no longer relevant. I'm giving credit since, without testing, it is the correct answer to my question.
0
 
LVL 1

Author Comment

by:TWCMIL
ID: 24143516
I've not tested this solution, as my request just became no longer relevant. I'm giving credit since, without testing, it is the correct answer to my question.

The first post pointing to: http://technet.microsoft.com/en-us/library/bb727062.aspx#E0MC0AA,
while good info, i could not find how to locate an OU GUID, other object types, yes...but not OU's
0

Featured Post

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now