Windows Server looks like Windows 10 or 11, but it’s built for a different job: running services that many people depend on, all day, every day. This guide covers the first things every new Windows admin should know.
What you need: a Windows Server 2022 or 2025 VM. Microsoft offers a free 180-day evaluation – perfect for a home lab in Hyper-V, VirtualBox or VMware Workstation.
Editions in plain English
| Edition | Who uses it | Key difference |
|---|---|---|
| Standard | Most companies | Licensed for up to 2 virtual machines per license |
| Datacenter | Heavily virtualised environments | Unlimited VMs, extra storage and networking features |
| Essentials | Very small businesses | Limited users and devices |
For learning, the edition barely matters – the admin skills are the same.
Server Core vs Desktop Experience
During setup you choose between:
- Desktop Experience – the full graphical desktop you know
- Server Core – no desktop, just a command prompt and PowerShell
Server Core uses less disk and memory, has fewer things to patch and gives attackers less to target. Many companies prefer it for production. You manage it remotely with Server Manager, Windows Admin Center or PowerShell.
Start with Desktop Experience while you learn. Once you’re comfortable with PowerShell, try a Server Core VM – it’s the fastest way to stop depending on clicks.
Roles, role services and features
- A role is a main job the server does: Web Server (IIS), DNS Server, DHCP Server, File Server, Active Directory Domain Services.
- A role service is an optional part of a role, such as ASP.NET 4.8 under IIS.
- A feature is a supporting tool: .NET Framework 3.5, Failover Clustering, Windows Server Backup, Telnet Client.
A fresh server has almost nothing installed. You add only what it needs – every extra role is extra patching and extra attack surface.
Add a role with Server Manager
- Open Server Manager (it starts at sign-in).
- Manage → Add Roles and Features.
- Choose Role-based or feature-based installation, then your server.
- Tick the role (for example Web Server (IIS)), accept the extra features it needs, and click Install.
Do the same with PowerShell
Open PowerShell as Administrator:
# What's installed right now?
Get-WindowsFeature | Where-Object Installed
# Find the exact name of a role
Get-WindowsFeature *web*
# Install IIS with its management tools
Install-WindowsFeature -Name Web-Server -IncludeManagementTools
# Remove it again
Uninstall-WindowsFeature -Name Web-Server
Always use the Name column (like Web-Server), not the display name. Names stay the same across Windows Server versions, which makes your scripts reusable.
Check whether a restart is needed:
$result = Install-WindowsFeature -Name Windows-Server-Backup
$result.RestartNeeded
Useful first commands on any server
hostname # server name
Get-ComputerInfo -Property OsName, OsVersion, CsDomain
ipconfig /all # IP, DNS, gateway
Get-Service | Where-Object Status -eq 'Running'
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 5
Run these whenever you log in to a server you don’t know. Two minutes of looking saves an hour of guessing.
Common mistakes
- Installing everything “just in case” – every role needs patching and monitoring.
- Using the display name in scripts – it changes between versions; the Name doesn’t.
- Forgetting the restart – some features only work after a reboot. Check
RestartNeeded.
FAQ
Can I switch from Server Core to Desktop Experience later? Not on Windows Server 2016 and later – you reinstall. Decide before setup.
Is Windows Server free to learn on? Yes. The evaluation version runs for 180 days and is meant for testing and learning.
What’s the difference between Windows 11 and Windows Server? Same core, different purpose: Server includes roles like AD, DNS and IIS, supports more memory and CPUs, and is licensed for serving many users.
What’s next
Next: Services, processes and Event Viewer – the three places to look first when something on a server stops working.
Practise this topic
Test yourself with free questions on this topic – instant answers and explanations.
Start practice questionsWindows ServerBeginnerServer ManagerPowerShellRoles