Windows Server versions and lifecycle

Walk into any company’s server room and you’ll see a mix of a few new servers, plenty of middle-aged ones and that one old box “nobody dares to touch”. Once you know the Windows Server versions and how long each one keeps getting security updates, you can tell which of those servers is a risk today.

We’ll go through the versions from 2012 R2 to 2025, what each one changed and how Microsoft’s support clock works, and then look at the two ways to install Windows Server, with a desktop or without one.

TimeYou needBy the end you can
About 50 minutesYour laptop and the server2025.iso file from Lesson 2Name the Windows Server versions and their build numbers, explain LTSC and the support dates, read the editions inside an ISO, and choose between Desktop Experience and Server Core

What it is, in one line

Windows Server versions are the major releases of Microsoft’s server operating system (2016, 2019, 2022, 2025 and so on), and each one gets about five years of new fixes followed by five more years of security updates.

In Simple Words

Phones, models and repair shops

Think about your phone. Every year or two a new model comes out with better features, and your old phone keeps working until one day the maker says, “We won’t send security updates for this model any more.” It still turns on and still makes calls after that, but when someone finds a new way to break into it, nobody fixes it.

Windows Server works the same way.

Every version has a date when the fixes stop. A server past that date keeps running, but any new security hole found after it stays open for good, so part of your job is to know which servers are getting close and to plan the move well before the date comes.

Engineer's View

Versions, support and the two install types

The versions you’ll meet at work:

VersionReleasedBuildSecurity updates untilBig additions
2012 R2Nov 20139600Ended (paid ESU ended 13 Oct 2026)Work Folders, storage tiering; often found running old apps
2016Oct 20161439312 Jan 2027Storage Spaces Direct, Shielded VMs, Defender built in, containers
2019Nov 2018177639 Jan 2029Windows Admin Center, Storage Migration Service, System Insights
2022Aug 20212034814 Oct 2031Secured-core server, TLS 1.3 on by default, SMB AES-256 encryption
2025Nov 20242610014 Nov 2034Hotpatching through Azure Arc, dMSA, 32k AD database pages, faster NVMe, SMB over QUIC in every edition

The support clock. Every version follows Microsoft’s Fixed Lifecycle Policy, which gives about five years of mainstream support (new features and all fixes) and then five years of extended support, where you get security fixes only.

Once that runs out, companies can sometimes buy Extended Security Updates (ESU) for a few more years. Windows Server 2022, for example, left mainstream support on 13 October 2026 and now gets security fixes only.

LTSC and Annual Channel. All the versions above are Long-Term Servicing Channel (LTSC) releases. They come out roughly every two to three years, and they’re what you’ll put on most servers.

Microsoft also ships an Annual Channel (version 23H2 is the latest) meant for container hosts, but its support life is much shorter, so you won’t often find it on general-purpose servers.

Build numbers. Each version has a build number, and the part after the dot (the update revision) goes up with every monthly update.

Build 26100 is Windows Server 2025, which shares its core with Windows 11 version 24H2. When two people argue over “which version is that server”, look at the build number and the argument is over.

Desktop Experience or Server Core. Desktop Experience gives you the normal Windows desktop with Server Manager and all the graphical tools, while Server Core has no desktop at all, only a command window, sconfig, PowerShell and remote tools.

Core takes less disk and memory, needs fewer updates and reboots, and leaves attackers less to work with.

You make this choice at install time, and since Windows Server 2016 there’s no switching later, so if you change your mind you reinstall.

How it works, step by step

Here’s the support clock for each version. The darker part of each bar is mainstream support, the lighter part is extended (security fixes only), and the line shows where we are today:

Windows Server versions support timeline: mainstream and extended support for 2012 R2, 2016, 2019, 2022 and 2025

When a new server is needed, most admins decide the version and install type in this order:

  1. Check what the application supports. The software vendor’s support list matters more than anything else, because a 2025 server is no use to you if the app is only certified on 2019.
  2. Pick the newest LTSC version the app supports. For a new build today that’s normally Windows Server 2025, with security updates until November 2034.
  3. Pick Server Core unless something needs a desktop. Domain controllers, DNS, DHCP, file servers and Hyper-V hosts are all happy on Core, but Remote Desktop session hosts and some third-party tools need Desktop Experience.
  4. Pick the edition. It’s Standard or Datacenter, and the choice mostly depends on how many virtual machines you’ll run (we cover that in Lesson 4).
  5. Write the end date down. Record the version, build and support end date in your inventory, and start planning the replacement about two years ahead of that date.

