Objective:
To perform a secure and supported in-place upgrade of a single Domain Controller (DC) running Windows Server 2019 (holding all FSMO roles) to Windows Server 2025.
1. Prerequisites and Planning
Ensure the DC is running Windows Server 2019 Standard or Datacenter (Desktop Experience).
Domain and Forest Functional Level should be at least Windows Server 2012.
Ensure AD DS, DNS, and SYSVOL are healthy.
Minimum of 30–40 GB free disk space.
Backup strategy in place (System State + Full Image).
Temporarily disable or uninstall third-party antivirus software.
2. Pre-Upgrade Tasks
- System State Backup:
wbadmin start systemstatebackup -backuptarget:D:\
- Verify AD Health:
dcdiag /v /c /d /e /s:YourDCName > DCHealthCheck.txt repadmin /replsummary
- Check FSMO Roles:
netdom query fsmo
- Validate SYSVOL and NETLOGON shares:
net share
- Check DNS Resolution:
nslookup domain.local
3. Upgrade Procedure
Mount Windows Server 2025 ISO
Run setup.exe
Select:
"Keep personal files and apps"
Correct edition matching existing license (Standard/Datacenter with GUI)
Accept license terms and begin upgrade
Wait for installation to complete and server to reboot
4. Post-Upgrade Validation
Log into the upgraded server.
- Re-run health checks:
dcdiag repadmin /replsummary netdom query fsmo net share nslookup domain.local
Check Event Viewer for AD DS, DNS, and system logs. Ensure SYSVOL and NETLOGON are shared correctly.
5. Optional: Raise Domain and Forest Functional Levels
Only do this if all DCs are now on Windows Server 2025:
Set-ADForestMode -Identity "domain.local" -ForestMode Windows2025Forest Set-ADDomainMode -Identity "domain.local" -DomainMode Windows2025Domain
6. Recovery Plan
IssueActionBoot failureRestore from full image backupAD corruptionPerform authoritative restore using ntdsutil
DNS/SYSVOL errorsReview Event Viewer, reset shares or services