Windows error 0xC03A001B, -1069940709

Detailed Error Information

ERROR_VHD_INVALID_TYPE[1]

MessageThe requested operation cannot be performed on a virtual disk of this type.
Declared inwinerror.h
HRESULT analysis: flags: SR; facility: 58 (FACILITY_USERMODE_VHD); error: 27 (more)

Questions

1vote
1answer

0xC03A001B error while trying to compact VHD

What can be the reason of such error? I tried to compact both via DISKPART and Optimize-Vhd commandlet. Via DISKPART I get following error: DISKPART> compact vdisk DiskPart has encountered an error: The requested operation cannot be performed on a virtual disk of this type. See the System Event Log [...] read more
powershell
hyper-v
vhd
diskpart

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0