From aedaa2f789d8cb832346ffe3602fc2e0ca953073 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Mon, 17 Nov 2025 20:52:14 +0200 Subject: [PATCH] Update-WPFTweaksStorage (#3717) * Update tweaks.json * Syntax fix for WPFTweaksStorage * Merge branch 'ChrisTitusTech:main' into Update-WPFTweaksStorage --- config/tweaks.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/config/tweaks.json b/config/tweaks.json index a78c1925..269454ef 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2495,11 +2495,14 @@ "category": "Essential Tweaks", "panel": "1", "Order": "a005_", - "InvokeScript": [ - "Set-ItemProperty -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Name \"01\" -Value 0 -Type Dword -Force" - ], - "UndoScript": [ - "Set-ItemProperty -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Name \"01\" -Value 1 -Type Dword -Force" + "registry": [ + { + "Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy", + "Name": "01", + "Type": "DWord", + "Value": "0", + "OriginalValue": "1" + } ], "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/storage" },