Files on demand, automatic cleanup
When using files on demand over time, OneDrive will start to sync a lot of files which after some time will become inactive. Today the user would have to right-click the OneDrive-folder and select Clean up in order to stop the sync of these files and delete the local files stored on the user's device.
I propose a new optional feature. When files or folders have been inactive for a period of time (say 30 days) I would like OneDrive to automatically clean up, deleting the locally stored files and folders but still keeping them in the cloud.
It should be possible to enable or disable this feature, and also change the how often the OneDrive client should perform the cleanup (ex. every week, every other week, every month).
Windows Storage Sense in RS5 now has the capability to automatically free up disk space by making older, unused, locally available OneDrive files be available online-only. You can read more about how to do this here:
Daniel Viklund commented
Hi Ryan, what is your recommendation now when Windows Virtual Desktop say that you should turn off Storage Sense?
Please implement this feature!
Brian Grinstead commented
This is desperately needed as users do not understand the ramifications of selecting sync everything
@todd lorusso think you should open Support ticket with Microsoft to discuss on this. This is not normal behaviour
Tod Lorusso commented
One Drive DOMINATES ALL my drives....how is that WHAT I SIGNED UP FOR? One Drive makes my files messy, duplicating, sinking all my personal files...how is that what I signed up for? I already pay for One Drive I don't NEED to PAY for MORE memory when many files I don't even want on ONE DRIVE! I didn't SIGN UP FOR ANOTHER PROJECT...(TO CLEAN UP ALL THE MESSES THAT ONE DRIVE CAUSES)!!!
So what is the justification of having having the solid vs open check box if the files are't treated any differently. It's putting the cart before the horse.
Tomáš Hons commented
+ function "set all files ondemand" after logout. After logout OneDrive should safely delete all local files. Super function in case of shared notebook across Company. We have to encrypt local disc now on.
Jonathan Stern commented
+1 for iOS
Faisal Iqbal commented
Just posted same idea on Android section, for Camera Roll photos to automatically remove 30 days old photos from phone which are already uploaded to OneDrive.
Michel Baradosa commented
I believe all files should be available but syncing of cloud files should be only on Demand.
We would love to use OneDrive for business across the organization but we are already afraid of the storage issues because syncing copies all files locally
Judy Unger commented
This is a feature that you would need to be able to turn off. I intend to use OneDrive for offsite storage of my photos, I want it to keep all the files.
Is there an update on this? A co-worker said he was listening to a podcast that said this feature was being released. I couldn't find any info on it searching around though.
I checked the link from Delphi down below and I can turn on Storage Sense but I don't see the Onedrive section. Does this require the 1809 update? Not sure what build 17720 is...
The storage sense stuff is great, but we need a way to control this via Group Policy/SCCM
Brian R. Quigley commented
Yes, thank you for the link @dsghi. That is a terrific solution (I checked my Storage settings and do not have an option for "Locally available cloud content" yet but hope it is coming soon).
Brian R. Quigley commented
I am hopeful that, in the future, all OneDrive On-Demand files that are NOT marked "Always keep on this device" will remain as "cloud only" files whether accessed or not. Maybe all "cloud only" files are downloaded to "Temporary OneDrive Files" similar to the way "Temporary Internet Files" work with the web (but the Temporary OneDrive Files automatically purge at some point...like after the file has been closed (my preference), or overnight OR as a part of the shut down process)?
Essentially, if I want a file to be available locally (i.e. available offline) it has already been marked "Always keep on this device" and it is my expectation that everything else will be "cloud only" and not available offline and NOT saved locally on my machine.
It appears this is coming to Windows 10 directly as part of an update to Storage Sense https://blogs.technet.microsoft.com/filecab/2018/08/30/9205/
Cory Williams commented
I had a customer ask about this capability today, though theirs was a bit more frequent like every 24 hours, but if we can set the timeframe that would be great.
christian otte commented
This would be a much appreciated feature, that lots of costumers would like.
Martin Kallenbach commented
Would like to see a quota of storage to be used for offline synch. So setting this to 1GB e.g., and OneDrive will use that space to keep the last recently used files available, and remove the files not used from the local drive.
Anders Horgen commented
This is an great idea!
It should be possible to enable / disable this feature with GPO and at the same time define the inactive period.
When the CleanUP process occours, it also could be an idea to notify the end user in systemtray ? This notification should be possible to enable / disable via GPO