intermediate

Windows Server: Editions, Installation and First Configuration

Choose an edition and an installation option, install Windows Server, and do the first-hour configuration every server needs: name, static IP, DNS, time zone, remote management, updates and a baseline check.

60 min

1. What Windows Server is for

Windows Server is the operating system you put on machines that serve other machines: they hold the directory of users, hand out addresses, name computers, share files, print, host applications and run virtual machines. A server is not “a bigger PC”. It is built to run for months, be managed remotely, and be patched and recovered by a process rather than by someone sitting in front of it.

Typical roles in a small organisation:

Role What it does
Active Directory Domain Services The directory of users, groups and computers, and the sign-in service
DNS Turns names into addresses; Active Directory cannot work without it
DHCP Gives computers an address when they connect
File and storage services Shared folders, permissions, quotas, backup targets
Print, web, application and Hyper-V roles As needed

2. Editions and installation options

Editions (Standard and Datacenter are the two you will deploy; Essentials existed for very small businesses in older releases). The practical difference is licensing and virtualisation rights: Standard covers a small number of virtual machines per licensed host, Datacenter covers unlimited ones and includes extra storage and networking features. Licensing rules change, so check Microsoft’s current terms before buying.

Installation options (chosen during setup, and not interchangeable afterwards in current releases):

Option You get Choose it when
Server Core No desktop. A command prompt, PowerShell and SConfig Domain controllers, DHCP, Hyper-V hosts and file servers managed remotely: the best default for security and patching
Desktop Experience The familiar desktop, Server Manager and graphical tools Learning, applications that need a GUI, small sites with no remote tooling

Server Core is not harder once you know PowerShell. It has fewer components to attack and fewer updates to install. In this course every command works on both; you can manage a Core server from a Desktop Experience one or from your admin PC.

3. Installing

  1. Create a virtual machine (2 vCPUs, 4 GB of memory or more, a 60 GB disk is comfortable for a lab) and attach the installation image.
  2. Boot, choose language and keyboard, Install now.
  3. Pick the edition and the option. Evaluation images list both Server Core and “Desktop Experience” for each edition. If you want the graphical tools for a first lab, choose Desktop Experience.
  4. Choose Custom install, select the disk, and let it copy and restart.
  5. Set a strong local Administrator password when asked. Write it in your lab notes; in production, store it in a password manager.

After the first sign-in you land in Server Manager (Desktop Experience) or at the SConfig menu (Server Core). SConfig can also be started from any PowerShell session by typing sconfig.

4. The first hour: configuration every server gets

Do these in order and, from the very start, name and address the server before giving it a role.

4.1 Name

Rename-Computer -NewName DC01 -Restart

Pick a naming scheme and stick to it: role plus number (DC01, FS01) is fine for a small estate. A NetBIOS-compatible name is 15 characters or fewer.

4.2 Static IP and DNS

First find the adapter name:

Get-NetAdapter

Then set the address, gateway and DNS server. The example network is 10.10.0.0/24, the gateway is 10.10.0.1 and the first domain controller will point at itself for DNS later; for now point at the gateway or a known resolver:

New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress 10.10.0.10 -PrefixLength 24 -DefaultGateway 10.10.0.1
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 10.10.0.1
Get-NetIPConfiguration

If the adapter already has a DHCP address, New-NetIPAddress may complain. Disable DHCP on the interface first: Set-NetIPInterface -InterfaceAlias "Ethernet" -Dhcp Disabled, and remove the old address if one remains (Remove-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress <old address>).

4.3 Time zone, date and time

Kerberos (the sign-in protocol you will meet in lesson 13) refuses to work if clocks drift more than a few minutes. Set the right zone now:

Set-TimeZone -Id "W. Central Africa Standard Time"
Get-TimeZone -ListAvailable | Where-Object Id -like "*Africa*"

Use Get-TimeZone -ListAvailable to find the ID for your region. Domain members later sync their time from the domain automatically.

4.4 Remote management and the firewall

Enable-PSRemoting -Force
Get-NetFirewallProfile | Select-Object Name, Enabled

Leave the firewall on. Windows Server enables remote management features by default on recent versions, and you open further ports by enabling the right built-in rules (for example Enable-NetFirewallRule -DisplayGroup "Remote Desktop"), never by turning the firewall off.

