Skip to content

Commit

Permalink
Fix 'Disable Storage Sense' Tweak in 'tweaks.json' File
Browse files Browse the repository at this point in the history
This was pointed out in GitHub issue ChrisTitusTech#1838
  • Loading branch information
og-mrk committed Apr 17, 2024
1 parent 37bf8bf commit ff0b0b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/tweaks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2275,11 +2275,10 @@
"panel": "1",
"Order": "a010_",
"InvokeScript": [
"Remove-Item -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Recurse -ErrorAction SilentlyContinue"
"Set-ItemProperty -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Name \"01\" -Value 0 -Type Dword -Force"
],
"UndoScript": [
"New-Item -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" | Out-Null
"
"Set-ItemProperty -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Name \"01\" -Value 1 -Type Dword -Force"
]
},
"WPFTweaksRemoveEdge": {
Expand Down

0 comments on commit ff0b0b7

Please sign in to comment.