Skip to content

Block Razer Software Installs

config/tweaks.json
1937  "WPFTweaksRazerBlock": {
1938    "Content": "Block Razer Software Installs",
1939    "Description": "Blocks ALL Razer Software installations. The hardware works fine without any software.",
1940    "category": "z__Advanced Tweaks - CAUTION",
1941    "panel": "1",
1942    "registry": [
1943      {
1944        "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching",
1945        "Name": "SearchOrderConfig",
1946        "Value": "0",
1947        "Type": "DWord",
1948        "OriginalValue": "1"
1949      },
1950      {
1951        "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Installer",
1952        "Name": "DisableCoInstallers",
1953        "Value": "1",
1954        "Type": "DWord",
1955        "OriginalValue": "0"
1956      }
1957    ],
1958    "InvokeScript": [
1959      "
1960      $RazerPath = \"C:\\Windows\\Installer\\Razer\"
1961
1962      if (Test-Path $RazerPath) {
1963        Remove-Item $RazerPath\\* -Recurse -Force
1964      }
1965      else {
1966        New-Item -Path $RazerPath -ItemType Directory
1967      }
1968
1969      icacls $RazerPath /deny \"Everyone:(W)\"
1970      "
1971    ],
1972    "UndoScript": [
1973      "
1974      icacls \"C:\\Windows\\Installer\\Razer\" /remove:d Everyone
1975      "
1976    ],

Registry Changes

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.

You can find information about the registry on Wikipedia and Microsoft’s Website.