Join a computer to an Active Directory domain

To join a computer to a domain you have several possibilities:

  • By graphical interface
  • Command Line (CMD, PowerShell)

Prerequisites

  • be an administrator on the local workstation.
  • have an account on the domain (preferably administrator).
  • at the network configuration level, have dns a domain controller.

By the graphical interface

1. Open Windows Explorer.

2. Right-click on This PC and press Properties 1.

3. Click Change settings.

4. Click Edit 1.

join domain computer

5. Enter the domain name 1 and click OK 2.

join domain computer

6. Enter the credentials of a domain administrator account and validate.

7. Validate the Welcome message in the field.

8. Restart your computer.

In PowerShell

1. Open the PowerShell Command Prompt as Administrator

2. Enter the following line adapting to your situation

3. Validate your order with [Enter].

4. Enter the account password in the login window.

5. The computer will join the domain and restart automatically.





Related Posts


DNS configuration of a redirector

Table Of ContentsPresentationConfigure a DNS forwarder Presentation When setting up a DNS server on Windows Server, it may be necessary to configure one or more DNS forwarders to public servers to res

Active directory: Delete a child domain

In the article Active directory: setting up a child domain where I explain how to configure a child domain in an Active Directory environment, I will explain here how to delete a child domain. As a re

Active Directory : add a UPN suffix

SummaryPresentationAdd a UPN suffixAssign the suffix to a user accountConsole : Users and Computers Active Directory Active Directory Administration Center : ADACUPN suffix routingRouting when setting