winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Option to disable windows defender

Open Aadniz opened this issue 3 years ago • 5 comments

Windows keeps deleting files I need, and it has become harder and harder to disable windows defender. I was wondering if you would like to add an option for disabling windows defender?

This can be done by adding some registry keys and modifying gpedit.msc:

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows DefenderDisableAntiSpyware (DWORD, value 1) HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows DefenderDisableRealtimeMonitoring (DWORD, value 1) HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows DefenderDisableRoutinelyTakingAction (DWORD, value 1) HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows DefenderDisableAntiVirus (DWORD, value 1) HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows DefenderDisableSpecialRunningModes (DWORD, value 1) HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows DefenderServiceKeepAlive (DWORD, value 0)

Create new key Signature Updates HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Signature UpdatesForceUpdateFromMU (DWORD, value 0)

Create new key Real-Time Protection HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time ProtectionDisableRealtimeMonitoring (DWORD, value 1) HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time ProtectionDisableOnAccessProtection (DWORD, value 1) HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time ProtectionDisableBehaviorMonitoring (DWORD, value 1) HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time ProtectionDisableScanOnRealtimeEnable (DWORD, value 1)

Create new key Spynet HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\SpynetDisableBlockAtFirstSeen (DWORD, value 1)

gpedit.msc

Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Defender, and enable Turn off Windows Defender

Reference: https://www.maketecheasier.com/permanently-disable-windows-defender-windows-10/


Maybe some of the challanges for adding this button would be that windows defender itself would start seeing the winutil as a virus

Aadniz avatar Oct 01 '22 23:10 Aadniz

@ChrisTitusTech I am working on this. I found that System needs to be in safe mode to uninstall Windows Defender. chris if it is okay then I will work on this. Please give me confirmation for me to work on these features and provide some suggestions if you have any.

padsalatushal avatar Oct 13 '22 18:10 padsalatushal

@padsalatushal wait on this. I'm about to revamp the entire code from @DeveloperDurp to runspaces.

I'm about to do a massive commit and grab PR #67

ChrisTitusTech avatar Oct 18 '22 12:10 ChrisTitusTech

is it similar to this? https://github.com/qtkite/defender-control

za-87 avatar Nov 25 '22 15:11 za-87

Would be preferable to have it locked behind a few "Are you sure?!" MessageBox.Show's .. 🤣🤣

couleurm avatar Nov 26 '22 15:11 couleurm

Maybe something like this lol image image

DeveloperDurp avatar Nov 26 '22 15:11 DeveloperDurp

@DeveloperDurp LOL Love this!

ChrisTitusTech avatar Nov 30 '22 21:11 ChrisTitusTech

Closed due to inactivity

github-actions[bot] avatar Feb 20 '24 03:02 github-actions[bot]