[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

What OU a computer or user is in?

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
mb2010
Asked:
mb2010
  • 5
  • 5
1 Solution
 
adamdrayerCommented:
GPResult will tell you.  There is probably a more specific way though.
0
 
mb2010Author Commented:
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
 
adamdrayerCommented:
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
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
mb2010Author Commented:
Yes. I know the computer name.  I want to find what OU the computer is in.
0
 
adamdrayerCommented:
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
 
mb2010Author Commented:
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
 
adamdrayerCommented:
What happens if you right-click it?  do you get an option for Name Mappings?
0
 
mb2010Author Commented:
Delete, Disable Account, Reset Account, Move, Manage, Properties.  No option for Name Mappings.
0
 
adamdrayerCommented:
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B322684#26

try "dsquery computer -name <computername>"
0
 
mb2010Author Commented:
Perfect.  Thank you!!  :-)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now