Solved

obtain the GUID of an Organizational Unit

Posted on 2009-03-31
4
928 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

809 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