mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-04-03 05:56:25 +00:00
Add option to disable Storage Sense automatic disk cleanup (#507)
This commit is contained in:
@@ -967,6 +967,19 @@
|
|||||||
"MinVersion": null,
|
"MinVersion": null,
|
||||||
"MaxVersion": 22621
|
"MaxVersion": 22621
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"FeatureId": "DisableStorageSense",
|
||||||
|
"Label": "Storage Sense automatic disk cleanup",
|
||||||
|
"ToolTip": "This will disable Storage Sense, which automatically frees up disk space by deleting temporary files, emptying the recycle bin and cleaning up files in the Downloads folder.",
|
||||||
|
"Category": "System",
|
||||||
|
"Action": "Disable",
|
||||||
|
"RegistryKey": "Disable_Storage_Sense.reg",
|
||||||
|
"ApplyText": "Disabling Storage Sense automatic disk cleanup...",
|
||||||
|
"UndoAction": "Enable",
|
||||||
|
"RegistryUndoKey": "Enable_Storage_Sense.reg",
|
||||||
|
"MinVersion": 22000,
|
||||||
|
"MaxVersion": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"FeatureId": "DisableFastStartup",
|
"FeatureId": "DisableFastStartup",
|
||||||
"Label": "fast start-up",
|
"Label": "fast start-up",
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
|||||||
- Restore the old Windows 10 style context menu. (W11 only)
|
- Restore the old Windows 10 style context menu. (W11 only)
|
||||||
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
|
- Turn off Enhance Pointer Precision, also known as mouse acceleration.
|
||||||
- Disable the Sticky Keys keyboard shortcut. (W11 only)
|
- Disable the Sticky Keys keyboard shortcut. (W11 only)
|
||||||
|
- Disable Storage Sense automatic disk cleanup.
|
||||||
- Disable fast start-up to ensure a full shutdown.
|
- Disable fast start-up to ensure a full shutdown.
|
||||||
- Disable BitLocker automatic device encryption.
|
- Disable BitLocker automatic device encryption.
|
||||||
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
||||||
|
|||||||
5
Regfiles/Disable_Storage_Sense.reg
Normal file
5
Regfiles/Disable_Storage_Sense.reg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Disable Storage Sense
|
||||||
|
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy]
|
||||||
|
"01"=dword:00000000
|
||||||
6
Regfiles/Sysprep/Disable_Storage_Sense.reg
Normal file
6
Regfiles/Sysprep/Disable_Storage_Sense.reg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Disable Storage Sense
|
||||||
|
[HKEY_USERS\Default\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy]
|
||||||
|
"01"=dword:00000000
|
||||||
|
|
||||||
6
Regfiles/Undo/Enable_Storage_Sense.reg
Normal file
6
Regfiles/Undo/Enable_Storage_Sense.reg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Enable Storage Sense
|
||||||
|
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy]
|
||||||
|
"01"=dword:00000001
|
||||||
|
|
||||||
@@ -29,6 +29,7 @@ param (
|
|||||||
[switch]$DisableFastStartup,
|
[switch]$DisableFastStartup,
|
||||||
[switch]$DisableBitlockerAutoEncryption,
|
[switch]$DisableBitlockerAutoEncryption,
|
||||||
[switch]$DisableModernStandbyNetworking,
|
[switch]$DisableModernStandbyNetworking,
|
||||||
|
[switch]$DisableStorageSense,
|
||||||
[switch]$DisableUpdateASAP,
|
[switch]$DisableUpdateASAP,
|
||||||
[switch]$PreventUpdateAutoReboot,
|
[switch]$PreventUpdateAutoReboot,
|
||||||
[switch]$DisableDeliveryOptimization,
|
[switch]$DisableDeliveryOptimization,
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ param (
|
|||||||
[switch]$DisableFastStartup,
|
[switch]$DisableFastStartup,
|
||||||
[switch]$DisableBitlockerAutoEncryption,
|
[switch]$DisableBitlockerAutoEncryption,
|
||||||
[switch]$DisableModernStandbyNetworking,
|
[switch]$DisableModernStandbyNetworking,
|
||||||
|
[switch]$DisableStorageSense,
|
||||||
[switch]$DisableUpdateASAP,
|
[switch]$DisableUpdateASAP,
|
||||||
[switch]$PreventUpdateAutoReboot,
|
[switch]$PreventUpdateAutoReboot,
|
||||||
[switch]$DisableDeliveryOptimization,
|
[switch]$DisableDeliveryOptimization,
|
||||||
|
|||||||
Reference in New Issue
Block a user