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.

Install and Update Third Party Applications with Patch My PC
Install and Update Third Party Applications with Patch My PC

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

Still Need Help?

If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.

Prajwal Desai

Prajwal Desai is a technology expert and 10 time Dual Microsoft MVP (Most Valuable Professional) with a focus on Microsoft Intune, SCCM, Windows 365, Enterprise Mobility, and Windows. He is a renowned author, speaker, & community leader, known for sharing his expertise & knowledge through his blog, YouTube, conferences, webinars etc.