To easily configure your server in Core mode, Microsoft offers the tool : sconfig.cmd
To launch it, simply type "sconfig.cmd" and press Enter.
However, if you are install Windows Server in a language other than English (en-US), starting sconfig will be a problem.
To use this tool with a language other than English, you must restart the tool from the correct folder.
To start, we go to the folder : C:\Windows\System32
Then, we look for the folder of our language. In our cas, our language contains the word "-FR".
Windows tells us that there is a folder named "fr-FR" (which corresponds to : French (France)).
We return in by typing : cd fr-FR
Finally, we run the file : sconfig.vbs.
In summary, in our case, we need to run this file : C:\Windows\System32\fr-FR\sconfig.vbs
Now, the sconfig tool start correctly in the correct language.
As you can see, this tool will allow you to :
To change the workgroup in which your server is located, choose option 1.
Then, type "G" for workgroup, press Enter, and type the name of the new workgroup.
Now your server is part of the new workgroup.
In the sconfig tool, you will also see that your server is in the new workgroup.
In production, it's very important that each server has a smart name.
To change the server name, choose option 2 and enter the new name.
Then, click Yes to restart the server and save the changes.
To join your Core server to a domain, it's strongly recommended that you first change the server name. To do this, use option 2 as explained above.
Now, select option 1 and type "D" for domain.
Then, type the name of your domain, and then specify the name of a user who has the right to join a machine to your domain.
Type the password of the account used.
As we have already changed the server name, we click No.
And we restart the server by clicking Yes.
At the login screen, you will see that the username is prefixed with the name of your server.
This happens from the moment your server joins a domain.
Specify the local administrator's password.
As you can see, our server is now in the "informatiweb.lan" domain.
To add a local administrator, choose option 3 and specify the name of the user you want to create and add it to the "Administrators" group of the local server.
Then, type 2 times the password to be set for this user.
The account will be created and added to the local Administrators group.
Choose option 1 or 2 to enable or disable remote administration of this server.
To allow or deny the server from ping, choose option 3 and answer Yes (allow) or No (reject) to the asked question.
In a test environment, it may be useful to allow the server to respond to ping.
But if your server is accessible from the outside, it's recommended to disable this option.
To return to the main menu, choose the option 4.
To update your server, you have 2 possibilities :
To enable Windows Update :
To check for updates manually, choose option 6.
Then, type "T" to search for all updates or "R" to search only for recommended updates.
Since there are fewer updates for the Core version of Windows Server, there may be little or no updates available at this time.
To configure the server's network adapter, choose option 8.
Windows will display the network settings with the list of available network adapters.
In our case, our network card has ID 10.
To change the parameters of our network card, we type : 10.
Then, Windows Server will offer you to :
To begin, we will set a static IP address to our server.
To do this, we use the option 1, then we type "s" for static.
Then, we specify :
Then, we will use 2 DNS servers.
To do this, we choose option 2 and specify the IP address of our Active Directory server as the preferred DNS server.
For the alternate (or secondary) DNS server, we will use the one in our router.
Finally, type 4 to return to the main menu.
Windows Server 11/16/2018
Windows Server 11/23/2018
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
No comment