Skip to content

Instantly share code, notes, and snippets.

@he3als
Last active May 21, 2023 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save he3als/3d9dcf6e796aa920c24a98130165fb17 to your computer and use it in GitHub Desktop.
Save he3als/3d9dcf6e796aa920c24a98130165fb17 to your computer and use it in GitHub Desktop.
Storage Sense reference
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy]
; enable Storage Sense
; also the Automatic User content cleanup option
"01"=dword:00000001
; schedule of Storage Sense
; 0 = During low free disk space
; 1 = Every day
; 7 = Every week
; 1e (hex) = Every month
"2048"=dword:00000007
; run Storage Sense (?)
"1024"=dword:00000001
; recycle bin cleanup
"08"=dword:00000001
; recycle bin cleanup schedule
; 0 = Never
; 1 = Every day
; 7 = Every week
; e (hex) = Every fortnight
; 1e (hex) = Every month
; 3c (hex) = Every two months
"256"=dword:0000001e
; enable temp file cleanup
"04"=dword:00000001
; enable download cleanup
"32"=dword:00000000
; download folder cleanup schedule (0 disable)
; 0 = Never
; 1 = Every day
; 7 = Every week
; e (hex) = Every fortnight
; 1e (hex) = Every month
; 3c (hex) = Every two months
"512"=dword:00000000
; OneDrive cleanup
; also in OneDrive subkeys
; 0 or 1, enable or disable
"02"=dword:00000001
; schedule
; 0 = Never
; 1 = Every day
; 7 = Every week
; 1e (hex) = Every month
"128"=dword:0000001e
; probably to do with OneDrive (?)
"CloudfilePolicyConsent"=dword:00000001
; probably shouldn't be touched, as they seem to be volatile
; "StoragePoliciesLastTrigger"=hex:c3,1b,5d,44,05,89,d9,01
; "StoragePoliciesChanged"=dword:00000001
; "StoragePoliciesNotified"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy\OneDrive!*]
; the * is meant to be a wildcard above, it's not an actual key
; 0 or 1, enable or disable
"02"=dword:00000001
; schedule
; 0 = Never
; 1 = Every day
; 7 = Every week
; 1e (hex) = Every month
"128"=dword:0000001e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment