In my previous post I covered the steps to join a Windows Server core to domain using SConfig. This post covers the SConfig (Server Configuration Tool) options available on Windows Server 2019 core.
When you install Windows Server core, you can use the Server Configuration tool (Sconfig.cmd) to configure and manage several aspects of Server Core installations. However note that you must be a member of the Administrators group to use the tool.
Start the Server Configuration Tool, login to your Windows Server (2016/2019) core. Type SConfig and press Enter.
This brings up Server Configuration tool. At the time of writing this post, Server Configuration tool has got 15 options displayed on main menu.
Windows Server Core SConfig Options
When you start the Server Configuration tool – SConfig.cmd, you see a list of options or settings. I will cover each of them along with screenshots.
Using the Domain/Workgroup option, you can join the server to an Active Directory domain or a workgroup. A detailed post on how to add windows server core to domain is posted here – https://www.prajwaldesai.com/how-to-join-a-windows-server-core-to-domain/
With this option you can change the server name. You also get the option to change the computer name while you join it to the domain. Most of all a restart is required when you change the computer name.
Add Local Administrator
To add additional users to the local administrators group, use the Add Local Administrator option. 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.
Configure Remote Management
Option 4 lets you configure remote management. Note that Configure Remote Management is enabled by default. When you type 4 and press enter you see three options and they are all self-explanatory.
- Enable Remote Management
- Disable Remote Management
- Configure Server Response to Ping
Windows Update Settings
Using Windows Update Settings, you can configure the server to use Automatic or Manual updates. When Automatic Updates are selected, the system will check for and install updates every day at 3:00 AM. When Manual updates are selected, the system will not check for updates automatically.
Download and Install Updates
At any time, you can download and install applicable updates from the Download and Install Updates option on the main menu.
The Download Only 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.
When you install Windows Server core, by default the Remote Desktop is disabled. However you can use the option 7 to enable remote desktop.
Type 7 and press Enter. You should see two options.
- Allow only Clients running Remote Desktop with Network Level Authentication
- Allow clients running any version of Remote Desktop
Type either 1 or 2 based on your requirement and press Enter key. On the confirmation box click OK.
Using Network Settings you can configure the Server IP address. You can select IP assigned 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.
Type 8 and press enter. Select your network adapter and you will see some more options like :-
- Set Network Adapter Address
- Set DNS Servers
- Clear DNS Server Settings
Date and Time
You can change date and time settings by accessing the Date and Time main menu option. Type 9 and press Enter.
This option lets you configure the data that’s sent to Microsoft. Type 10 and press Enter. Click Yes if you want to change Telemetry Settings.
The available Telemetry options include :-
This option lets you configure Windows Activation. Type 11 and press Enter.
You can perform the following actions.
- Display License Info
- Activate Windows
- Install Product Key
Log Off User
Use this option to log off from the server.
Use this option to restart your Windows Server. Type 13 and press Enter. Click Yes to restart the server.
Shut Down Server
Use this option to Shut Down the server. Type 14 and press enter. Click Yes to confirm the server shutdown.
Exit to Command Line
This option lets you exit the Server Configuration Tool and go back to Command Line. To return to the Server Configuration Tool, type Sconfig.cmd, and then press ENTER.