So you’ve found the objects in your Active Directory, but where exactly are they?

Have you ever gone to Active Directory and searched for an object, found it, but then still did not really know where it is, as the results returned are not helpful, beyond proving that is exists?

This little tidbit may help.

So you have gone into Active Directory and in the Europe OU, you need to find a user called Mark who was dragged and dropped on to the wrong OU.

clip_image001

You right click on the Europe OU and select Find

clip_image002

Enter Mark in the Name Field and Click Find Now

The results return: Four Mark’s but which one is where?

clip_image003

Select View. Select Choose Columns.

clip_image004

Scroll down to Published At, Highlight it.

Select Add

clip_image005

Select OK

clip_image006

Voila, the results are now returned detailing the OU location for each user. This is a very crude example of how this feature could be used and I hope it helps as it saves me hours every week.

2 thoughts on “So you’ve found the objects in your Active Directory, but where exactly are they?

  1. Very nice. I came here thinking that you were going to highlight the View -> Advanced (I think that’s where it is, anyway) feature to show the Object tab of the User/Computer account but this is much better.

    In addition to Joe’s excellent adfind utility, here’s how to do the same with the ‘dsquery’ tool:

    dsquery user -name *mark* -limit 0 -s nameofyourDC

    The -limit 0 will not limit your output to dsquery’s default of 100 but will show all user accounts with ‘mark’ in their name.

    -s server let’s you specify which DC to query. In my environment there is a slight lag between our DCs and it seems that every time I open my custom MMC it chooses to join the slowest DC in our network. This will let you quickly query the DC from which you made your change so you are sure to get the most accurate results.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s