This message was deleted.
# microsoft-fslogix
s
This message was deleted.
b
Most people are using https://github.com/FSLogix/Invoke-FslShrinkDisk by our very own @JimMoyle
m
I was wondering if that was still the current standard. Thanks for verifying! There is the other one shrinkfsl.exe that I’ve used in the past also. But I think this one may be more current/better?
Thank you!
b
It works out of the box with FSL 2210+. Please use the most recent version, which is FSL 2210 HF02. PreReq: • FSL 2210 and later • Defragsvc enabled • Whitespace >= 20% • Containersize +1GB https://learn.microsoft.com/en-us/fslogix/concepts-vhd-disk-compaction
👍 1
j
yes it's fully native now
👍 1
j
Yeah, I put it into the product
👍 1
m
Nice job, that was great to hear
m
Hi all, i´m having some issues here. Enabled it a few month ago, but still some large profiles which are not compacted. Now I noticed, that the GetSupportedSize cant run on these profiles. I had to run manually chkdsk /R on the profile, after this the GetSupportedSize worked and I expect now also the compaction works. Before disk compaction we used (a modified @JimMoyle) script to handle this. Anybody knows, what could case this corruption of the vhdx? Is there a task which should run chkdsk in background on mounted vhdx files (which I may have disbaled in one of the optimazion scripts out there..)? In my current example the vhdx size was 10GB, used space was about 4GB. We´re using native AVD on W10 Multi-Session