Policy

Allow Storage Sense Temporary Files cleanup

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.

Policy
Pack Microsoft Windows
Category System / Storage Sense
Policy ID 45242b799c3e
Internal name SS_AllowStorageSenseTemporaryFilesCleanup

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\StorageSense\AllowStorageSenseTemporaryFilesCleanup (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\StorageSense\AllowStorageSenseTemporaryFilesCleanup (disabled) = 0

Policy notes

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.

Related policies