Policy
Allow Storage Sense Temporary Files cleanup
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, WindowsServer2016
When Storage Sense runs, it can delete the user’s temporary files that are not in use. If the group policy "Allow Storage Sense" is disabled, then this policy does not have any effect. Enabled: Storage Sense will delete the user’s temporary files that are not in use. Users cannot disable this setting in Storage settings. Disabled: Storage Sense will not delete the user’s temporary files. Users cannot enable this setting in Storage settings. Not Configured: By default, Storage Sense will delete the user’s temporary files. Users can configure this setting in Storage settings.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\StorageSense\AllowStorageSenseTemporaryFilesCleanup | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAllow Storage SenseAt least Windows Server 2016, Windows 10 Version 1903
- ComputerConfigure Storage Sense cadenceAt least Windows Server 2016, Windows 10 Version 1903
- ComputerConfigure Storage Sense Cloud Content dehydration thresholdAt least Windows Server 2016, Windows 10 Version 1903
- ComputerConfigure Storage Sense Recycle Bin cleanup thresholdAt least Windows Server 2016, Windows 10 Version 1903
- ComputerConfigure Storage Storage Downloads cleanup thresholdAt least Windows Server 2016, Windows 10 Version 1903