From f3236cfa35e8bc433f3691e939dc632cf56a211f Mon Sep 17 00:00:00 2001 From: Plumebit Date: Sun, 15 Nov 2015 16:47:44 -0800 Subject: [PATCH] Remove Windows Defender context menu item Since the program itself gets disabled, why not? --- scripts/disable-windows-features.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/disable-windows-features.ps1 b/scripts/disable-windows-features.ps1 index 32a4320..fb5f962 100644 --- a/scripts/disable-windows-features.ps1 +++ b/scripts/disable-windows-features.ps1 @@ -18,6 +18,9 @@ sp "HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows Defender" "DisableRout mkdir -Force "HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows Defender\Real-Time Protection" sp "HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows Defender\Real-Time Protection" "DisableRealtimeMonitoring" 1 +echo "Removing Windows Defender context menu item" +si "HKLM:\SOFTWARE\Classes\CLSID\{09A47860-11B0-4DA5-AFA5-26D86198A780}\InprocServer32" "" + echo "Disable Notification Center" sp "HKLM:\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell" UseActionCenterExperience 0