Configuring a Server Core server with Sconfig.cmd
Applicable to: Windows Server R2, Windows Server 2012
In Windows Server 2012, you can use the Server Configuration tool (Sconfig.cmd) to configure and manage several common aspects of Server Core installation. you must be a member of the Administrators group to use this tool.
The Sconfig.cmd is available in the minimal server interface and in full install mode.
steps to start the Server Configuration tool
Change to system drive.
Type sconfig.cmd, and then press Enter. The Server Configuration Tool interface opens:
Sconfig.cmd User Interface Screen
Domain/Workgroup settings
you can join a domain or workgroup by accessing the domain/Workgroup Settings page from the main menu and following the instructions on the page below (providing the information you need).
If a domain user has not been added to the local Administrators group, you will not be able to use Domain users for system changes, such as changing the computer name. to add a domain user to the local Administrators group, allow the computer to restart. local Administrator Setti NGS section later in this document. " > then, log on to the computer as a local administrator and follow the steps in the "Local Administrator Settings" section later in this document.
note |
You need to restart the server to apply the changes to the domain or team members. However, you can make other changes and restart the server after all the changes are complete, lest you need to restart the server multiple times. By default, a running virtual opportunity is automatically saved before the Hyper-V server is restarted. |
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 need to restart the server to apply the changes to the domain or team members. However, you can make other changes and restart the server after all the changes are complete, lest you need to restart the server multiple times. By default, a running virtual opportunity is automatically saved before the Hyper-V server is restarted. |
Local Administrator Settings
To add additional users to the local Administrators group, use the Add Local Administrator option on the main menu. on a non-domain-joined computer (workgroup computer), enter only the user name. changes will take effect immediately.
Network Settings
You can configure the IP address to be automatically assigned by the DHCP server, or you can manually assign a static IP address. This option also allows you to configure DNS server settings for the server.
Attention |
These options and more options are now available with the network Windows PowerShell cmdlet. For more information, see network adapter cmdlets in the Windows Server library. |
Windows Update Settings
You can configure the server to use automatic or manual updates in the Windows update settings configuration option in the main menu.
When Automatic Updates is selected, updates are viewed and installed every day 3 o'clock in the morning. The settings will take effect immediately. when manual update is selected, updates are not automatically viewed.
You can download and install the applicable updates at any time from the "Download and install Updates" option on the main menu.
Remote Desktop settings
The current status of Remote Desktop settings is displayed in the Default Server Configuration Tool screen. You can configure these Remote desktop settings by accessing the Remote Desktop main menu option and following the onscreen instructions.
Date and Time settings
You can access and change the date and time settings by visiting the "date and Time" main menu option
steps to enable remote administration
You can enable a variety of remote management scenarios from the Configure Remote administration main menu option.
to log off, restart, or shut down a server
To log off, restart, or shut down the server, visit the corresponding menu item in the main menu. These options are also available in the Windows Security menu and can be accessed from any application at any time by pressing Ctrl+alt+del.
Steps to exit the command line
Select the exit command line option and press ENTER to exit the command line. To return to the Server Configuration tool, type sconfig.cmd, and then press ENTER
Configuring a Server Core server with Sconfig.cmd