Automatically Make OneDrive Files On-Demand Online-only in Windows 10  

Page 1 of 3 123 LastLast
    Automatically Make OneDrive Files On-Demand Online-only in Windows 10

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10

    How to Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only in Windows 10
    Published by Category: Apps & Features
    03 Jul 2020
    Designer Media Ltd

    How to Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only in Windows 10


    OneDrive Files On-Demand is available starting with Windows 10 build 16215 and OneDrive app build 17.3.7064.1005 or later.

    OneDrive Files On-Demand helps you access all your files in OneDrive without having to download all of them and use storage space on your device.

    When you turn on Files On-Demand, you’ll see all your files in File Explorer and get new information about each file. New files created online or on another device appear as online-only files, which don’t take up space on your device. When you’re connected to the Internet, you’ll be able to use the files like every other file on your device.

    You’ll know that Files On-Demand is turned on if you see the status icons next to your files in File Explorer:

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-online_only_files.png Online-only files don’t take up space on your computer. You see a cloud icon for each online-only file in File Explorer, but the file doesn’t download to your device until you open it. You can’t open online-only files when your device isn’t connected to the Internet.

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-locally_available_files.png When you open an online-only file, it downloads to your device and becomes a locally available file. You can open a locally available file anytime, even without Internet access. If you need more space, you can change the file back to online. Just right-click the file and select Free up space.

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-always_available_files.png Only files that you mark as Always keep on this device have the green circle with the white check mark. These files download to your device and take up space, but they’re always there for you even when you’re offline.

    See also: OneDrive Files On-Demand and Storage Sense for Windows 10 | Microsoft Office

    Starting with Windows 10 build 17692, Storage Sense picks up a new skill adding the ability to automatically make any downloaded Files On-Demand online-only if you haven’t used them in a certain number of days.

    Starting with at least Windows 10 build 18282, you can now configure a group policy to specify when Storage Sense (if turned on or enabled) will automatically make any downloaded files from OneDrive Files On-Demand as online-only for all users.

    Content flagged as Always keep on this device will not be affected.


    This tutorial will show you how to specify when Storage Sense will make any downloaded OneDrive Files On-Demand online-only if they haven’t been used in a specified number of days for your account or all users in Windows 10.

    Issues using OneDrive Files On-Demand on some devices after updating to Windows 10, version 2004 | Microsoft Support



    Contents

    • Option One: Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for Current User in Settings
    • Option Two: Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for Current User in Registry Editor
    • Option Three: Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for All Users in Local Group Policy Editor
    • Option Four: Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for All Users in Registry Editor






    OPTION ONE

    Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for Current User in Settings


    1 Open Settings, and click/tap on the System icon.

    2 Click/tap on Storage on the left side, and click/tap on the Configure Storage Sense or run it now link under Storage on the right side. (see screenshot below)

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-onedrive_files_on_demand_storage_sense-1.jpg

    3 Under the Locally available cloud content section, select Never, 1 day, 14 days, 30 days (default), or 60 days in the OneDrive drop menu for what you want. (see screenshot below)

    This setting will only be available if you have OneDrive Files On-Demand turned on.


    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-onedrive_files_on_demand_storage_sense-2.png

    4 You can now close Settings if you like.






    OPTION TWO

    Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for Current User in Registry Editor


    1 Press the Win + R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor.

    2 Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy\OneDrive!S-1-5-21-788078031-2691013130-2060433956-1001!Personal|901DDE64673783B7!132

    The part highlighted in red in the key above will be unique for each user. It is the SID of the current user.

    This registry key will only be available if you made a change using Option One at least one time.

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-onedrive_files_on_demand_storage_sense_regedit-1.png

    3 Do step 4 (Never) or step 5 (specify days) below for what you would like to do.


     4. To Never "Make cloud files online-only if you haven't used them" for Current User

    A) In the right pane of the OneDrive!SID!Personal|901DDE64673783B7!132 key, double click/tap on the 02 DWORD to modify it. (see screenshot below step 2)

    B) Type 0 (number), and click/tap on OK. (see screenshot below)

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-onedrive_files_on_demand_storage_sense_regedit-3.png

    C) In the right pane of the OneDrive!SID!Personal|901DDE64673783B7!132 key, double click/tap on the 128 DWORD to modify it. (see screenshot below step 2)

    D) Type 0 (number), click/tap on OK, and go to step 6 below. (see screenshot below)

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-onedrive_files_on_demand_storage_sense_regedit-4.png


     5. To "Make cloud files online-only if you haven't used them in" Specified Days for Current User

    A) In the right pane of the OneDrive!SID!Personal|901DDE64673783B7!132 key, double click/tap on the 02 DWORD to modify it. (see screenshot below step 2)

    B) Type 1, and click/tap on OK. (see screenshot below)

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-onedrive_files_on_demand_storage_sense_regedit-5.png

    C) In the right pane of the OneDrive!SID!Personal|901DDE64673783B7!132 key, double click/tap on the 128 DWORD to modify it. (see screenshot below step 2)

    D) Select (dot) Decimal, type 1, 14, 30 (default), or 60 for how many days you want, click/tap on OK, and go to step 6 below. (see screenshot below)

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-onedrive_files_on_demand_storage_sense_regedit-2.png

    6 You can now close Registry Editor if you like.






    OPTION THREE

    Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for All Users in Local Group Policy Editor


    This option is only available starting with at least Windows 10 build 18282.

    You must be signed in as an administrator to do this option

    If specified, this option will override Option One and Option Two for all users on the computer.

    The Local Group Policy Editor is only available in the Windows 10 Pro, Enterprise, and Education editions.

    All editions can use Option Four.


    1 Open the Local Group Policy Editor.

    2 Navigate to the key below in the left pane of the Local Group Policy Editor. (see screenshot below)

    Computer Configuration\Administrative Templates\System\Storage Sense

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-storage_sense_onedrive_gpedit-1.jpg

    3 In the right pane of Storage Sense in Local Group Policy Editor, double click/tap on the Configure Storage Cloud Content dehydration threshold policy to edit it. (see screenshot above)

    4 Do step 5 (specify) or step 6 (default) below for what you would like to do.


     5. To Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for All Users

    A) Select (dot) Enabled, enter a number between 0 to 365 for how may days you want, click/tap on OK, and go to step 7 below. (see screenshot below)

    Entering 0 will be for never.


     6. Default User Choice for when Storage Sense Automatically Make OneDrive Files On-Demand Online-only

    A) Select (dot) Not Configured or Disabled, click/tap on OK, and go to step 7 below. (see screenshot below)

    Not Configured is the default setting.

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-storage_sense_onedrive_gpedit-2.png

    7 When finished, you can close the Local Group Policy Editor if you like.






    OPTION FOUR

    Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for All Users in Registry Editor


    This option is only available starting with at least Windows 10 build 18282.

    You must be signed in as an administrator to do this option

    If specified, this option will override Option One and Option Two for all users on the computer.


    1 Press the Win + R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor.

    2 Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\StorageSense

    If you do not have the StorageSense key, right click on the Windows key, click/tap on New, click/tap on Key, type StorageSense for the name, and press Enter.

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-storage_sense_onedrive_regedit-1.jpg

    3 Do step 4 (specify) or step 5 (default) below for what you want to do.


     4. To Specify when Storage Sense Automatically Make OneDrive Files On-Demand Online-only for All Users

    A) In the right pane of the StorageSense key, double click/tap on the ConfigStorageSenseCloudContentDehydrationThreshold DWORD to modify it. (see screenshot below step 2)

    If you do not have a ConfigStorageSenseCloudContentDehydrationThreshold DWORD, right click on an empty area in the right pane of the StorageSense key, click/tap on New, click/tap on DWORD (32-bit) Value, type ConfigStorageSenseCloudContentDehydrationThreshold for the name, and press Enter.


    B) Select (dot) Decimal, enter a number between 0 to 365 for how may days you want, click/tap on OK, and go to step 6 below. (see screenshot below)

    Entering 0 will be for never.

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-storage_sense_onedrive_regedit-2.png


     5. Default User Choice for when Storage Sense Automatically Make OneDrive Files On-Demand Online-only

    A) In the right pane of the StorageSense key, right click on the ConfigStorageSenseCloudContentDehydrationThreshold DWORD, and click/tap on Delete. (see screenshot below step 2)

    B) Click/tap on Yes to confirm, and go to step 6 below. (see screenshot below)

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-storage_sense_onedrive_regedit-3.png

    6 You can now close Registry Editor if you like.


    That's it,
    Shawn






  1. Posts : 7,898
    Windows 11 Pro 64 bit
       #1

    I turned on Files on Demand but my I see no mention of locally available could content under Settings. I'm on v 17134.228.
      My Computers


  2. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Hello Steve,

    I'm afraid this feature isn't available until build 17692 and higher.
      My Computers


  3. Posts : 7,898
    Windows 11 Pro 64 bit
       #3

    Brink said:
    Hello Steve,

    I'm afraid this feature isn't available until build 17692 and higher.
    Oh I see now - perhaps I should learn to read.
      My Computers


  4. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    LOL, what would be the fun in that.
      My Computers


  5. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #5

    Tutorial updated to add Option 3 and 4 for new policy options.
      My Computers


  6. Posts : 181
    Windows 10 Pro x64
       #6

    Doesn't seem to work for me on Win 10 Pro 1903: I've set to free up OneDrive space after 1 day of unused file (online only) but when I check my local pc OneDrive subdirs I see same files are still physically on the disk after many days and they have the green checkmark (not full green - keep them local -).
      My Computer


  7. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #7

    hexaae said:
    Doesn't seem to work for me on Win 10 Pro 1903: I've set to free up OneDrive space after 1 day of unused file (online only) but when I check my local pc OneDrive subdirs I see same files are still physically on the disk after many days and they have the green checkmark (not full green - keep them local -).

    Hello hexaae,

    Just to verify, do you have Storage Sense turned on?

    When using OneDrive files on demand, any files marked as Always keep on this device will not be affected by Storage Sense. You might check to make sure they are not checked as Always keep on this device.
      My Computers


  8. Posts : 181
    Windows 10 Pro x64
       #8

    Sure it's all set correctly. I have OneDrive 2019 (Build 19.103.0527.0003):

    Automatically Make OneDrive Files On-Demand Online-only in Windows 10-image.png
      My Computer


  9. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #9

    hexaae said:
    Sure it's all set correctly. I have OneDrive 2019 (Build 19.103.0527.0003):

    As a test, click on the Clean now button under Free up space now in Storage Sense to see if it will apply your OneDrive setting. If it does, then there may be something preventing Storage Sense from automatically running when scheduled.

    Free Up Disk Space Now with Storage Sense in Windows 10
      My Computers


 

Tutorial Categories

Automatically Make OneDrive Files On-Demand Online-only in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:50.
Find Us




Windows 10 Forums