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
installed a fresh VM and will try to reproduce it.
So far when continuing the setup after enable flighting. setup comes up with the "Ready to Install Windows 11"
- Joachim_OtahalMar 04, 2024Iron ContributorThis is creepy - this is way too much "client creep into server OS"...
- MSBernsteinMar 11, 2024
Microsoft
Hi, Karl,
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."- MSBernsteinMar 11, 2024
Microsoft
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 04, 2024MVP
Same result. Does WS 2025 require (v)TPM? From techcommunity answer I understood that's only on later HW but not for VMs.
- Karl-WEMar 04, 2024MVP
So I have now:
- enabled vTPM and VBS / Core Isolation on the VM. This didn't change a thing.
- The procedure is a as follows:
- online phase of the setup runs well until VM restart
- Then there's a short shutdown (about 3 seconds) -
- NO applying phase during shutdown and no applying phase during startup
- The old OS get's immediately booted on first reboot. You do not even see the "rollback" to the old version
- bcdedit will have a leftover entry from setup
This behaviour is very strange, I am open for further diags if you like. Thanks for your time!
This one seems to be very reproducible.
The host OS is now WS b26063 but no change from b26053 when I first posted it.