?
Solved

What OU a computer or user is in?

Posted on 2004-08-24
10
Medium Priority
?
261 Views
Last Modified: 2010-03-18
Okay.  I'm having a major brain fart here.  Regarding a Windows 2003 domain, can someone tell me how to search for what OU a particular computer or user is in.  I'm trying to figure out what site a particular computer is at.  If I knew the name of the OU it was in I could tell right away.  Thanks.
0
Comment
Question by:mb2010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 15

Expert Comment

by:adamdrayer
ID: 11883228
GPResult will tell you.  There is probably a more specific way though.
0
 

Author Comment

by:mb2010
ID: 11883505
I’m not familiar with this tool.  What switches do I need to use to get information on the remote computer?  So far, I’m only getting GP info on the machine I’m running it from.
0
 
LVL 15

Expert Comment

by:adamdrayer
ID: 11883626
oh I'm sorry I misunderstood.  you would like to search through AD Users and Computers for a particular machine?  what do you know?  the computer name?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mb2010
ID: 11883647
Yes. I know the computer name.  I want to find what OU the computer is in.
0
 
LVL 15

Expert Comment

by:adamdrayer
ID: 11883696
If you are in "Active Directory Users and Computers" you can click "Action -> Find..."

Find <ComputerName> in "Entire Directory"

Then when it is found, you can double-click it and select the "object" tab.  That should tell you.
0
 

Author Comment

by:mb2010
ID: 11885153
There is no "object" tab when I double click on the computer name.  The only tabs are General, Operating System, Member Of, Delegation, Location, Managed By, and Dial-in.  None of them have the "object" tab or tell me anything about OU name.
0
 
LVL 15

Expert Comment

by:adamdrayer
ID: 11885225
What happens if you right-click it?  do you get an option for Name Mappings?
0
 

Author Comment

by:mb2010
ID: 11887395
Delete, Disable Account, Reset Account, Move, Manage, Properties.  No option for Name Mappings.
0
 
LVL 15

Accepted Solution

by:
adamdrayer earned 375 total points
ID: 11887591
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B322684#26

try "dsquery computer -name <computername>"
0
 

Author Comment

by:mb2010
ID: 11887733
Perfect.  Thank you!!  :-)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

800 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