Want to force enable Storage Sense for all users and disable their ability to switch it off:
You will want to navigate to the following registry key:
HKLM\SOFTWARE\Policies\Microsoft\Windows\StorageSense
There, create a new REG_DWORD
value named AllowStorageSenseGlobal
and set it to 1
.
Here’s a helper script to automate this: