FSLogix redirections.xml supports only folder-level include/exclude behavior within the user profile container. The documented model is:
-
ExcludeCommonFoldersfor well-known folders (Contacts, Desktop, Documents, etc.). -
<Exclude>and<Include>elements that operate on paths under%userprofile%, where the path must be an existing folder path and must not includeC:\Users\%username%. - No documented support for targeting individual files or file patterns inside those folders.
The guidance also emphasizes using minimal and carefully chosen redirections, and there is no mention of file-level granularity or a roadmap/timeline for such a feature. The available options are therefore limited to:
- Excluding whole folders (or well-known folders via
ExcludeCommonFolders). - Using scripts or other processes after sign-in/sign-out to clean up specific files inside the container when exclusions alone are not sufficient. This is explicitly recommended when exclusions do not remove existing data from the profile container.
Because there is no documented capability or configuration for file-level exclusions in redirections.xml, there is no published timeline or indication that such a feature is planned.
For high‑churn log/lock data today, the supported approaches are:
- Restructure application logging so that noisy files live in folders that can be safely excluded at the folder level.
- Use post‑sign‑in or sign‑out scripts to delete or trim specific files inside the container, as recommended for cleaning up excluded content that remains in existing profiles.
- Keep redirections.xml entries minimal to avoid performance impact and unexpected application behavior.
References: