ODFC Container still to large after shrinking

Jonas 0 Reputation points
2023-02-16T14:49:06.3233333+00:00

We're using FSLogix for profile management. For some users the ODFC containers have grown large in size.

When I check the vhdx on disk, the size is 10.8 GB. I've then used the Invoke-FslShrinkDisk Script to shrink the disk. That brings it down to 6.4 GB. However when I check the contents of the vhdx, only 2.1 GB are used. How can I shrink it further down?

FSLogix
FSLogix
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
463 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 43,941 Reputation points
    2023-02-17T14:09:11.49+00:00

    Hello there,

    There are various ways for you to address this situation. If you want to do this for a few users, you can use frx command tool with the migrate-vhd modifier and you can find more information here. Another alternative is by using diskpart and the instructions on how to do it are here.

    My storage is running out of space because of FSLogix! https://techcommunity.microsoft.com/t5/fslogix-blog/my-storage-is-running-out-of-space-because-of-fslogix/ba-p/1333170

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more