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