How to Check the Windows Server Version, Edition and Build Number
Applies to: Windows Server 2019, 2022 and 2025.
Product name, servicing edition, installation type and build revision answer different support questions. Capture them together before patching or migration.
Work from console access or a tested recovery path. Changes to remote access, licensing or domain membership can lock out administrators if prerequisites are wrong. Managed Windows VPS options are available at networkmanager.info.
Prerequisites
- Open elevated PowerShell.
- Decide whether inventory requires activation status as well as version.
- Use Microsoft release information for current lifecycle conclusions.
Step-by-step procedure
Step 1: Query product identity
Read product, version, build and installation type.
Get-ComputerInfo | Select WindowsProductName,WindowsVersion,OsBuildNumber,WindowsInstallationTypeStep 2: Read the servicing edition
Use DISM for the edition identifier.
DISM /online /Get-CurrentEditionStep 3: Inspect licensing channel
Display detailed activation information without recording product keys.
slmgr.vbs /dlvStep 4: Capture installation context
Read installation date and last boot time.
Get-CimInstance Win32_OperatingSystem | Select Caption,Version,BuildNumber,InstallDate,LastBootUpTimeVerification
Cross-check product and edition through two supported interfaces.
Get-ComputerInfo -Property WindowsProductName,WindowsVersion,OsBuildNumber,WindowsInstallationType
DISM /online /Get-CurrentEditionRollback
This is a read-only inventory procedure and requires no rollback.
Version and operational notes
Windows Server 2019 uses build 17763, 2022 uses 20348 and 2025 uses the 26100 family; cumulative update revisions change.
Official references
For managed deployment and support, visit https://networkmanager.info/.