This is what you give up and what you gain when you go with Server Core:

Windows Server versions install types: Desktop Experience compared with Server Core

In this course DC01, DC02 and SRV01 start with Desktop Experience, so you can see every tool while you’re learning. Later, in Lesson 13, you’ll add a Server Core machine and manage it remotely, which is how a lot of companies run their domain controllers.

Hands-on Lab: check Windows Server versions like an admin

Before you run any command, double-check it

Read every command twice before you press Enter. Check the target: the system or account, the IDs, the names and the sizes. These commands are for learning and were tested in our lab, not on your system. At work, run the read-only list commands first, follow your change process, make sure a backup exists, and ask a second person to check anything that changes or deletes data. You run them at your own risk.

You’ll check versions the way admins do on real servers, first from the operating system itself and then from the install media before anything is installed. For steps 2 to 4 you need an administrator PowerShell window, so right-click Windows PowerShell and choose Run as administrator.

1Check your own Windows version two ways

In a normal PowerShell window, run these one at a time:

Get-CimInstance Win32_OperatingSystem | Select-Object Caption, BuildNumber
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' | Select-Object ProductName, DisplayVersion, CurrentBuild, UBR

On Windows 11 you should see something like this:

Caption                  BuildNumber
-------                  -----------
Microsoft Windows 11 Pro 26100


ProductName    : Windows 10 Pro
DisplayVersion : 24H2
CurrentBuild   : 26100
UBR            : 6899

Look carefully and you’ll see the registry says Windows 10 Pro on a Windows 11 laptop, because the ProductName value was never updated when Windows 11 came out.

The part you can trust is the build number, 26100. UBR (update build revision) is the number after the dot and it goes up every Patch Tuesday, so build 26100.6899 tells you which monthly update is installed.

✅ Checkpoint: You have your build number and UBR, and you’ve seen why the build is more trustworthy than a product name.

2Open the Server 2025 ISO without installing it

In an administrator PowerShell window, run this:

$iso = Mount-DiskImage -ImagePath C:\Lab\ISO\server2025.iso -PassThru
$drive = ($iso | Get-Volume).DriveLetter
"ISO mounted as drive $($drive):"

You should see something like this:

ISO mounted as drive E:

Mount-DiskImage attaches the ISO as a virtual DVD drive, the same as double-clicking it in File Explorer. Don’t worry if your letter is D:, E: or F:.

✅ Checkpoint: PowerShell printed a drive letter, and that drive shows up in File Explorer.

3List the editions inside the ISO

Run this:

Get-WindowsImage -ImagePath "$($drive):\sources\install.wim" | Select-Object ImageIndex, ImageName

You should see something like this:

ImageIndex ImageName
---------- ---------
         1 Windows Server 2025 Standard Evaluation
         2 Windows Server 2025 Standard Evaluation (Desktop Experience)
         3 Windows Server 2025 Datacenter Evaluation
         4 Windows Server 2025 Datacenter Evaluation (Desktop Experience)
Windows Server versions lab: Get-WindowsImage lists the four editions in the Server 2025 ISO
Example output. Your drive letter may be different.

So one ISO gives you four choices, and the names without “(Desktop Experience)” are Server Core.

install.wim is the file Windows Setup copies onto the disk. Each image inside it is one edition plus one install type, and in Lesson 5 you’ll pick index 4 for DC01.

✅ Checkpoint: You can see four images: Standard and Datacenter, each as Server Core and as Desktop Experience.

4Look inside one image, then close the ISO

Run this:

Get-WindowsImage -ImagePath "$($drive):\sources\install.wim" -Index 4 | Select-Object ImageName, Version, Languages, @{n='SizeGB';e={[math]::Round($_.ImageSize/1GB,1)}}
Dismount-DiskImage -ImagePath C:\Lab\ISO\server2025.iso | Out-Null

You should see something like this:

ImageName : Windows Server 2025 Datacenter Evaluation (Desktop Experience)
Version   : 10.0.26100.1742
Languages : {en-US}
SizeGB    : 9.6

Version shows the build and update level the ISO was made with. A fresh install starts at that level and Windows Update brings it up to date afterwards. Out-Null just hides the dismount output, which you don’t need.

