Best Way to Upgrade Windows 11 Azure VM: In-Place vs New VM
Asked by
ferryboat.horn
I'm looking for advice on upgrading my Windows 11 21H2 Azure virtual machine, which is currently out of support. My goal is to upgrade to version 23H2 or 24H2 while keeping all my apps and data intact. However, Windows Update isn't providing the upgrade option. I'm considering a few approaches: mounting the ISO and running setup.exe, using the Windows Installation Assistant, or, as a last resort, performing a clean install. I'd love to hear from anyone who has upgraded VMs beforeโwhat method worked best for you? Did you face any driver or compatibility issues? Also, did you have to handle TPM or Secure Boot checks? What potential pitfalls should I be aware of before starting this upgrade? Any tips would be greatly appreciated, especially if you manage multiple VMs in a professional setting!
Answers
Creating a new VM and migrating your services is the best practice. In-place upgrades might seem appealing, but Iโve seen too many issues arise from them. Itโs worth the extra effort to start fresh.
Reply to this answer
Honestly, just create a new VM and migrate your applications there. Upgrading in-place can be risky, and cloud solutions generally favor spinning up new instances instead. Windows upgrades can often lead to problems down the line.
Reply to this answer
Have you tried applying the latest updates manually? Just because your version is out of support doesnโt mean you canโt check for updatesโI've updated VMs successfully, even on older versions. If that's not working, consider cleaning out the SoftwareDistribution folder and restarting to see if that helps.
Reply to this answer
Skipping compatibility checks can make in-place upgrades easier. Iโve had success with this approachโjust make sure you use the Media Creation Tool when the Update wonโt cooperate. It's smoother than you might think, although the usual precautions apply.
Reply to this answer
Make absolutely sure you have backups before trying to upgrade! If something goes wrong, roll back and reassess your strategy. If you're managing a CRM or similar critical system, it might be worth trying the upgrade, but more often than not, a clean start with a new VM is the way to go.
vorA113: Definitely back everything up! You might want to copy the ISO files to a local folder and then run the upgrade from there.
37th floor evacuation: Good call! Having that backup will save you a lot of headache.
Reply to this answer
Add your answer
Answers are reviewed before publication.
shale.layer: Just a reminder though, in-place upgrades often leave systems messy. Iโve seen so many cases where it leads to more trouble. Just something to keep in mind!
+75 basis points: Exactly! That's why I always encourage having a backup plan.