How to analyze the disk space of a virtual profile ?

Андрей Михалевский 3,051 Reputation points
2021-06-21T04:57:03.42+00:00

Hi.

Many users have profiles that weigh more than 10GB. I decided to analyze it.

I attached a user profile and opened it with TreeSize:

107389-%D1%81%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA.png

  • I log in to the server as this user and see the following:

107359-%D1%81%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA1.png

How is this possible? Why can't I see all the files in the active profile?

I copied the profile to my disk, opened it and checked it with the program and I see different folder sizes.

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.
488 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nick Panaccio 11 Reputation points
    2021-07-02T11:04:45.15+00:00

    Are you actively shrinking/compacting your containers? If not, you should be. If users delete data in their profile, that does not automatically reduce the size of the actual container, which is what you're seeing. You need to shrink them using one of the many scripts available:

    Jim Moyle/FSLogix: https://github.com/FSLogix/Invoke-FslShrinkDisk
    Kasper Johansen: https://github.com/kaspersmjohansen/FSLogix
    ShrinkFSL: http://www.citrixirc.com/?p=1052

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.