Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9683

Compact a VHD file created by Disk Management?

$
0
0

My computer is running on Windows 7 64-bit. I used Disk Management to create a new VHD file and made it into a new virtual drive. The size of the disk is 8GB. After using about 3GB, I decided to format it. However after formatting the size of the disk is still 3GB.

I tried diskpart to compact this VHD file and I got this error message

Virtual Disk Service error: The requested operation requires that the virtual disk be attached read only.

So, is there any way to compact this VHD file?


Viewing all articles
Browse latest Browse all 9683

Trending Articles