Skip to content
All lessons

Tech Insights· stephenreescarter.net

How to Shrink a WSL2 Virtual Disk

From stephenreescarter.net

You can use the diskpart tool to compact a VHDX. This allows you to shrink a WSL2 virtual disk file, reclaiming disk space. I went from 100GB to 15GB.

Shared by

Read on stephenreescarter.net

Book a call

Lessons like this one
shape how we build.

Tell us what you’re building. In one call, we’ll show you how our team would approach it.

Tell us what you’re building, and we’ll show you how we’d approach it.

Still prefer the good old email? Contact us