Files
winutil/docs/content/dev/tweaks/z--Advanced-Tweaks---CAUTION/RazerBlock.md
T

53 lines
1.6 KiB
Markdown
Raw Normal View History

2026-02-10 21:52:59 +02:00
---
title: "Block Razer Software Installs"
description: ""
---
2026-02-18 12:37:09 -06:00
2026-03-31 10:33:09 -05:00
```json {filename="config/tweaks.json",linenos=inline,linenostart=1937}
2026-02-10 21:52:59 +02:00
"WPFTweaksRazerBlock": {
"Content": "Block Razer Software Installs",
2026-02-23 18:28:56 -06:00
"Description": "Blocks ALL Razer Software installations. The hardware works fine without any software.",
2026-02-10 21:52:59 +02:00
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [
{
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching",
"Name": "SearchOrderConfig",
"Value": "0",
2026-02-18 20:17:33 +00:00
"Type": "DWord",
"OriginalValue": "1"
2026-02-10 21:52:59 +02:00
},
{
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Installer",
"Name": "DisableCoInstallers",
"Value": "1",
2026-02-18 20:17:33 +00:00
"Type": "DWord",
"OriginalValue": "0"
2026-02-10 21:52:59 +02:00
}
],
"InvokeScript": [
"
$RazerPath = \"C:\\Windows\\Installer\\Razer\"
if (Test-Path $RazerPath) {
Remove-Item $RazerPath\\* -Recurse -Force
2026-04-07 10:31:58 -05:00
} else {
2026-02-10 21:52:59 +02:00
New-Item -Path $RazerPath -ItemType Directory
}
icacls $RazerPath /deny \"Everyone:(W)\"
"
],
"UndoScript": [
"
icacls \"C:\\Windows\\Installer\\Razer\" /remove:d Everyone
"
],
```
## Registry Changes
2026-03-26 15:26:48 -05:00
Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place.
2026-02-10 21:52:59 +02:00
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).