I've recently set up a new Citrix environment where I've enabled OneDrive along with FSLogix for managing user profiles. I followed best practices with Group Policy settings including file on demand and daily storage optimization. However, I'm finding that my profile size isn't decreasing despite these settings; in fact, it seems to grow when I engage in activities like watching videos. I'm looking for insights or solutions that allow me to effectively use OneDrive while keeping my profile size as small as possible. Has anyone had similar experiences?
2 Answers
Have you checked the FSLogix logs? They can provide a lot of insight into why your disk compaction isn't working as expected. Look in C:program datafslogixlogs for the details. It could offer clues about the profile size issue.
Just a heads up, VHDX disks don't automatically shrink unless you're using the automatic compaction feature in the latest FSLogix versions. If you've set up Storage Sense and Files On Demand, they clean up eligible files but just leave whitespace. FSLogix will use that whitespace for new data, which means your disk will still expand as you add new files.
Yeah, VHDX compaction has been around in FSLogix for a good while now, so it should help in the right context. Definitely worth exploring it further.

I think the profile needs to exceed 1GB and have over 20% of data eligible for cleanup for compaction to kick in. Maybe your profile's too small if you're just testing it out.