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 Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Microsoft\Windows\StorageSense |
Value Name | AllowStorageSenseTemporaryFilesCleanup |
Value Type | REG_DWORD |
Enabled Value | 1 |
Disabled Value | 0 |