| Previous | Next |
| ERROR_CTLOG_INCONSISTENT_TRACKING_FILE | ERROR_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE |
ERROR_VHD_RESIZE_WOULD_TRUNCATE_DATA
ERROR_VHD_RESIZE_WOULD_TRUNCATE_DATA means Windows refused to shrink a virtual disk because the requested size could cut off data that still exists on the virtual disk.
Safe resize sequence
- Back up the VM or disk first.
- Shrink supported partitions and file systems inside the guest before shrinking the VHDX on the host.
- Check the disk minimum safe size and do not force a smaller value just because the guest shows free space.
Get-VHD -Path "D:\VMs\disk.vhdx" | Select Path,Size,MinimumSize
Resize-VHD can expand VHD and VHDX files, but shrink operations apply only to VHDX.
Microsoft: Manage virtual hard disks
Looking for a different code? Search another status or error code.