Policy
Allow Storage Sense Temporary Files cleanup
Microsoft Windows
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.
| Scope | Registry location | Type | Enabled value | Disabled value | Copy |
|---|---|---|---|---|---|
| Computer | Path Software\Policies\Microsoft\Windows\StorageSense Value name AllowStorageSenseTemporaryFilesCleanup | REG_DWORD | HKLM 1 | HKLM 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.