Enable or Disable Storage Sense in Windows 10  

    Enable or Disable Storage Sense in Windows 10

    Enable or Disable Storage Sense in Windows 10

    How to Enable or Disable Storage Sense to Automatically Free Up Space in Windows 10
    Published by Category: Performance & Maintenance
    08 Apr 2021
    Designer Media Ltd

    How to Enable or Disable Storage Sense to Automatically Free Up Space in Windows 10

    Starting with Windows 10 build 15014, Microsoft has added a new Automatically free up space with Storage Sense option in Storage Settings to automatically get rid of the files you don’t need to save you an extra step when low on disk space. Currently this is only supported for unused temporary files, files in your recycle bin over 30 days, and files in your Downloads folder that haven't changed for over 30 days.

    Starting with Windows 10 build 17720, Storage Sense can now run when your device is low on storage space by default. Once activated, Storage Sense will intelligently run whenever your device runs low on storage space and clear temporary files that your device and applications no longer need.Storage Sense looks for and will remove the following types of files:

    • Temporary setup files
    • Old indexed content
    • System cache files
    • Internet cache files
    • Device Driver packages
    • System downloaded program files
    • Dated system log files
    • System error memory dump files
    • System error minidump files
    • Temporary system files
    • Dated Windows update temporary files
    • …and more.

    Starting with at least Windows 10 build 18282, you can now configure a group policy to enable or disable Storage Sense for all users on the computer.

    This tutorial will show you how to enable or disable Storage Sense to automatically free up space on the PC for all users in Windows 10.

    You must be signed in as an administrator to enable or disable Storage Sense.



    Contents

    • Option One: Enable or Disable Storage Sense to Automatically Free Up Space in Local Group Policy Editor
    • Option Two: Enable or Disable Storage Sense to Automatically Free Up Space using a REG file



    EXAMPLE: Storage Sense disabled and always enabled
    Enable or Disable Storage Sense in Windows 10-storage_sense_disabled-1.jpg Enable or Disable Storage Sense in Windows 10-storage_sense_disabled-2.png
    Enable or Disable Storage Sense in Windows 10-storage_sense_always_enabled-1.jpg Enable or Disable Storage Sense in Windows 10-storage_sense_always_enabled-2.png






    OPTION ONE

    Enable or Disable Storage Sense to Automatically Free Up Space in Local Group Policy Editor


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

    All editions can use Option Two.


    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

    Enable or Disable Storage Sense in Windows 10-storage_sense_gpedit-1.jpg

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

    4 Do step 5 (enable), step 6 (disable), or step 7 (default) below for what you would like to do.


    5 To Always Enable Storage Sense

    A) Select (dot) Enabled, click/tap on OK, and go to step 8 below. (see screenshot below)


    6 To Disable Storage Sense

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


    7 Default Storage Sense for User Choice

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

    This will allow users to be able to turn on or off Storage Sense for their accounts.

    Enable or Disable Storage Sense in Windows 10-storage_sense_gpedit-2.png


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






    OPTION TWO

    Enable or Disable Storage Sense to Automatically Free Up Space using a REG file


    The downloadable .reg files below will modify the DWORD value in the registry key below.

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\StorageSense

    AllowStorageSenseGlobal DWORD

    (delete) = Default
    0 = Disable
    1 = Always enable


    1 Do step 2 (enable), step 3 (disable), or step 4 (default) below for what you want to do.


    2 To Always Enable Storage Sense

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Always_Enable_Storage_Sense_for_all_users.reg

    Download


    3 To Disable Storage Sense

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Disable_Storage_Sense_for_all_users.reg

    Download


    4 Default Storage Sense for User Choice

    This will allow users to be able to turn on or off Storage Sense for their accounts.

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Default_user_choice_to_turn_on-off_Storage_Sense.reg

    Download


    5 Save the .reg file to your desktop.

    6 Double click/tap on the downloaded .reg file to merge it.

    7 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    8 If you like, you can delete the downloaded .reg file if you like.


    That's it,
    Shawn






  1. Posts : 317
    Microsoft Windows 10 x64
       #1

    Bonjour Shawn

    On my computer running 1809 Enterprise (Build 17763.134), "Storage sense" is On



    But, I did not find "Storage sense" within GPEdit


      My Computer


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

    Hello @D4ni3l,

    Just to verify, are you looking under "Computer Configuration" instead of "User Configuration" in gpedit?

    What build do you have installed? I'll check to see if it's available in that build on my system.


    At least you can manually turn it off: Turn On or Off Storage Sense Automatically Free Up Space in Windows 10 | Tutorials


    EDIT:

    It appears that this group policy is only available starting with Windows 10 version 1809, and at least with build 18282.

    I checked with the latest public build 17134.407 of v1803, and the policy is not available in it.

    I checked with the latest public build 17763.134 of v1809, and the policy is not available in it.
      My Computers


  3. Posts : 4,169
    Windows 11 Pro, 22H2
       #3

    @Brink,

    I notice that in Option2, the registry key that you reference for enabling / disabling Storage Sense will enable that option globally. Unfortunately, it has the effect of disabling that option in the GUI. In other words, when you look at the settings for Storage Sense in the GUI, you will see the following message:
    Enable or Disable Storage Sense in Windows 10-image1.jpg

    The following registry entries will enable / disable Storage Sense for the current user without this side effect:

    To enable:
    Code:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy]
    "01"=dword:000000001

    To disable:
    Code:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy]
    "01"=dword:000000000

    I hope that this is helpful!
      My Computers


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

    hsehestedt said:
    @Brink,

    I notice that in Option2, the registry key that you reference for enabling / disabling Storage Sense will enable that option globally. Unfortunately, it has the effect of disabling that option in the GUI. In other words, when you look at the settings for Storage Sense in the GUI, you will see the following message:
    Enable or Disable Storage Sense in Windows 10-image1.jpg

    The following registry entries will enable / disable Storage Sense for the current user without this side effect:

    To enable:
    Code:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy]
    "01"=dword:000000001

    To disable:
    Code:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy]
    "01"=dword:000000000

    I hope that this is helpful!
    Hello Hannes,

    Thank you. Yeah, that's for turning on/off Storage Sense for current user like below instead of enable/disable via policy for all users.

    Turn On or Off Storage Sense Automatically Free Up Space in Windows 10
      My Computers


  5. Posts : 4,169
    Windows 11 Pro, 22H2
       #5

    Thanks!
      My Computers


 

Tutorial Categories

Enable or Disable Storage Sense 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 00:33.
Find Us




Windows 10 Forums