Forum Discussion
Travis_78
Dec 05, 2022Iron Contributor
OneDrive with FSlogix in an AVD environment how to prevent profile bloat
We are implementing onedrive to hold known folders (Documents, Pictures, Desktop) and want these files to be "on demand" by default. We have it set via GPO. The main question is, how do I make sure t...
Varun_Ghildiyal
Mar 07, 2023Iron Contributor
It sounds like you are implementing OneDrive Known Folder Move and want to ensure that files are dehydrated within a certain timeframe.
To address your first question about Storage Sense, it is correct that Storage Sense only runs once per day by default. However, you can configure Storage Sense to run more frequently or on a custom schedule. To do this, you can use Group Policy to configure the "Configure Storage Sense schedule" setting under "Computer Configuration\Administrative Templates\System\Storage Sense".
As for your second question about OneDrive with FSLogix profiles using Storage Sense, there is not currently a Microsoft-supported solution for this specific scenario. However, there are a few options you can consider:
Use third-party tools: There are third-party tools available that can help manage the storage used by OneDrive Known Folder Move, such as 2BrightSparks' SyncBackPro or Insync. These tools can be configured to automatically remove files that have not been accessed within a certain timeframe.
Use a script or scheduled task: You could also create a script or scheduled task that periodically checks for files that have not been accessed within a certain timeframe and removes them. This can be done using PowerShell or another scripting language.
Use a combination of Storage Sense and third-party tools or scripts: You could use Storage Sense to dehydrate files that have not been accessed within a certain timeframe, and then use a third-party tool or script to remove any remaining files that have not been accessed within a longer timeframe.