mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-04-16 23:42:08 +00:00
Removed #2715 from this PR
This commit is contained in:
parent
f5cf2654fe
commit
04f8c9bfc0
@ -2767,48 +2767,6 @@
|
|||||||
],
|
],
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/z--Advanced-Tweaks---CAUTION/RemoveOnedrive"
|
"link": "https://christitustech.github.io/winutil/dev/tweaks/z--Advanced-Tweaks---CAUTION/RemoveOnedrive"
|
||||||
},
|
},
|
||||||
"WPFTweaksRazerBlock": {
|
|
||||||
"Content": "Block Razer Software Installs",
|
|
||||||
"Description": "Blocks ALL Razer Software installations. The hardware works fine without any software.",
|
|
||||||
"category": "z__Advanced Tweaks - CAUTION",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a031_",
|
|
||||||
"registry": [
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching",
|
|
||||||
"Name": "SearchOrderConfig",
|
|
||||||
"Value": "0",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Installer",
|
|
||||||
"Name": "DisableCoInstallers",
|
|
||||||
"Value": "1",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
$RazerPath = \"C:\\Windows\\Installer\\Razer\"
|
|
||||||
Remove-Item $RazerPath -Recurse -Force
|
|
||||||
New-Item -Path \"C:\\Windows\\Installer\\\" -Name \"Razer\" -ItemType \"directory\"
|
|
||||||
$Acl = Get-Acl $RazerPath
|
|
||||||
$Ar = New-Object System.Security.AccessControl.FileSystemAccessRule(\"NT AUTHORITY\\SYSTEM\",\"Write\",\"ContainerInherit,ObjectInherit\",\"None\",\"Deny\")
|
|
||||||
$Acl.SetAccessRule($Ar)
|
|
||||||
Set-Acl $RazerPath $Acl
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"UndoScript": [
|
|
||||||
"
|
|
||||||
$RazerPath = \"C:\\Windows\\Installer\\Razer\"
|
|
||||||
Remove-Item $RazerPath -Recurse -Force
|
|
||||||
New-Item -Path \"C:\\Windows\\Installer\\\" -Name \"Razer\" -ItemType \"directory\"
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/RazerBlock"
|
|
||||||
},
|
|
||||||
"WPFTweaksDisableNotifications": {
|
"WPFTweaksDisableNotifications": {
|
||||||
"Content": "Disable Notification Tray/Calendar",
|
"Content": "Disable Notification Tray/Calendar",
|
||||||
"Description": "Disables all Notifications INCLUDING Calendar",
|
"Description": "Disables all Notifications INCLUDING Calendar",
|
||||||
|
Loading…
Reference in New Issue
Block a user