Azure Windows VM update failed in the SAFE_OS phase with an error during the BOOT operation

ckunkel 1 Reputation point
2025-02-19T06:20:20.56+00:00

Got this message after running a Windows in-place upgrade from 2016 to 2022:

0xC1900101 - 0x20017 The installation failed in the SAFE_OS phase with an error during the BOOT operation

The C: drive has 100G free.  I checked to make sure a B2s instance size supports windows 2022 (it does).  Nothing in the Event Logs seems to help identify the issue.  Dism /online /cleanup-image /Checkhealth doesn't show any problems.   No antivirus is running.  Wondering if it's a driver issue?  There IS one "unknown device" in device manager that has a warning on it, but I have no idea what device it is.   Any ideas why what I can do to make this upgrade work?

TIA!

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

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.