How to Add a Workstation to a Domain Via a CMD Line

How to Add a Workstation to a Domain Via a CMD Line thumbnail
A Windows domain provides access to shared network resources.

In a Microsoft Windows networking environment, a domain is a group of user and computer accounts that are associated with one another in order to be managed from a central resource. The central resource, or domain controller, provides access to network resources for the members of the domain according to security profiles maintained on the domain controller. To add a workstation to a domain using the command line, you can use the "NETDOM" command, but the procedure varies slightly depending on whether you are a domain administrator.

Instructions

    • 1

      Ask the domain administrator to create a computer account for your computer if you are not the domain administrator. Instruct the domain administrator to click "Start," "Run," and type "cmd." Tell the administrator to type "NETDOM /Domain:THEDOMAIN /user:admin /password:thepassword MEMBER THECOMPUTER /ADD" to add the computer account to the domain.

    • 2

      Click "Start," "Run" and type "cmd." Type "NETDOM /Domain:THEDOMAIN MEMBER THECOMPUTER /JOINDOMAIN" to add the computer to the domain if you are not the domain administrator and the administrator added the computer to the domain.

    • 3

      Click "Start," "Run" and type "cmd." Type "NETDOM /Domain:THEDOMAIN /user:admin /password:thepassword MEMBER THECOMPUTER /JOINDOMAIN" to add the workstation to the domain if you are the domain administrator.

Tips & Warnings

  • Microsoft warns that this solution has not been extensively tested in large installations. It cannot guarantee that these commands will accomplish the goal in all cases and in every type of network configuration.

Related Searches:

References

  • Photo Credit Hemera Technologies/AbleStock.com/Getty Images

Comments

You May Also Like

Related Ads

Featured