319 words
2 min read

Join Windows Server 2019 Server Core to a Domain: One PowerShell Line

By · Docker Captain · CNCF Ambassador · IBM Champion
Cover image for the post 'Join Windows Server 2019 Server Core to a Domain'

This article is for those looking for a detailed and clear guide on how to join Windows Server 2019 Server Core to a Domain.

IMPORTANT

We will consider the case when you already have two servers with the Windows Server 2019 operating system installed on them. In addition, one of the servers must have the Active Directory Domain Services role installed.

You can read more about how to install Windows Server 2019 in my guide Install Windows Server 2019 Server Core.

IMPORTANT

To learn how to install Active Directory Domain Services on Windows Server 2019, read: Install Active Directory Domain Services on Windows Server 2019.

To learn how to install Active Directory Domain Services on Windows Server 2019 Server Core (without a GUI), see my guide: Install Active Directory Domain Services on Windows Server 2019 Server Core.

IMPORTANT

Before joining a server to a domain, you must give the server a correct name according to your organization’s standards, and then assign a static IP address, subnet mask, gateway, and the IP address of the domain controller as a DNS server in the network interface settings.

We go into the system under an account with administrator rights and start Windows PowerShell using the command:

Terminal window
powershell

Join Windows Server 2019 Server Core to a Domain - Step 1

NOTE

In this guide, the server joins the heyvaldemar.net domain using an Administrator account that has domain administrator rights.

Join the server to the domain using the command:

Terminal window
Add-Computer -DomainName heyvaldemar.net -Credential heyvaldemar\Administrator -Restart -Force

Join Windows Server 2019 Server Core to a Domain - Step 2

Specify the password for an account with domain administrator rights and click on the “OK” button.

Join Windows Server 2019 Server Core to a Domain - Step 3

After a reboot, the server will apply the security policies used in your domain.

Join Windows Server 2019 Server Core to a Domain - Step 4

After applying the security policies, the server will be ready to work.

Join Windows Server 2019 Server Core to a Domain - Step 5


Vladimir Mikhalev

Docker Captain  ·  CNCF Ambassador  ·  IBM Champion

The Verdict — production-tested analysis on YouTube.

The Verdict

Inconvenient truths about shipping in the AI era

Container security, platform engineering, and the agentic shift — tested in production, argued without the hype. The verdict reaches your inbox the moment there's one worth sending.

Related Posts

Same category
  1. 1
    Recovering a Corrupt Exchange Database with Stellar Repair — Real-World Lab Test
    SysAdmin & IT Pro · We deliberately broke an Exchange 2019 server to test Stellar Repair on a dirty-shutdown EDB file. The recovery process, lab setup, and lessons learned.
  2. 2
    Terminal, Shell, Command Line, Prompt: Four Words, Four Things
    SysAdmin & IT Pro · The terminal is the window, the shell runs your commands, the prompt says it is ready, the command line is the idea. Plain definitions, examples, a cheat sheet.
  3. 3
    Install Ubuntu Server 22.04 LTS
    SysAdmin & IT Pro · Step-by-step guide to install Ubuntu Server 22.04 LTS. Covers language, disk setup, OpenSSH, user creation, and system configuration for beginners.
  4. 4
    Install OTRS on Ubuntu Server
    SysAdmin & IT Pro · Guide to installing OTRS Community Edition on Ubuntu Server — configure PostgreSQL, Apache, and SSL with Let's Encrypt, and launch OTRS securely.

Random Posts

Random
  1. 1
    The Senior Engineer Signal: The 2026 Risk Your Velocity Metrics Hide
    Opinion & Culture · Juniors get the biggest boost from AI; seniors trust it least. That split is your earliest read on engineering risk, and on the talent you're about to lose.
  2. 2
    Update Kernel in Ubuntu
    SysAdmin & IT Pro · Learn how to safely update the Linux kernel in Ubuntu using Terminal and .deb packages. Step-by-step guide for system administrators and Linux users.
  3. 3
    Install Ghost Using Docker Compose
    Self-Hosting · Install Ghost with Docker Compose and Traefik, complete with Let's Encrypt SSL. Launch a secure, self-hosted blogging platform in just a few steps.
  4. 4
    Install Nextcloud Using Docker Compose
    Self-Hosting · Complete guide to installing Nextcloud with Docker Compose and Traefik. Learn to deploy your own secure file sharing and collaboration cloud with HTTPS.
Join Windows Server 2019 Server Core to a Domain: One PowerShell Line
https://heyvaldemar.com/join-windows-server-2019-server-core-to-a-domain/
Author
Vladimir Mikhalev
Published
2019-09-06
Updated
2026-11-05
License
CC BY-NC-SA 4.0