en-US windows computer

Allow Storage Sense

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: At least Windows Server 2016, Windows 10 Version 1903

Path in the GPO console

Computer Configuration\Administrative Templates\System\Storage Sense

Description

Storage Sense can automatically clean some of the user’s files to free up disk space. By default, Storage Sense is automatically turned on when the machine runs into low disk space and is set to run whenever the machine runs into storage pressure. This cadence can be changed in Storage settings or set with the "Configure Storage Sense cadence" group policy. Enabled: Storage Sense is turned on for the machine, with the default cadence as ‘during low free disk space’. Users cannot disable Storage Sense, but they can adjust the cadence (unless you also configure the "Configure Storage Sense cadence" group policy). Disabled: Storage Sense is turned off the machine. Users cannot enable Storage Sense. Not Configured: By default, Storage Sense is turned off until the user runs into low disk space or the user enables it manually. Users can configure this setting in Storage settings.

Registry

HKLM Software\Policies\Microsoft\Windows\StorageSense

Value name: AllowStorageSenseGlobal

Enabled: AllowStorageSenseGlobal = 1

Disabled: AllowStorageSenseGlobal = 0

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/Storage/AllowStorageSenseGlobal
Device Since Windows 10, version 1903 [10.0.18362] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

CSP values
  • 1 - Allow.
  • 0 (Default) - Block.

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Allow Storage Sense
; State: Enabled
; Supported on: At least Windows Server 2016, Windows 10 Version 1903

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\StorageSense]
"AllowStorageSenseGlobal"=dword:00000001
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Allow Storage Sense
# State: Enabled
# Supported on: At least Windows Server 2016, Windows 10 Version 1903

$path = 'HKLM:\Software\Policies\Microsoft\Windows\StorageSense'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'AllowStorageSenseGlobal' -Value 1 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview