Solved

finding user in AD

Posted on 2010-08-19
9
254 Views
Last Modified: 2012-05-10
the AD has many directories and sub directories with literally 1000s of name.

if i know the account name of the user,is there a command to find out quickly which folder/directory that user is located under?

thanks
0
Comment
Question by:anushahanna
9 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 63 total points
ID: 33475662
0
 
LVL 24

Assisted Solution

by:Mike Thomas
Mike Thomas earned 125 total points
ID: 33475663
yes right click the domain level in AD users and Computers and select find, then type the user name or part of it etc
0
 
LVL 24

Assisted Solution

by:Mike Thomas
Mike Thomas earned 125 total points
ID: 33475671
Oh and if you enable the advanced view rom the menu it will give you the "Object" tab, so you can find which OU the object is in.


0
 
LVL 39

Assisted Solution

by:Krzysztof Pytko
Krzysztof Pytko earned 63 total points
ID: 33475764
type in command line

dsquery user -name "<username>"

or if you have his/her login

dsquery user -samid <login>

it will return distinguished name

cn=user name
ou= in which ou this account is located
dc= domain hwre this user resides
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 57

Assisted Solution

by:Mike Kline
Mike Kline earned 125 total points
ID: 33475995
Another really cool tool is adfind by Joe Richards

http://www.joeware.net/freetools/tools/adfind/index.htm

he has a great shortcut for users

adfind -sc u: dn

want a computer

adfind -sc c:

a group...you get the idea

adfind -sc g:

Thanks

Mike
0
 
LVL 2

Assisted Solution

by:LTCexpert
LTCexpert earned 62 total points
ID: 33476544
Right Click the domain and the "find" the user. The click choose colums from view menu and choose published at. this will show you the OU your user is in.
0
 
LVL 4

Assisted Solution

by:Gavincr001
Gavincr001 earned 62 total points
ID: 33476839
On AD users and computers switch on view, Advanced
Then search for your user using find, once you see the name you can right click and choose name mappings then you'll see the OU path.
0
 
LVL 57

Assisted Solution

by:Mike Kline
Mike Kline earned 125 total points
ID: 33476884
If you want to do it via the GUI you can also make things easier by adding columns.  See this blog entry from Mark
http://markparris.co.uk/2010/03/09/so-youve-found-the-objects-in-your-active-directory-but-where-exactly-are-they/
So you’ve found the objects in your Active Directory, but where exactly are they?
 
...command line will impress your coworkers though :)
Thanks
Mike
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33477134
very helpful. thanks.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
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.
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…
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 to another domain controller. Log onto the new domain controller with a user account t…

867 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

22 Experts available now in Live!

Get 1:1 Help Now