⚡ PowerShell 5.1+
Check "Disable Storage Sense Low-Space Notifications" Status
Reads the current registry value behind the "Disable Storage Sense Low-Space Notifications" tweak so you can confirm whether it's applied.
Test-DisableStorageSenseNotificationsStatus.ps1
<#
.SYNOPSIS
Checks whether "Disable Storage Sense Low-Space Notifications" is currently applied.
.DESCRIPTION
Reads HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy \ 512 and reports its current value,
or reports that it isn't set (falling back to the Windows default).
.EXAMPLE
.\Test-DisableStorageSenseNotificationsStatus.ps1
#>
[CmdletBinding()]
param()
$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy'
$value = Get-ItemProperty -Path $regPath -Name '512' -ErrorAction SilentlyContinue
if ($null -eq $value) {
Write-Host "'512' is not set at $regPath (using the Windows default)." -ForegroundColor Yellow
} else {
Write-Host "Current value of '512': $($value.'512')" -ForegroundColor Green
}