Locating Objects in Active Directory

Locating Objects in Active Directory

Objects in AD can be traced using two methods.

  • 1. The DSquery command line tool
  • 2. The Find dialogue box in ADUC console

DSquery is a directory service search command-line tool. It can be used with appropriate parameters to search objects in Active Directory.

The following are a list of various parameters that can be used with Dsquery and their purpose.

  • DSquery user – To find a user
  • DSquery contact –To find a contact
  • DSquery group – To find a group
  • DSquery computer – To find a computer
  • DSquery OU – To find an OU
  • DSquery site – To find a site
  • DSquery subnet – To find a subnet
  • DSquery server – To find a server
  • DSquery partition – To find partition objects
  • DSquery quota – To find quota specifications
  • DSquery – To find any object using a generic LDAP query.
DSQuery to locate OU in Active Directory

The figure above shows the resultant set for a Dsquery to locate OUs.

Alternatively you can also use the Find dialogue box from ADUC.

Listed below are the steps you can follow to use Find dialogue box.

  • Start ->Administrative tools ->Active Directory Users and Computers (ADUC)
  • In ADUC console tree right click the container object in which the search should be made
  • choose Find from the shortcut menu
  • The Find dialog box appears with in which you should choose the object type to be searched and the container on which the search should be carried
Find Users Groups Contacts in Active Directory

Find dialogue box

  • You can use the advanced tab to streamline the search
  • Clicking on the advanced tab will pop a dialogue box as shown below
Search Users Groups Contacts in Active Directory

Find dialogue box(advanced)

  • choose the attribute to search in the field list box
  • Use the conditions drop down list box to refine your search
  • Value for the conditional search can be given in the value box
  • Use the add button to add more conditions on the search
  • Finally click find ->the search results will be displayed from which you can identify the object.
    • Related Articles

    • Active Directory Objects

      Objects are the building blocks of an Active Directory environment. Watch this video to get a brief idea on Active Directory objects, the different types of objects, along with their properties and permissions. ​ ​
    • Active Directory Objects

      Real-world entities such as users, computers are represented as objects in Active Directory. Objects are the fulcrum for the very existence of Active Directory. One important aspect with respect to object characteristics is that some of the objects ...
    • Active Directory Objects List

      Objects are the fulcrum of Active Directory. The ease of an organization’s resource management comes from the fact that objects give AD a modular structure. Introduction The individual components of an organization’s network are called objects in ...
    • Active Directory User objects

      A user object in AD is used to represent a real user in an organizational network environment. Say for example Joshua is a new employee in my organization, and I need to allow him accesses to various resources of the organization. All I have to do to ...
    • Creating objects in Active Directory

      You can create objects in Active Directory by using the Active directory users and computers console. Start -> Administrators tools -> Active Directory users and computers. On the Active Directory users and computers console, right click on the ...