To join a computer to a domain you have several possibilities:
- By graphical interface
- Command Line (CMD, PowerShell)
- 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.
6. Enter the credentials of a domain administrator account and validate.
7. Validate the Welcome message in the field.
8. Restart your computer.
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.