Redirections/Exclusions are added to FSLogix Profile Container to reduce storage consumption; however, a large amount of exclusions in FSLogix Containers can affect performance. An alternative to redirections is to prune/delete data in the profile (e.g. caches, old files etc.). This can be done via two methods:
- a script inside the user session at logoff
- mounting the Container during a maintenance window
Running inside the user session can be done with GPO; however, as more environments move away from Active Directory, they will need an alternative solution to run scripts inside the user session. This approach may require integration with an agent.
Pruning Profile Containers outside of the user session could be achieved by coordinating Container mount and data removal via a virtual machine.
Example PowerShell scripts for inside and outside the user session can be found here: https://github.com/aaronparker/fslogix/tree/main/Profile-Cleanup
Comments (0 comments)