How to Join Windows Server Core to AD Domain (Active Directory Domain)

In this post, I will show you how to join Windows Server Core to AD domain using SConfig. If you’ve already installed Windows Server Core, it’s easy to connect it to an Active Directory domain. Using the SConfig command, you can join a Windows Server Core to an Active Directory domain.

The Windows Server Core option is a minimal installation option that is available when you deploy Windows Server. The majority of server roles are included in Server Core, but not all of them. Due to its smaller code base, the Server Core has a smaller disk footprint and, as a result, a smaller attack surface. To learn more about the server core, visit this link.

Let’s say you have Windows Server Core installed and want to add it to your AD domain. But before you join the server to the domain, you might want to rename this server. The SConfig utility will be used because a Server Core lacks a Desktop Experience GUI.

Here are some useful guides related to Windows server core:

Using SConfig to Join Windows Server Core to AD Domain

Here are the steps to use SConfig to join Windows Server Core to an Active Directory domain:

  • Login to the Windows Server core with local administrator account.
  • Type SConfig at the command prompt and press Enter.
  • From the list of options, choose Option 1 (Domain/Workgroup) by typing 1 and press ENTER.
  • To join the server to the domain, type D and press ENTER.
  • Specify the domain name and a valid user for this domain (domain\user). Type the user password when prompted.
  • Reboot the server.

Every organization has a computer naming scheme. Windows Server Core is given a random computer name when you install it. Using the SConfig utility, you can change the name of the computer when you join Server Core to an Active Directory domain. Type “SConfig” and press Enter.

Launch SConfig on Windows Server Core
Launch SConfig on Windows Server Core

On the Server Configuration windows, you’ll see a list of server management options. From the list of options, select type 2, which is typically used to change the computer name. Enter the new computer name for Server Core and press Enter. You see a pop-up asking you to restart the computer; click Yes.

Set Computer Name for Windows Server Core
Set Computer Name for Windows Server Core

Login to the server again and type SConfig to get to the Server Configuration screen. The computer name is now changed. To join the Windows server core to an Active Directory domain, type 1.

Join Windows Server Core to AD Domain
Join Windows Server Core to AD Domain

Now you see the option to Change Domain or Workgroup Membership, type D and press Enter. Specify the domain name and the authorized domain/user. The password for the domain account must be entered at a new command prompt that appears.

Join Windows Server Core to AD Domain
Join Windows Server Core to AD Domain

While joining the server core to the domain, you also get an option to change the computer name before restarting. Since we have already changed the computer name in the above step, click No.

Join Windows Server Core to AD Domain
Join Windows Server Core to AD Domain

After joining the Windows Server core to the AD domain, you must restart the server to finish the joining process. Click Yes to restart the server.

Join Windows Server Core to AD Domain
Join Windows Server Core to AD Domain

After the system reboots, login to the server and type SConfig. Now we see that the server core is joined to the AD domain. You can now log in to the server with domain credentials and manage other aspects of the server.

Join Windows Server Core to AD Domain
Join Windows Server Core to AD Domain

4 Comments

  1. I have a problem
    I cant type the password when i add the username
    What can i do?

  2. i have a problem
    I cant type the password when i add the username of my domain
    What can i do?

    1. It will show up in a new cmd-like windows (like a 3rd part), so just enter admin-username.

      But my issue is that I can’t join to the DC (the next step after PWD).

Leave a Reply

Your email address will not be published. Required fields are marked *