In-Place Upgrade from Windows Server 2016 to 2019/2022 Stuck at 32%

SP RA 0 Reputation points
2024-10-26T15:10:56.4066667+00:00

Hello,

I have been attempting to run an in-place upgrade from our Windows Server 2016 Datacenter Azure VM to Windows Server 2022 Datacenter (following the instructions here)

Every attempt gets stuck at 32% progress. I have tried upgrading to Server 2019 first, and the same behavior occurs.

There is 200 GB+ free space on the OS drive. All third-party antivirus has been uninstalled/disabled. The VM has volume licensing/Azure Hybrid Benefit enabled. I have tried running updates, cleanmgr, and SFC/DISM before attempting the upgrade.

At this point I am starting to accept that I may just need to create a fresh VM and start from scratch, but would REALLY rather not as this server has a lot of apps to reinstall with various license/product keys and I can't guarantee I'll be able to get all of the apps they need reinstalled for them on a fresh VM.

Thanks,
AM

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,802 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,023 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,528 questions
{count} votes

2 answers

Sort by: Most helpful
  1. anashetty 740 Reputation points Microsoft Vendor
    2024-10-28T07:31:34.7666667+00:00

    Hi SP RA,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    We understand from your query that you are experiencing an issue while trying to upgrade windows server 2016 to windows 2019/2022. I have shared troubleshooting steps that I felt will help resolve the issue you reported.

    Run SetupDiag, a diagnostic tool from Microsoft that examines Windows setup log files to identify common issues. It may help identify the specific component or process responsible for the hang. Download the file and run it. For detailed information visit https://learn.microsoft.com/en-us/windows/deployment/upgrade/setupdiag

    Even if you have sufficient space, temporarily increasing the OS disk size can sometimes facilitate the upgrade process. You can expand it and then revert to the original size once the upgrade is finished.

    If the in-place upgrade continues to fail, consider capturing an image of your VM, then attach an OS disk of the target version to preserve your applications and configurations.

    Please let us know if you have any further queries. I’m happy to assist you further. If the answer is helpful, please click "Accept Answer" and "Upvote it" as it can be helpful to others in the community.

    User's image


  2. Hania Lian 17,611 Reputation points Microsoft Vendor
    2024-10-29T03:12:37.08+00:00

    Hello,

    Since you’ve already taken steps, such as ensuring there’s enough free space, disabling antivirus software, and performing system maintenance, there are a few additional troubleshooting steps you could try:

    1、Check the Windows Event Viewer logs (Setup, System, and Application logs) for any errors or warnings that might provide more context about why the upgrade is getting stuck. Look specifically for entries around the time the upgrade begins and when it reaches 32%.

    2、Instead of using an in-place upgrade through Windows Update, consider creating a bootable USB or DVD with the Windows Server 2022 ISO image and perform the upgrade using this media. This method can sometimes resolve issues related to the upgrade process.

    3、Ensure that the VM has sufficient resources, especially memory and CPU. Sometimes, the upgrade process can fail due to insufficient resources.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.