FS Logix - redirect folder - The folder is not being cleared.

Андрей Михалевский 3,051 Reputation points
2021-07-02T06:43:18.093+00:00

Hello.

I have a parameter in Redirections.xml:

<Exclude Copy="0">AppData\LocalLow</Exclude>

I'm looking at the user profile and I see that the folder weighs a lot:

111227-appdata.png

  • Q: Why is the folder not cleared ? Or should I specify the direct path to the folder ? Doesn't recursion work here ?

UPD: I see a problem with other folders as well. Some are cleared, some are not.

111229-temp.png

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
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Leila Kong 3,696 Reputation points
    2021-07-06T07:04:33.49+00:00

    Hello @Андрей Михалевский ,

    Thanks for your query.

    1.Did you try to specify the direct path to the folder such as: <Exclude Copy=”0″>AppData\LocalLow\Adobe</Exclude>?
    2.By default the profile container VHD will contain the entire Windows profile for the user, except for:
    The TEMP (TMP) folder location
    The IE Cache folder location
    Profile Container content : https://video2.skills-academy.com/en-us/fslogix/manage-profile-content-cncpt
    Using Redirections.xml to configure what to copy to a profile with FSLogix : https://social.msdn.microsoft.com/Forums/windows/en-US/029e130e-5892-4d1f-88a7-f8046d78f3b0/using-redirectionsxml-to-configure-what-to-copy-to-a-profile-with-fslogix?forum=FSLogix

    Best regards,
    Leila


    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Андрей Михалевский 3,051 Reputation points
    2021-07-06T07:11:28.19+00:00

    For some reason I do not see these files on the server in the user profile. But if I open virtual disk of user profile with some program that shows disk space occupied, I see additional files. And the problem is that the disk is not compressed less than the disk size any program shows me. So these files stay somewhere in the disk itself but in the profile it's not really there. I thought maybe they were deleted sectors, but applying this script: https://github.com/T13nn3s/Resize-UserProfileDisk with the -ZeroFreeSpace switch had no success.

    0 comments No comments

  3. Leila Kong 3,696 Reputation points
    2021-07-12T07:29:54.693+00:00

    Hello @Андрей Михалевский ,

    Thanks for your response.

    We need to check the FSLogix log file to see if the exclusion works as expected: %ProgramData%\FSLogix\Logs.
    Maybe you're also using another host pool with the same profile where the exclusions doesn’t apply or you use office container which also don’t work with exclusions.

    0 comments No comments

  4. Андрей Михалевский 3,051 Reputation points
    2021-07-12T10:19:43.91+00:00

    I checked, FSLogix works correctly. But in the profile there are some obscure files, which are not visible in the system, but can be seen by third-party programs. Because of this, the disk is not compressed properly.


  5. Андрей Михалевский 3,051 Reputation points
    2021-07-14T06:43:15.827+00:00

    I turn on show hidden folders.

    1. I enter the user's active profile:
      114408-screenshot-1.png
    2. I ask to end the user's session. I open his profile with TreeSize Free, also give myself full rights to all folders.
      114483-screenshot-2.png

    Where in the profile are these files, why are they not deleted? Are these some hidden system files?

    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.