✅ Checkpoint: You can see the build number of your ISO, and the drive letter has disappeared from File Explorer.

5Count the days each version has left

Paste this whole block into a normal PowerShell window:

$versions = @(
    [pscustomobject]@{ Version = 'Windows Server 2012 R2'; Build = 9600;  UpdatesUntil = [datetime]'2026-10-13' }
    [pscustomobject]@{ Version = 'Windows Server 2016';    Build = 14393; UpdatesUntil = [datetime]'2027-01-12' }
    [pscustomobject]@{ Version = 'Windows Server 2019';    Build = 17763; UpdatesUntil = [datetime]'2029-01-09' }
    [pscustomobject]@{ Version = 'Windows Server 2022';    Build = 20348; UpdatesUntil = [datetime]'2031-10-14' }
    [pscustomobject]@{ Version = 'Windows Server 2025';    Build = 26100; UpdatesUntil = [datetime]'2034-11-14' }
)
$versions | Select-Object Version, Build, @{n='DaysLeft';e={($_.UpdatesUntil - (Get-Date)).Days}}

On 19 October 2026 you would see this (your numbers depend on today’s date):

Version                Build DaysLeft
-------                ----- --------
Windows Server 2012 R2  9600       -6
Windows Server 2016    14393       84
Windows Server 2019    17763      812
Windows Server 2022    20348     1820
Windows Server 2025    26100     2947

A negative number means the date has already passed, so a 2012 R2 server gets no security fixes at all. When you subtract two dates you get a time span, and .Days pulls the whole days out of it. Think of this as the start of a real lifecycle report; in Phase 2 you’ll feed it a list of servers instead of typing the versions in.

✅ Checkpoint: Your table shows a negative number for 2012 R2 and the most days for 2025.

Break It, Then Fix It

People get two things wrong again and again when they check versions: they run a tool without the rights it needs, or they trust a name instead of a number.

1Break it: reading the ISO without admin rights

Double-click server2025.iso in File Explorer so Windows mounts it, and note its drive letter. Then, in a normal PowerShell window (not administrator), run this, changing E: to your letter:

Run this:

Get-WindowsImage -ImagePath E:\sources\install.wim

You’ll get an error like this:

Get-WindowsImage : The requested operation requires elevation.
At line:1 char:1
+ Get-WindowsImage -ImagePath E:\sources\install.wim
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-WindowsImage], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsImageCommand

“Requires elevation” means the command needs an administrator window. Get-WindowsImage belongs to DISM, the tool that services Windows images, and every DISM command needs admin rights, even one that only reads.

Fix it: open PowerShell with Run as administrator and run the same command:

Get-WindowsImage -ImagePath E:\sources\install.wim | Select-Object ImageIndex, ImageName

This time you get the four editions from step 3. When you’re finished, right-click the drive in File Explorer and choose Eject.

✅ Checkpoint: The command fails in a normal window and works in an administrator window.

2Break it: a version check that trusts the name

Say a colleague wrote this check to find old Windows 10 machines that need an upgrade. Try it on your Windows 11 laptop:

Paste this into a normal PowerShell window:

