Why can't I uncompress my vhd file

Wisdom Enehikhare 25 Reputation points
2023-01-17T22:42:55.93+00:00

So early in the say while using my laptop I noticed I was running out of space and needed more,the biggest space hugger was my vhd so obviously I tried to do something about it sadly I saw compressing and thought is would work(it didn't) so I was like that's fine I'll just de compress it since I couldn't enter the file but every time I tried it kept freezing when I said OK/apply(not everything just the advance attributes tab) my vhd is 318gigs big whilst my HD is only 2gigs Pls help I'm Actually getting so annoyed

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,828 questions
0 comments No comments
{count} vote

Accepted answer
  1. Anonymous
    2023-01-18T18:20:34.0966667+00:00

    Be sure to detach it first.

    Detach VHD

    then use diskpart to compact it.

    https://linhost.info/2011/01/windows-how-to-compact-a-dynamic-vhd/

    --please don't forget to upvote and Accept as answer if the reply is helpful--


1 additional answer

Sort by: Most helpful
  1. Anonymous
    2023-01-17T23:17:19.7366667+00:00

    Something here could help.

    https://www.sikich.com/insight/how-to-compact-dynamic-vhd-and-vhdx-files-in-hyper-v-2012-and-newer/

    --please don't forget to upvote and Accept as answer if the reply is helpful--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.