Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

wsl storage does not release

wsl --shutdown
diskpart
# open window Diskpart
select vdisk file="C:Users<user>AppDataLocalPackagesCanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgscLocalStateext4.vhdx"
attach vdisk readonly
compact vdisk
detach vdisk
exit
Source by github.com #
 
PREVIOUS NEXT
Tagged: #wsl #storage #release
ADD COMMENT
Topic
Name
8+2 =