Forum Discussion

Rajender_Singh_Rawat's avatar
Rajender_Singh_Rawat
Copper Contributor
Mar 06, 2023

FSLogix and Intune

Hey guys,

 

I also have a question around Intune + FSLogix + AVD

We are deploying Windows apps using Intune to our Win10 multi session AVD machines and using FSLogix as a profiling solution. The issue I am facing is, when I first login to my AVD with few set of Apps on it, FSLogix saves my profile and next day when I remove the apps form my AVD machines using Intune, and login back the apps still remain there but as a stale entry (no icon). so in short, the FSLogix profile says I have the app installed last time when I was logged of but AVD & Intune says the app is gone. I am looking for a solution to it so that the end user does not get the fake icons on start menu & task bar (if pinned earlier).

5 Replies

  • Rajender_Singh_Rawat 

    It sounds like there might be some inconsistency between the information stored in the FSLogix profile and the actual state of the AVD machine as managed by Intune. One potential solution is to configure FSLogix to perform a cleanup of stale entries during logon or logoff.

    You can configure FSLogix to clean up stale entries by modifying the "Profile Container" settings in the FSLogix configuration file (i.e., fslogix\ProfileContainer\ProfileContainerOffice365.xml). Specifically, you can set the "CleanupStaleUserDirectoriesOnLogoff" parameter to "true" to enable automatic cleanup of stale user directories during logoff.

    Another potential solution is to use a PowerShell script to perform a cleanup of stale entries. The script could be configured to run at logon or logoff and could check for any discrepancies between the information stored in the FSLogix profile and the actual state of the AVD machine as managed by Intune. If any discrepancies are found, the script could remove the stale entries from the Start menu and taskbar.

    To further troubleshoot the issue, you may want to check the event logs on the AVD machines and in the Intune console to see if there are any errors or warnings related to the deployment and removal of apps.

Resources