Forum Discussion
ISSUE - FIXED - Hyper-V VM In-Place Upgrade (IPU) WS 2022 to WS 2025 b26063 fails
- Mar 20, 2024Update on this investigation:
The Windows Boot team looked over logs from my repro and noticed that the upgrade sequence depends on creating a large (500MB) RAM disk and that ramdisk creation is failing due to not enough memory. Since the documented recommendation for Windows Server with Desktop Experience is 2GB, I turned off Dynamic Memory and set the RAM to 2048 GB.
This resolved the issue for me - in-place upgrade now succeeds.
Karl, can you please see if that same mitigation works for you?
If so, I can follow up with the MSLab owners to see if they can change the memory configuration.
Thanks,
Michael
This is quite odd - we do Server 2022 -> Server 2025 upgrades often in our automation. So, I'd like to figure out what is different.
A few clarifying questions:
1. What generation is the VM?
2. How many GB of RAM? (Doubtful it matters, just checking)
3. Where are you getting the WS2022 image?
4. And from where are you getting the WS2025 image to upgrade to?
I'd like to avoid coming back and saying, "well, I couldn't reproduce it."
Oh, please also include which edition of Server you are using.
I tried the most basic Server 2022 -> Server 2025 upgrade scenario on Hyper-V. I used a Gen 2 VM with 4GB of RAM. I started with a vanilla image of Datacenter with Desktop Experience, Windows Server 2022, with February patches, and then attached an ISO of WS 2025 26063 and ran Setup.exe. It worked fine.
So, let's figure out what's different in your setup.
- Karl-WEMar 13, 2024MVP
MSBernstein I am thankful you are investigating this.
If you like we can have a remote session to figure this out.
I am using mslab (github) with Windows Server 2025 on the metal / host OS and Windows Server 2022 guest VMs. The ISO Origins from 2025 Insider portal and WS 2022 from latest Visual Studio subscription. So no VL / EVAL.
You can contact me via Teams if you like, for a remote session, also if you have questions on mslab.
- Karl-WEMar 13, 2024MVP
MSBernstein could this note from 26080 be related to the issue we're discussing here?
"If you are validating upgrades from Windows Server 2019 or 2022, we do not recommend that you use this build as intermittent upgrade failures have been identified for this build."- MSBernsteinMar 13, 2024
Microsoft
Perhaps, but you saw the same issue on 26053.
I looked up what MSLab is, which I had not been familiar with. I had been running the repro by hand. I'll plan to retry it with MSLab a little later in the week. I do want to get to the bottom of this.