[BUG] New-VHD fails with error 0xC03A0014 - Virtual disk support provider not found when creating VM bundle session

Resolved 💬 2 comments Opened Mar 29, 2026 by Wesmanhs Closed Apr 1, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

aWhen attempting to create a virtual hard disk (VHDX) for the Claude VM bundle session, the New-VHD command fails with error code 0xC03A0014 indicating that a virtual disk support provider was not found.

Steps to Reproduce

  1. Open PowerShell as administrator
  2. 2. Set the bundle directory:
  3. ```powershell
  4. $bundleDir = "C:\Users\wesma\AppData\Roaming\Claude\vm_bundles\claudevm.bundle"
  5. ```
  6. 3. Run the New-VHD command:
  7. ```powershell
  8. New-VHD -Path "$bundleDir\sessiondata.vhdx" -Dynamic -SizeBytes 10GB
  9. ```

Error Output

New-VHD : Failed to create the virtual hard disk.
The system failed to create 'C:\Users\wesma\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\sessiondata.vhdx'.
Failed to create the virtual hard disk.
The system failed to create 'C:\Users\wesma\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\sessiondata.vhdx': A virtual disk support provider for the specified file was not found. (0xC03A0014).
At line:2 char:1

CategoryInfo          : NotSpecified: (:) [New-VHD], VirtualizationException
FullyQualifiedErrorId : OperationFailed,Microsoft.Vhd.PowerShell.Cmdlets.NewVhd

Expected Behavior

The VHDX file should be created successfully at the specified path for the Claude VM bundle session.

Environment

  • OS: Windows
  • - Path: C:\Users\wesma\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\
  • - - Command: New-VHD -Path "$bundleDir\sessiondata.vhdx" -Dynamic -SizeBytes 10GB

Additional Context

This error typically indicates that the Hyper-V feature is not enabled or the virtual disk provider is missing on the system. The Claude VM bundle setup process should either check for Hyper-V prerequisites before attempting VHDX creation, or provide a more user-friendly error message with instructions to enable the required Windows features.

What Should Happen?

The New-VHD command should successfully create the sessiondata.vhdx file at the specified path, or Claude Code should detect that Hyper-V is not enabled and provide clear instructions for enabling the required Windows features (e.g., Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All).

Error Messages/Logs

PS C:\WINDOWS\system32> $bundleDir = "C:\Users\wesma\AppData\Roaming\Claude\vm_bundles\claudevm.bundle"
>> New-VHD -Path "$bundleDir\sessiondata.vhdx" -Dynamic -SizeBytes 10GB
New-VHD : Failed to create the virtual hard disk.
The system failed to create 'C:\Users\wesma\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\sessiondata.vhdx'.
Failed to create the virtual hard disk.
The system failed to create 'C:\Users\wesma\AppData\Roaming\Claude\vm_bundles\claudevm.bundle\sessiondata.vhdx': A
virtual disk support provider for the specified file was not found. (0xC03A0014).
At line:2 char:1
+ New-VHD -Path "$bundleDir\sessiondata.vhdx" -Dynamic -SizeBytes 10GB
+
    + CategoryInfo          : NotSpecified: (:) [New-VHD], VirtualizationException
    + FullyQualifiedErrorId : OperationFailed,Microsoft.Vhd.PowerShell.Cmdlets.NewVhd

Steps to Reproduce

a1. Open PowerShell as Administrator

  1. Set the bundle directory variable:
  2. ```powershell
  3. $bundleDir = "C:\Users\wesma\AppData\Roaming\Claude\vm_bundles\claudevm.bundle"
  4. ```
  5. 3. Attempt to create a new virtual hard disk:
  6. ```powershell
  7. New-VHD -Path "$bundleDir\sessiondata.vhdx" -Dynamic -SizeBytes 10GB
  8. ```
  9. 4. Observe the error: VirtualizationException with error code 0xC03A0014

Note: This occurs on a Windows system where Hyper-V may not be enabled or the virtual disk support provider is not installed.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Latest

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Screenshot of the error attached above in the description.

This issue appears to be related to the Hyper-V feature not being enabled on the Windows system. The error code 0xC03A0014 specifically indicates that the virtual disk support provider is missing. Possible workarounds include:

  • Enabling Hyper-V via Windows Features
  • - Running Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All in an elevated PowerShell

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