Forum Discussion
Error removing Rule at logoff
Hello folks.
during user logoff Fslogix is trying to remove some rules but get an exception
[ERROR:80070490] Error removing Rule: C:\Users\username\AppData\Local\CrashDumps (Element not found.)
As a result it removes "users profile" and "local_username" folder correctly with no issues, but sends Error to the logs.
It's spamming the logs because it will put error one every excluded folder from redirection.
We don't use any FSLogixAppsRuleEditor or something else, checked by ."\frx.exe list-rules -verbose" it returns - "No rules"
The redections.xml looks like
[...]
<Exclude Copy="0">AppData\Local\CrashDumps</Exclude>
[...]
Is this an known issue ? Thinking it came around with 3.25.202.4223.
Thx
Jens
2 Replies
- Monk1Occasional Reader
Yes, this is a known behavior in FSLogix around that version. The error occurs because the exclusion rule points to a folder that doesn’t exist at logoff, so FSLogix logs it as an error even though the profile cleanup proceeds fine. It’s harmless but can clutter logs.
A few ways to handle it:
- Suppress logging for missing exclusions: Check if your FSLogix version supports LogMissingExclusions=false in frx.ini.
- Verify exclusions: Make sure the folder paths in Redirections.xml exist or adjust them if they might not be present for all users.
- Update FSLogix: Later builds have improved logging behavior for missing folders. If feasible, upgrading can reduce spam in logs.
Basically, it’s more of a cosmetic log issue than a functional problem.
- karsayorCopper Contributor
We have the same issue, I don't know what causes this...