From 28505a5d86af6a086622be0ff21e285328b9c094 Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Sun, 5 Mar 2017 08:14:38 +0100 Subject: [PATCH] Fix Registry path for disabling Defender --- scripts/disable-windows-defender.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/disable-windows-defender.ps1 b/scripts/disable-windows-defender.ps1 index 56baae1..b1cd43e 100644 --- a/scripts/disable-windows-defender.ps1 +++ b/scripts/disable-windows-defender.ps1 @@ -45,4 +45,4 @@ echo "Removing Windows Defender context menu item" si "HKLM:\SOFTWARE\Classes\CLSID\{09A47860-11B0-4DA5-AFA5-26D86198A780}\InprocServer32" "" echo "Removing Windows Defender GUI / tray from autorun" -rp "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\WindowsDefender" "WindowsDefender" -ea 0 +rp "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "WindowsDefender" -ea 0