To allow Remote Desktop for administration (restricted by Network Level Authentication):

Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name fDenyTSConnections -Value 0
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

4.5 Updates

Install the latest updates before the server gets a role. On Desktop Experience use Settings, Windows Update. On Server Core use SConfig option 6 (Install Updates). Reboot as asked.

4.6 Baseline check

Get-ComputerInfo | Select-Object CsName, WindowsProductName, WindowsVersion, OsLastBootUpTime
Get-NetIPConfiguration
Get-Volume

Record what you configured. In a real estate this is the start of the server’s documentation page.

5. Hands-on lab: the command line

Lab: name and address a new server

A fresh Windows Server install needs the first-hour configuration. Name it DC01, set 10.10.0.10/24 with gateway 10.10.0.1, set the time zone and enable remoting.

Objectives

  • List the network adapters to find the interface alias.
  • Set the static address 10.10.0.10/24 and the gateway 10.10.0.1.
  • Point DNS at 10.10.0.1 for now.
  • Set the time zone.
  • Enable PowerShell remoting so the server can be managed remotely.
  • Rename the computer to DC01 and restart.
Console - PS C:\
Practice terminal: it checks the commands you type and shows example output. It is not connected to a real device.
Work through the objectives on the left.
Stuck? Type "?" to see the current objective, or "hint" to reveal the command.
PS C:\>

6. Hands-on lab: plan the build

First-hour checks — Python 3
WHAT TO DO
valid_name(name): True when a computer name is acceptable: 1 to 15 characters, only letters, digits and hyphens, and it must not be all digits and must not start or end with a hyphen. prefix_to_mask(prefix): turn a prefix length (0-32) into a dotted mask, e.g. 24 -> "255.255.255.0" in_subnet(ip, network, prefix): True when ip is inside network/prefix. Use plain integer maths, not a library. choose_option(remote_tools, needs_gui_app): "Server Core" when the server will be managed remotely and no GUI-only application is needed, otherwise "Desktop Experience".
YOUR CODE (edit here, then press Run)
Ctrl/⌘ + Enter
OUTPUT

7. Common problems

Symptom Cause and fix
New-NetIPAddress says the object already exists DHCP address still present. Disable DHCP on the interface and remove the old address first
No network after setting the address Wrong prefix length or gateway, or the VM is on the wrong virtual switch
Rename fails with “access denied” PowerShell is not running as administrator
Time is hours off Wrong time zone, or the VM host clock is wrong. Fix the zone, then check the hypervisor’s time sync
Cannot find the right time zone ID Get-TimeZone -ListAvailable and filter by name
Activation prompts on an evaluation copy Normal. Evaluation editions run for a limited period; do not rely on them in production

8. Key takeaways

  • Server Core is the secure, low-maintenance default; Desktop Experience suits learning and GUI-only software.
  • Standard and Datacenter differ mainly in virtualisation rights and extra features. Check current Microsoft licensing terms.
  • First hour: name, static IP and DNS, time zone, remoting, updates, baseline. Do these before adding a role.
  • Domain controllers, DNS and DHCP servers use static addresses.
  • Keep the firewall on. Open ports with the built-in rules.
Your manager wants a new file server and a pair of domain controllers. Which installation option would you pick for each, and what would stop you choosing it?

Server Core is a good default for both because it is smaller to patch and attack and the roles are managed remotely. The reasons to choose Desktop Experience instead would be a GUI-only application, a team that cannot yet manage servers remotely, or a vendor that only supports the full desktop. You can start on Desktop Experience to learn and move to Core for production builds once the team is comfortable.

Can You Explain It?

Close the lesson and answer these without looking back. The goal isn't the wording — it's whether you've formed a usable mental model.

  • Explain why a server needs a name and a static address before it gets a role.
  • Describe two reasons to choose Server Core and one reason not to.
  • Why must clocks be right on a domain controller?

🧪 Want to practise this on your own computer? See how to set up your lab →

📝

Knowledge Check

1 of 4

Which installation option gives you a server with no desktop shell, a smaller attack surface and fewer patches to apply?

Official References

Report a problem

About: /lessons/winsrv-editions-installation-and-first-configuration