$name = (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').ProductName
if ($name -like '*Windows 10*') { "Upgrade needed: $name" } else { "OK: $name" }

On Windows 11 you’ll get this wrong answer:

Upgrade needed: Windows 10 Pro

The script did what it was told; the data is what’s wrong. As you saw in step 1 of the lab, ProductName still says Windows 10 on Windows 11, so if you ran this across a company, hundreds of up-to-date laptops would end up on the “upgrade” list.

Fix it by deciding on the build number, which never lies:

$build = [int](Get-CimInstance Win32_OperatingSystem).BuildNumber
if ($build -lt 22000) { "Upgrade needed: build $build is Windows 10" } else { "OK: build $build is Windows 11" }

You should see this (with your own build number):

OK: build 26100 is Windows 11
Windows Server versions lab: a version check by name gives the wrong answer, a check by build number gives the right one
Example output on Windows 11. Your build number may be different.

Windows 11 builds start at 22000. Use the same habit with servers and compare build numbers (14393, 17763, 20348, 26100) rather than names someone typed into a spreadsheet. On Windows 10 the first check happens to give the right answer, but the second one is still the one you should keep.

✅ Checkpoint: The name-based check gives the wrong answer on Windows 11, and the build-based check gives the right one.

This happened at work

The servers that were not on the list

A hospital IT team was getting ready for the end of Windows Server 2012 R2 support. They built their upgrade list from the server inventory spreadsheet, where each row had a server name and an “OS” column someone had filled in years before, and they upgraded every 2012 R2 server on that list ahead of the deadline.

About a year later a security scan turned up 14 servers still on 2012 R2 that hadn’t been patched since the deadline. Several had names like SQL2019-03, so everyone took them for 2019, and others had been rebuilt on the old version during some urgent repair without anyone touching the spreadsheet.

Two of them ran the lab results system, so switching them off wasn’t an option. The team ended up rushing an upgrade with an outside vendor at short notice and paying for extended support to cover the months in between.

The fix: now the inventory comes from the servers themselves. A scheduled script reads the caption and build number from every server once a week, checks the build against a table of support end dates, and flags anything within 18 months of its date in the monthly report.

The lesson: treat a server’s name and the spreadsheet as somebody’s opinion, and the build number the server reports as the fact.

Common mistakes and troubleshooting

Mistake or symptomWhat happensWhat to do instead
Trusting server names or spreadsheets for the OS versionOld servers are missed in upgrade and patch plansRead the caption and build number from the server itself
Using the registry ProductName to tell Windows 10 from 11Windows 11 machines are reported as Windows 10Use the build number (22000 and above is Windows 11)
Installing Desktop Experience when you meant Server Core, or the other way roundYou can’t switch afterwards, so you reinstallCheck the image name in Setup carefully; names without “(Desktop Experience)” are Core
Waiting until the support end date to planRushed migrations and paid extended supportStart planning about two years before the date
Picking the newest version without checking the appThe vendor won’t support the app on that versionCheck the vendor’s support list first
Using Annual Channel for general serversSupport ends after a short timeUse LTSC releases for normal servers
“The requested operation requires elevation”DISM commands like Get-WindowsImage failRun PowerShell as administrator
Mount-DiskImage fails with “Access is denied”The ISO doesn’t mount from PowerShellUse an administrator window, or double-click the ISO in File Explorer
“No such file” for install.wimSome ISOs ship install.esd insteadRun Get-ChildItem on the sources folder and use the file that exists

Interview questions

Click a question to open it. Each one is written the way an interviewer would ask it. Under it you will see why they ask it and one way you could answer, in your own words.

Fresher level

1. Which Windows Server versions would you expect to find in a company today, and which one is the newest?

Why they ask this: They want to know whether you’ve kept up with what companies are running right now.

How you might answer: I’d expect 2016, 2019, 2022 and 2025. 2025 is the newest Long-Term Servicing Channel release, and it’s built on the same core as Windows 11 24H2.

You’ll still find some 2012 R2 around too, and that doesn’t get security updates any more.

2. Can you explain the difference between Server Core and Desktop Experience, and why Core even exists?

Why they ask this: They’re checking that you know the two install types and can explain the security and maintenance reasons Core exists.

How you might answer: Desktop Experience gives you the full graphical desktop. Server Core doesn’t have one, so you manage it with PowerShell, sconfig and remote tools.

Because Core is smaller, it needs fewer updates and reboots and there’s less for an attacker to go after.

3. Your manager asks which exact Windows version and update level a server is on. How would you find out?

Why they ask this: They want to hear that you’ve done this yourself, since the exact build comes up all the time in patching and support calls.

How you might answer: If it has a desktop, I’d run winver or look in System Settings. From PowerShell I’d use Get-CimInstance Win32_OperatingSystem to get the caption and build.

After that I’d read the UBR registry value, which tells me the monthly update level.

2–5 years experience

4. What’s the difference between mainstream and extended support, and what really happens when support ends?

Why they ask this: They want to see you understand what end of support means for the business, because that’s what kicks off upgrade projects.

How you might answer: Mainstream support runs about five years and covers new fixes and changes. Extended support is about five more years, with security updates only.

Once that ends there are no fixes at all, unless the company buys Extended Security Updates where they’re offered.

5. A colleague installed Server Core and now wants the desktop. Can they just switch it over?

Why they ask this: It’s an expensive thing to discover after the server is already in use, so they want to know you’re aware of the limit.

How you might answer: Not since Windows Server 2016, no. You decide at install time.

To change it they’d have to reinstall and move the roles across, which is why I’d take the decision carefully at the start.

6. How would you build a report that shows which servers are getting close to end of support?

Why they ask this: They’re looking for someone who turns what they know into a check that runs every month, because managers need that report to plan budgets in time.

How you might answer: I’d pull the caption and build from every server with PowerShell remoting or an inventory tool, map each build to its support end date and work out the days left.

I’d flag anything under 18 to 24 months and go through the report every month.

Senior level

7. Your company has 60 servers on Windows Server 2016. How would you plan the next 12 months?

Why they ask this: They want to see how you plan a migration against a deadline, and they’re listening for inventory, risk and tracking as much as the technical steps.

How you might answer: First I’d list the apps and their owners, check vendor support for 2022 or 2025 and group the servers by risk. Where it’s supported and tested I’d upgrade in place, and where a rebuild and migration is cleaner I’d do that, especially for domain controllers.

I’d track it every week, and only budget for extended updates for the few servers that can’t move in time.

8. When would you choose an in-place upgrade, and when would you build a fresh server instead?

Why they ask this: They want to know you understand the trade-offs, because the right answer depends on what the server does and how it got that way.

How you might answer: In-place is quicker and keeps the names, IPs and settings, and 2025 can upgrade from 2012 R2 onwards. A fresh build gives you a clean system without years of leftovers on it.

For domain controllers I’d nearly always bring in new ones rather than upgrade.

9. You want to make Server Core the standard for all new servers. How would you make the case, and what could go wrong?

Why they ask this: A senior engineer has to weigh security against how the team works day to day, and they want to see you plan for the people as well as the technology.

How you might answer: I’d argue for it on a smaller attack surface, fewer patches and reboots, and lower resource use. The risks are the team’s skills and tooling, because admins need to be comfortable with PowerShell and remote management, and some vendor agents or apps still need a desktop.

So I’d run a pilot first, train the team and write down every exception.

Quick quiz

Q1. Which build number belongs to Windows Server 2025?

  1. 17763
  2. 20348
  3. 26100
Show answer

C — 17763 is 2019, 20348 is 2022 and 26100 is 2025.

Q2. Windows Server 2022 left mainstream support on 13 October 2026. What does it get now?

  1. Nothing at all
  2. Security updates only, until 14 October 2031
  3. New features and all fixes
Show answer

B — Extended support means security fixes only.

Q3. Why did the registry say “Windows 10 Pro” on a Windows 11 laptop?

  1. The laptop is really Windows 10
  2. The ProductName value was never updated for Windows 11
  3. The registry is corrupt
Show answer

B — Use the build number instead; Windows 11 builds start at 22000.

Q4. In install.wim, an image named without “(Desktop Experience)” is:

  1. Server Core
  2. A broken image
  3. Windows 11
Show answer

A — Names without “(Desktop Experience)” install Server Core.

Q5. In the work story, why were 14 servers missed?

  1. The scanner was broken
  2. The upgrade list came from names and a spreadsheet, not from the servers
  3. Microsoft extended the deadline
Show answer

B — The fix was an inventory read from each server’s own caption and build number.

Quick recap

  • The Windows Server versions you’ll meet: 2012 R2, 2016, 2019, 2022 and 2025, with builds 9600, 14393, 17763, 20348 and 26100.
  • Each LTSC version gets about 5 years of mainstream and then 5 years of extended support, and 2025 has security updates until 14 November 2034.
  • The build number and UBR tell you what’s really installed, while names can be wrong.
  • Server Core is smaller and safer and Desktop Experience has the full GUI, but you can’t switch between them after install.
  • One ISO holds several images; Get-WindowsImage lists them (as administrator).
  • Plan replacements about two years before the support end date.

Next lesson

Lesson 4: Editions, licensing and activation → You’ll learn the difference between Standard and Datacenter, how core-based licensing and CALs work, how activation works in a company, and how to check and extend the evaluation time on your lab servers.

Further reading: Windows Server versions

If you want more on Windows Server versions, Microsoft keeps the current builds and support dates on its Windows Server release information page, and the full plan for this course is on the Windows Server Administration course page.

Scroll to Top

This website uses cookies

We use a few cookies to keep this site working. If you allow it, we also use Google Analytics to count visits so we can improve our lessons. You can accept all, deny the optional ones, or choose what to allow.