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

add-computer –domainname mondomain.local -Credential MONDOMAINE\administrateur -restart –force

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


Setting up a read-only domain controller – RODC
Introduction In this article, we are going to have how to set up a read-only domain controller (RODC). This type of controller, as the name suggests, is read-only, so it can not change user attributes or even add objects. There are several implementa

Active Directory Right Management Services: Installation and Configuration
AD RMS (Active Directory Right Management) is a Windows Server service that provides extended rights management for certain files. The system is similar to the DRM protection that protects intellectual property. In internal use, AD RMS extends NTFS s

GPO: Make users administrator of their post
Presentation In this tutorial, we are going to have how to set up a GPO to make the admin domain users of their post. The goal is to add the Domain Users group in the Administrators 1 group of the user station. The Domain Admins group is already a me

Leave a Comment