Compartilhar via


Find a domain controller

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To find a domain controller

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. Open Active Directory Users and Computers.

  2. In the console tree, right-click any node or folder, and then click Find.

    Or, if you know which folder contains the domain controller, right-click that folder to narrow the search to that folder.

  3. In Find, click Computers and in Role, click Domain Controller.

    If you do not know which folder contains the domain controller, in In, click the domain you want to search or click Entire Directory.

  4. Click Find Now.

Notes

  • Performing this task does not require you to have administrative credentials. Therefore, as a security best practice, consider performing this task as a user without administrative credentials.

  • To open Active Directory Users and Computers, click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Users and Computers.

  • Use the Advanced tab for more powerful search options.

  • To find a computer, you can also click

    Find objects in Active Directory on the toolbar.

Using a command line

  1. Open Command Prompt.

  2. Type:

    dsquery serverParameter

Value Description

Parameter

There are several attributes of a server that you can search by using this command. For the list of parameters, see Dsquery.

Notes

  • Performing this task does not require you to have administrative credentials. Therefore, as a security best practice, consider performing this task as a user without administrative credentials.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Directory service command-line tools
Working with MMC console files
Finding directory information
Command-line reference A-Z