Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable windows defender #219

Closed
Aadniz opened this issue Oct 1, 2022 · 7 comments
Closed

Option to disable windows defender #219

Aadniz opened this issue Oct 1, 2022 · 7 comments

Comments

@Aadniz
Copy link

Aadniz commented Oct 1, 2022

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

@padsalatushal
Copy link
Contributor

padsalatushal commented Oct 13, 2022

@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.

@ChrisTitusTech
Copy link
Owner

@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

@za-87
Copy link

za-87 commented Nov 25, 2022

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

@couleurm
Copy link
Contributor

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

@DeveloperDurp
Copy link
Contributor

Maybe something like this lol
image
image

@ChrisTitusTech
Copy link
Owner

@DeveloperDurp LOL Love this!

Copy link
Contributor

Closed due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

6 participants