Enables administrators to manage Active Directory domains and trust relationships from the command prompt.

Netdom is a command-line tool that is built into Windows Server 2008 and Windows Server 2008 R2. It is available if you have the Active Directory Domain Services (AD DS) server role installed. It is also available if you install the Active Directory Domain Services Tools that are part of the Remote Server Administration Tools (RSAT). For more information, see How to Administer Microsoft Windows Client and Server Computers Locally and Remotely (http://go.microsoft.com/fwlink/?LinkID=177813).

To use netdom, you must run the netdom command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then clickRun as administrator.

You can use netdom to:

  • Join a computer that runs Windows XP Professional, Windows Vista, or Windows 7 to a Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows 2000, or Windows NT 4.0 domain.�
    • Provide an option to specify the organizational unit (OU) for the computer account.�
    • Generate a random computer password for an initial Join operation.
  • Manage computer accounts for domain member workstations and member servers. Management operations include:�
    • Add, Remove, Query.�
    • An option to specify the OU for the computer account.�
    • An option to move an existing computer account for a member workstation from one domain to another while maintaining the security descriptor on the computer account.
  • Establish one-way or two-way trust relationships between domains, including the following kinds of trust relationships:�
    • From a Windows 2000, Windows Server 2003, Windows Server 2008, or Windows Server 2008 R2 domain to a Windows NT 4.0 domain.�
    • From a Windows 2000, Windows Server 2003, Windows Server 2008, or Windows Server 2008 R2 domain to a Windows 2000, Windows Server 2003, Windows Server 2008, or Windows Server 2008 R2 domain in another enterprise.�
    • Between two Windows 2000, Windows Server 2003, Windows Server 2008, or Windows Server 2008 R2 domains in an enterprise (a shortcut trust).�
    • The Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, or Windows 2000 Server half of an interoperable Kerberos protocol realm.
  • Verify or reset the secure channel for the following configurations:
    • Member workstations and servers.�
    • Backup domain controllers (BDCs) in a Windows NT 4.0 domain.�
    • Specific Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, or Windows 2000 replicas.
  • Manage trust relationships between domains, including the following operations:
    • Enumerate trust relationships (direct and indirect).
    • View and change some attributes on a trust.

[yframe url=’http://www.youtube.com/watch?v=YZmaVLaatY4′]

Tags

Comments are closed