mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-07 05:24:54 -06:00
Fix 'Disable Storage Sense' Tweak in 'tweaks.json' File (#1843)
This was pointed out in GitHub issue https://github.com/ChrisTitusTech/winutil/issues/1838
This commit is contained in:
parent
37bf8bfa4e
commit
d23776bbc5
@ -2275,11 +2275,10 @@
|
|||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a010_",
|
"Order": "a010_",
|
||||||
"InvokeScript": [
|
"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": [
|
"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": {
|
"WPFTweaksRemoveEdge": {
|
||||||
|
Loading…
Reference in New Issue
Block a user