Configure a Server Core installation of Windows Server 2016 with Sconfig.cmd

Applies To: Windows Server 2016

In Windows Server 2012, Windows Server 2012 R2, and Windows Server 2016, you can use the Server Configuration tool (Sconfig.cmd) to configure and manage several common aspects of Server Core installations. The options available in Sconfig.cmd have changed in the Windows Server 2016 version. You must be a member of the Administrators group to use the tool.

In Windows Server 2016, you can use Sconfig.cmd in Server Core and Server with Desktop Experience installations.

To start the Server Configuration Tool

  1. Change to the system drive.

  2. Type Sconfig.cmd, and then press ENTER. The Server Configuration tool interface opens:

    Screenshot of Sconfig.cmd user interface
    Screenshot of Sconfig.cmd user interface

Domain/Workgroup settings

The current Domain/Workgroup settings are displayed in the default Server Configuration tool screen. You can join a domain or a workgroup by accessing the Domain/Workgroup settings page from the main menu and following the instructions on the following pages, supplying any required information.

If a domain user has not been added to the local administrators group, you will not be able to make system changes, such as changing the computer name, by using the domain user. To add a domain user to the local administrators group, allow the computer to restart. Next, log on to the computer as the local administrator and follow the steps in the Local administrator settings section later in this document.

Note

You are required to restart the server to apply any changes to domain or workgroup membership. However, you can make additional changes and restart the server after all of the changes to avoid the need to restart the server multiple times. By default, running virtual machines are automatically saved prior to restarting the Hyper-V Server.

Computer name settings

The current computer name is displayed in the default Server Configuration Tool screen. You can change the computer name by accessing the “Computer Name” settings page from the main menu and following the instructions.

Note

You are required to restart the server to apply any changes to domain or workgroup membership. However, you can make additional changes and restart the server after all of the changes to avoid the need to restart the server multiple times. By default, running virtual machines are automatically saved prior to restarting the Hyper-V Server.

Local administrator settings

To add additional users to the local administrators group, use the Add Local Administrator option on the main menu. On a domain joined machine, enter the user in the following format: domain\username. On a non-domain joined machine (workgroup machine), enter only the user name. The changes take effect immediately.

Network settings

You can configure the IP address to be assigned automatically by a DHCP Server or you can assign a static IP address manually. This option allows you to configure DNS Server settings for the server as well.

Note

These options and many more are now available using the Networking Windows PowerShell cmdlets. For more information, see Network Adapter Cmdlets in the Windows Server Library.

Windows Update settings

The current Windows Update settings are displayed in the default Server Configuration Tool screen. You can configure the server to use Automatic or Manual updates on the Windows Update Settings configuration option on the main menu.

When Automatic Updates are selected, the system will check for and install updates every day at 3:00 AM. The settings take effect immediately. When Manual updates are selected, the system will not check for updates automatically.

At any time, you can download and install applicable updates from the Download and Install Updates option on the main menu.

In Windows Server 2016, a new option is available: Download Only. This option will scan for updates, download any that are available, and then notify you in the Action Center that they are ready for installation. This is default option.

Remote Desktop settings

The current status of remote desktop settings is displayed in the default Server Configuration Tool screen. You can configure the following Remote Desktop settings by accessing the Remote Desktop main menu option and following the instructions on screen.

  • enable Remote Desktop for Clients running Remote Desktop with Network Level Authentication

  • enable Remote Desktop for clients running any version of Remote Desktop

  • disable Remote

Date and time settings

You can access and change date and time settings by accessing the Date and Time main menu option

Telemetry settings

In Windows Server 2016, this option lets you configure what data is sent to Microsoft.

Windows Activation settings

In Windows Server 2016, this option lets you configure Windows Activation.

To enable remote management

You can enable various remote management scenarios from the Configure Remote Management main menu option:

  • Microsoft Management Console remote management

  • Windows PowerShell

  • Server Manager

To log off, restart, or shut down the server

To log off, restart, or shut down the server, access the corresponding menu item from the main menu. These options are also available from the Windows Security menu which can be accessed from any application at any time by pressing CTRL+ALT+DEL.

To exit to the command line

Select the Exit to the Command Line option and press ENTER to exit to the command line. To return to the Server Configuration Tool, type Sconfig.cmd, and then press ENTER