Microsoft documents direct upgrades from Windows Server 2019 or 2022 to 2025 for eligible, nonclustered servers. Installation media also supports direct paths from Windows Server 2012 R2 and 2016, but this guide focuses on 2019 and 2022 sources. Check your server’s edition, installation type, roles, software, hardware, and recovery plan before using that path.
This procedure covers an eligible member server. Domain controllers and cluster nodes can still move to 2025, but through their own documented processes. Complete the planning checks, then follow the workload-specific plan described in Step 4.
What Is an In-Place Upgrade?
An in-place upgrade runs Windows Server 2025 Setup on the existing installation. Microsoft states that settings, server roles, and data are retained; whether applications are retained depends on compatible media, edition, installation type, and the setup options you choose. This can save migration work, but you still need to check software support. Microsoft lists supported operating-system paths and role and feature migration guidance separately.
Plan recovery around a tested full restore. Don’t assume the upgraded server will have a usable Go back or uninstall option.
Prerequisites
- A Windows Server 2019 or 2022 source server, administrative access, and a planned Windows Server 2025 target.
- Confirmation that the server is not a domain controller or cluster node for this procedure.
- Access to Microsoft’s upgrade-path guidance and role and feature guidance.
- Hardware and storage checked against current Windows Server 2025 requirements. Confirm support for applications, drivers, and agents too.
- Windows Server 2025 licensing and an activation method for the intended edition. Check your agreement for server licenses and any required client access licenses.
- A full backup of the OS, applications, and data; a place to test a restore; and recovery access that doesn’t depend on this server.
- A maintenance window long enough for the upgrade, service tests, and a restore if tests fail.
- A separate location for the inventory, service checklist, license details, installation media, and recovery instructions.
Run the commands below on your Windows Server 2019 or 2022 system. Save their output outside the server you’re upgrading.
Step-by-Step Guide
Step 1: Record the source OS and hardware
Open an elevated Windows PowerShell session on the existing server. Record its version, edition, installation type, CPU, memory, and local disks. Save the output to your change record.
Get-CimInstance Win32_OperatingSystem |
Select-Object Caption, Version, OSArchitecture
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' |
Select-Object ProductName, EditionID, InstallationType, CurrentBuild
Get-CimInstance Win32_ComputerSystem |
Select-Object Manufacturer, Model, TotalPhysicalMemory
Get-CimInstance Win32_Processor |
Select-Object Name, NumberOfCores, NumberOfLogicalProcessors
Get-CimInstance Win32_LogicalDisk -Filter 'DriveType=3' |
Select-Object DeviceID, Size, FreeSpace
Expect the OS output to show Windows Server 2019 or 2022. Use the edition and installation type to check Microsoft’s supported path. DriveType=3 lists local disks; record connected or application storage separately. Hide host and organization details before sharing screenshots.
Step 2: Inventory roles, features, and dependent software
Check installed roles and features in Server Manager. Then run:
Get-WindowsFeature |
Where-Object Installed -eq $true |
Select-Object DisplayName, Name, InstallState
Expect a list of installed Windows Server roles and features. Add applications, antivirus, backup and monitoring agents, storage software, drivers, scheduled tasks, service accounts, network bindings, and dependent systems. Check Apps and Features or the installed-programs view, Services, and Task Scheduler where relevant. Record versions and vendors. Setup can keep a component even when its vendor doesn’t support it on Server 2025.
Step 3: Make the supported-path decision
Open Microsoft’s Windows Server upgrade planning page. Find the supported upgrade-path table. Check your exact source version, target version, edition, and installation type. The table includes direct Windows Server 2019 → 2025 and 2022 → 2025 paths for nonclustered systems. It also lists direct 2012 R2 → 2025 and 2016 → 2025 paths for installation media, which are outside this guide’s scope. Microsoft’s other restrictions still apply.
Record the table entry in the change ticket. If your exact combination isn’t supported, mark the in-place plan no-go and plan a migration to a new server.
Step 4: Check every role and application
Compare your role list with Microsoft’s upgrade and migration guidance for roles and features. Record a decision for each role: supported in place, requires migration, or unresolved. Setup’s ability to retain a role doesn’t establish support.
For each third-party application and agent, check the vendor’s Server 2025 support statement for your installed version. Include driver and database dependencies. If support is absent or unclear, pause the in-place plan until the vendor provides a supported upgrade or migration route.
Domain controllers and clusters need separate plans. Microsoft advises against in-place upgrades for servers running Active Directory Domain Services. Instead, it recommends promoting new domain controllers on clean installs and demoting the old ones. Clusters aren’t excluded from Server 2025, but they don’t use this procedure. Microsoft directs failover clusters, including Hyper-V and Scale-Out File Server clusters, to a Cluster OS Rolling Upgrade, which advances one version at a time, or to Cluster-Aware Updating. Route either workload to its own plan before scheduling the change.
Step 5: Prove that the backup can restore the service
Run a full backup with your existing backup system. Check that it covers the OS, application state, data, and any virtual machines or attached data you must recover together. Record the job ID, completion time, location, retention period, and recovery access.
Restore the backup to an isolated target using your backup product’s documented process. Start the restored system, check its data and application state, and run a real service transaction. Record the restore time, result, and manual steps. A completed backup job confirms that the backup ran; it does not confirm that the service can be restored.
Warning: As a precaution, keep the recovery test isolated from production networking until you have checked for duplicate identities, addresses, and application connections.
Step 6: Write the maintenance-window acceptance and abort plan
List the checks that show the server works for users and dependent systems. Run them before the upgrade to get a baseline. Record how long they normally take.
| Check | Pass criterion to record before maintenance |
|---|---|
| OS and activation | Target edition is correct; activation method works |
| Network | Required addresses, name resolution, and remote management work |
| Hosted roles and applications | Each named service starts and completes a real test transaction |
| User access | A representative user can reach the service and perform an authorized task |
| Operations | Scheduled tasks, backup jobs, and monitoring agents report normally |
Set the latest time to begin recovery using your window and measured restore duration. If service must return by 06:00, leave time before then for the tested restore and its checks. Treat a failed critical transaction, missing data, broken required access, or the recovery deadline as an abort. Name who makes the go or recovery call and how users will hear about it.
Step 7: Choose delivery only after the checks pass
Confirm the license, activation method, installation resources, vendor approvals, restore test, and maintenance checklist. Check Windows Server 2025 release health for issues affecting your hardware or workload just before the change.
Microsoft documents two delivery routes for an eligible server:
- Installation media: Make the Windows Server 2025 media available to the running server. Start
setup.exefrom the existing Windows installation. On the edition page, pick the edition in your plan. An upgrade keeps the same edition by default, and you can step up from Standard to Datacenter but not down. On the next page, select Keep files, settings, and apps. That option keeps installed applications as well as roles and data. Don’t continue with an option that keeps less. - Windows Update: Microsoft makes an optional Windows Server 2025 feature-update offer available to eligible servers running Windows Server 2019 or 2022. The offer doesn’t appear on its own. Microsoft’s in-place upgrade guide lists two prerequisites. First, install the 2026-03 cumulative update or later: KB5078766 for Windows Server 2022, or KB5078752 for Windows Server 2019. Second, opt in by creating the DWORD value
AllowWindowsServerFeatureUpdateset to1underHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AllowWindowsServerFeatureUpdate. Your update-management policy can still block the offer. If an offer appears, review how any third-party update tool handles it and its approval.
Screen wording can vary. If Setup doesn’t offer the expected retention option, cancel and investigate.
Step 8: Upgrade, validate, and accept or recover
At the start of the approved window, confirm the latest backup and record the start time. Run the chosen upgrade method and follow its prompts. When the server returns, rerun the OS checks from Step 1 and every service test from Step 6. Compare them with the baseline. Setup finishing doesn’t mean the service passed.
If every required test passes before the deadline, record the new OS version, activation status, test evidence, and acceptance time. If an abort condition occurs, stop troubleshooting at the agreed deadline. Use the tested recovery procedure to restore the pre-upgrade backup. Return the server and data to their documented prior state, then rerun the service tests before reopening access. Keep your backup system’s boot media, credentials, storage location, and restore steps in the change record.
Configuration: Keep the Decision Record Usable
During an outage, one short decision record beats a folder of scattered screenshots.
| Field | Record |
|---|---|
| Source and target | OS version, edition, installation type, and chosen Server 2025 edition |
| Support | Microsoft path and role guidance; vendor confirmation for each application and agent |
| Delivery | Approved installation media or optional Windows Update route |
| Recovery | Backup ID and location, tested restore duration, recovery access, and written steps |
| Acceptance | Named service tests, pass criteria, owner, and latest recovery start time |
Keep the record and installation resources available if the server goes offline. For a physical server, check storage and network driver support. A UPS can also protect a long window from a short power cut. For a virtual server, coordinate recovery storage and capacity with the host team. These checks matter more than how you deliver Setup.
Tips and Troubleshooting
Setup will not retain applications and settings
Likely cause: The media, edition, installation type, or source path doesn’t match a supported in-place combination.
Fix: Cancel Setup. Compare Step 1’s inventory with Microsoft’s supported path guidance. Get the correct media or plan a migration. Don’t choose an option that removes required applications or data.
A role or application has no confirmed Server 2025 support
Likely cause: OS path support and workload support require separate checks.
Fix: Check Microsoft’s role guidance and the vendor’s requirements for your installed version. Upgrade the application first if the vendor directs you to. Otherwise, use its supported migration process to move the workload to a new server. Keep the in-place change at no-go until you resolve the dependency.
The Windows Update offer is missing
Likely cause: The optional offer is conditional on eligibility, applicable prerequisites, and update-management policy. It is not universally available to all Windows Server 2019 and 2022 systems.
Fix: Recheck the source version and path. Confirm that the 2026-03 cumulative update or later is installed (KB5078766 on Server 2022, KB5078752 on Server 2019) and that the AllowWindowsServerFeatureUpdate opt-in value from Step 7 is set to 1. Then inspect your update approvals and check again. If the server is eligible, installation media is another Microsoft-documented route.
The backup job passed, but restore has never been tested
Likely cause: Job completion confirms that a backup ran. It does not confirm that the service can be restored.
Fix: Delay the change. Restore to an isolated target, run service tests, measure the time, and document recovery-file access. Repair any failed backup or recovery step before rescheduling.
The OS upgraded, but a critical service fails
Likely cause: A retained role, application, binding, or agent may fail after the OS change.
Fix: Use your written test results and deadline. Investigate within the time budget. If a critical check still fails or the recovery start time arrives, restore the tested pre-upgrade backup and validate the service. Don’t count on an uninstall option.
Wrapping Up
| Step | Action | Applies To |
|---|---|---|
| 1–4 | Confirm path, roles, and vendor support | Every candidate server |
| 5–6 | Test restoration and set service-based abort criteria | Every approved change |
| 7–8 | Choose delivery, upgrade, then accept or recover | Eligible member servers |
An in-place upgrade is reasonable when each dependency has a supported path and a tested restore fits your service deadline. I’d skip the change if all you have is a successful backup job. Measure the restore and set the abort time first.