Windows

According to customer reports, this month's Patch Tuesday updates are breaking virtual machines on Hyper-V hosts, causing them to no longer boot and display "failed to start" errors.

According to complaints from Windows admins, the issue is triggered after installing KB5031361 and KB5031364 on Windows Server 2019 and Windows Server 2022 systems.

A Microsoft spokesperson told BleepingComputer that the company is aware of the issue and is investigating.

The following errors will be logged to the event viewer when trying to start a VM on an affected Hyper-V system:

  • Failed to start virtual machine TOOLS. Error: 'TOOLS' failed to start.
  • Failed to Power on with Error 'Incorrect function.'
  • Failed to open attachment 'vhdx_path'. Error: 'Incorrect function.'

Administrators with impacted devices have noted that uninstalling the problematic updates resolves the issue, allowing all virtual machines (VMs) to start up without any problems.

This can be accomplished using the Windows Update Standalone Installer (WUSA) tool, which helps install and remove update packages through the Windows Update Agent API.

To fix the Hyper-V boot issues, open an elevated command prompt by clicking the Start menu, typing cmd, right-clicking the Command Prompt application, and choosing 'Run as Administrator.'

Next, run the following commands, depending on what cumulative update you have installed on your system:

wusa /uninstall /kb:5031364
wusa /uninstall /kb:5031361
Hyper-V start failure error
Hyper-V start failure error (Jetze Mellema)

​Microsoft has yet to add this as a known issue to the Windows Health Dashboard, but, nonetheless, when it released the buggy cumulative updates, the company revised the support document for KB5031364, including and removing a known issue related to VMware ESXi.

"After installing this update on guest virtual machines (VMs) running Windows Server 2022 on some versions of VMware ESXi, Windows Server 2022 might not start up," the now-removed known issue said.

"Only Windows Server 2022 VMs with Secure Boot enabled are affected by this issue. Affected versions of VMware ESXi are versions vSphere ESXi 7.0.x and below."

Redmond also released emergency out-of-band Windows Server updates in January and December 2022 to fix known issues that caused Hyper-V VMs to no longer start and problems creating new VMs on some Hyper-V hosts.

Microsoft acknowledged a similar issue earlier this year affecting VMware ESXi VMs with Secure Boot after installing February 2023 cumulative updates. VMware issued emergency vSphere ESXi updates that fixed a bug causing boot issues after failing to locate a bootable operating system.

Update October 17, 13:23 EDT: Added statement from Microsoft.

Related Articles:

Microsoft pushes emergency fix for Windows Server 2019 update errors

Microsoft: Windows Server 2019 updates fail with 0x800f0982 errors

Microsoft resumes rollout of Windows 11 KB5039302 update for most users

Former IT employee gets 2.5 years for wiping 180 virtual servers

Microsoft fixes VPN failures caused by April Windows updates