Defender-control - An open-source windows defender manager. Now you can disable windows defender permanently.

Overview

Defender Control

Open source windows defender disabler.
Now you can disable windows defender permanently!
Tested from Windows 10 20H2.
Also working on Windows 11 (earlier versions)

What is this project?

We all know that disabling windefender is very difficult since microsoft is constantly enforcing changes.
The first solution is to install an anti-virus - but thats not the point if we are trying to disable it!
The next easiest solution is to use freeware thats already available on the internet - but none of them are native & open source...
I like open source, so I made a safe to use open source defender control.

What does it do?

  1. It gains TrustedInstaller permissions
  2. It will disable windefender services + smartscreen
  3. It will disable anti-tamper protection
  4. It will disable all relevant registries + wmi settings

Is it safe?

Yes it is safe, feel free to review the code in the repository yourself.
Anti-virus & other programs might flag this as malicious since it disables defender - but feel free to compile it using visual studio.

Compiling

Open the project using visual studio 2022 preview.
Set the build to Release and x64.
Change the build type you want in settings.hpp.
Compile.

Demo

Demo

Release

You can find the first release over at the releases on the right.
Or alternatively click here.

Writeup

If you are interested in how I developed this program check out the writeup here.

TO-DO

  • Confirm win 11 support
  • Better cli support
  • Build an interface
Comments
  • After computer restarts, Windows Defender becomes enabled again.

    After computer restarts, Windows Defender becomes enabled again.

    Hi, I'm using Windows 11 21H2. It can disable Windows Defender and works well. But after the computer restarts, the Windows Defender becomes enabled again. So I need to run it after reboot. Could you make it permanently disable the Windows Defender?

    opened by gitercn 8
  • Imggui files badly configured

    Imggui files badly configured

    I am trying to compile your code in visual studio 2022 but it says that imgui.h file and other .h files related to imgui files are not there. As I explored the repository, I figured they are in the imgui folder. But even if they are here, it still says it cannot find them when compiling. Can you help with that?

    opened by itsmepayback 6
  • Windows 11: Windows Defender & Smartscreen re-activate after reboot

    Windows 11: Windows Defender & Smartscreen re-activate after reboot

    See title for the problem. All the changes are reverted upon reboot, and all Group Policy changes made to Windows Defender are also reverted. Seems like Microsoft hates this one weird trick to get 50% of our CPU back and +200% battery lifetime...

    image

    opened by Xaymar 4
  • How to enable defender-control again

    How to enable defender-control again

    after disabling my defender-control i cant reset my computer anymore or download anything from the microsoft store any idea on how i can enable windows defender again

    opened by bunnyrina 4
  • Failed to write to DisableAntiSpywareFailed to write to DisableRealTimeMonitoring

    Failed to write to DisableAntiSpywareFailed to write to DisableRealTimeMonitoring

    Since latest Windows 10 Update, defender-control doesn't work anymore for me.

    Error Message: "Failed to write to DisableAntiSpywareFailed to write to DisableRealTimeMonitoring"

    opened by underwoodblog 4
  • Remove prompts and run it silently?

    Remove prompts and run it silently?

    Hi, I just started out in github im wondering if you can add a feature so we can run them in silent without the prompts? maybe add start arguments as "-s" to run it silently? or have it run in cmd as like "disable-defender.exe -silent"

    opened by xHyperVoid 3
  • Feature Request: command line option for batch mode (don't wait for key press)

    Feature Request: command line option for batch mode (don't wait for key press)

    Nice tool! Exactly what I was looking for. Thanks!

    I like to disable defender in my backup batch script and enable it after backup is finished. Would be nice if the windows of defender-control is not waiting for a key press. With a command line option like -b for batch mode or a complete silent mode -s without a window?

    Both (-disable/-enable) in one .exe via command line would be great too, so I only have to set exceptions for one file.

    opened by underwoodblog 3
  • "disable-defender.exe" Will Not Download

    Steps to Reproduce

    1. Go to https://github.com/qtkite/defender-control/releases/tag/v1.2
    2. click on "disable-defender.exe"
    3. Get error "Faild-Download error"
    opened by ImGoingToBakeMyGPU 2
  • says access denied when writing registry values.

    says access denied when writing registry values.

    Looks like TrustedInstaller cannot stop the windefend service anymore. It now says that it fails to stop the service and that it cannot write to TamperProtection, DisableRealTimeMonitoring, etc.

    opened by itsmepayback 2
  • Failed to write to DisableAntiSpywareFailed to write to DisableRealTimeMonitoring

    Failed to write to DisableAntiSpywareFailed to write to DisableRealTimeMonitoring

    It worked well on Windows 10, but it does not seem to work on Window 11. When I run it on Window 11, the output is:

    failed to write to TamperProtection
    Windows defender is currently ACTIVE
    Failed to write to DisableAntiSpywareFailed to write to DisableRealTimeMonitoring
    Disabled windows defender!
    Press any key to continue . . .
    

    It says that it has disabled Defender, but the MsMpEng/CP are still running. and real-time projection is still on.

    image

    and next time I run defender-control, it still says the same output as above that includes "Windows defender is currently ACTIVE". I have rebooted the computer, but it was the same.

    opened by HubKing 2
  • Single program to disable & enable defender.

    Single program to disable & enable defender.

    Please, in the next version, release a single program that can either enable or disable defender. That is, if defender is active the program displays a message and asks if the user wants to disable it. And, if defender is disabled the program displays a message and asks the user if he wants to enable it. Thanks for a nice program.

    PS : A silent version would be nice too - basically toggle the state of defender.

    opened by ggbbrr 1
  • Operation did not complete successfully because the file contains a virus or potentially unwanted software

    Operation did not complete successfully because the file contains a virus or potentially unwanted software

    When trying to open disable-defender.exe on Windows 11 Home 21H2 I'm getting this error: Operation did not complete successfully because the file contains a virus or potentially unwanted software

    I tried disabling the real-time protection, but the Security at a glance screen is empty for me. Tried some solutions for the empty screen from the internet, but nothing worked.

    opened by lastant 3
  • I am not able to open windows security after enabling using this in windows 11

    I am not able to open windows security after enabling using this in windows 11

    I am not able to open security settings ,it just won't open after After disabling defender and then after enabling defender and restarting it wont open. #please help with any fixes! Screenshot (11)

    Screenshot (10)

    Screenshot (9)

    Now i can't even disable defender as it shows it is a virus and neither can i open windows security so as to disable virus scanning etc

    opened by Shabahatgiri 0
  • failed to write to TamperProtection

    failed to write to TamperProtection

    User: Administrator output:

    failed to write to TamperProtection
    Windows defender is currently ACTIVE
    Failed to write to DisableAntiSpywareFailed to write to DisableRealTimeMonitoring
    Disabled windows defender!
    Press any key to continue . . .
    

    OS info: Screenshot 2022-03-25 165256

    opened by fire1ce 4
Releases(v1.5)
Owner
Software/Network/Reverse Engineer in Sydney
null
Fix some extrinsic parameter importing problems. 6-axis IMU works now. Lidar without ring works now.

LVI-SAM-MODIFIED This repository is a modified version of LVI-SAM. Modification Add function to get extrinsic parameters.The original code assumes the

null 88 Dec 9, 2022
Had a tough time playing Microsoft Wordament ? Well WORDament_Solver has your back. It suggests you meaningful words you can use while playing the game and help you top the leaderboard.

WORDament_Solver Had a tough time playing Microsoft Wordament ? Well WORDament_Solver has your back. It suggests you meaningful words you can use whil

Tushar Agarwal 3 Aug 19, 2021
A simple utility that cold patches dwm (uDWM.dll) in order to disable window rounded corners in Windows 11

Win11DisableRoundedCorners A simple utility that cold patches the Desktop Window Manager (uDWM.dll) in order to disable window rounded corners in Wind

Valentin-Gabriel Radu 516 Dec 27, 2022
Disable OTA Update for iOS & iPadOS for 14 - 14.3 (Non Jailbreak devices)

OTADisabler-App Disable OTA Update for iOS & iPadOS for 14 - 14.3 (Non Jailbreak devices) Support Devices iOS 14.0-14.3 (confirmed on iOS 14.1 and abo

ichitaso 27 Dec 14, 2022
a undetectable tool by modify odyssey, support sign disable & dylib injection, test on iphoneX(13.5.1 expolit by FreeTheSandbox), our qqgroup is 703156427

a undetectable ios root access tool by modify odyssey, support sign disable & dylib injection, test on iphoneX(13.5.1 expolit by FreeTheSandbox), our

null 58 Nov 22, 2021
Wrapper DLL for NieR Automata (PC ver.) to disable LODs & fix AO issues

NieRAutomata-LodMod An XInput/DXGI wrapper DLL that hooks into NieR Automata (Steam ver.) and disables object LODs, improving visual quality & fixing

emoose 24 Jul 9, 2022
The pico can be used to program other devices. Raspberry pi made such an effort. However there is no board yet, that is open-source and can be used with OpenOCD as a general-purpose programmer

pico-probe-programmer The pico can be used to program other devices. Raspberry pi made such an effort. However there is no board yet, that is open-sou

martijn 22 Oct 15, 2022
Bobby Cooke 328 Dec 25, 2022
An embedded CAN bus sniffer which is able to monitor any of the vehicle internal CAN bus and perform some action by triggering new CAN messages.

An embedded CAN bus sniffer which is able to monitor any of the vehicle internal CAN bus and perform some action by triggering new CAN messages. In this way certain vehicle functionality can be triggered by responding to custom steering wheel button events, or use the vehicle virtual cockpit to display OBD-PIDs values instead of relying on an external display to present new information to the user

null 18 Dec 28, 2022
Some hypervisor research notes. There is also a useful exploit template that you can use to verify / falsify any assumptions you may make while auditing code, and for exploit development.

Introduction Over the past few weeks, I've been doing some hypervisor research here and there, with most of my focus being on PCI device emulation cod

Faith 130 Nov 18, 2022
tabbed window manager that can tile windows inside floating containers

shod ┌───────────────────────┐ │ │ ┌─────┼────

Seninha 133 Jan 5, 2023
Control Heidelberg Wallbox Energy Control over WiFi using ESP8266 and configure your own local load management

< scroll down for English version and additional information > wbec WLAN-Anbindung der Heidelberg WallBox Energy Control über ESP8266 Die Heidelberg W

null 95 Jan 3, 2023
Harsh Badwaik 1 Dec 19, 2021
Budgie Control Center is a fork of GNOME Control Center for the Budgie 10 Series.

Budgie Control Center Budgie Control Center is a fork of GNOME Settings / GNOME Control Center with the intent of providing a simplified list of setti

Buddies of Budgie 14 Dec 12, 2022
A free and open-source cross-platform application to control your Philips hue compatible lights💡

?? OpenHue ?? A cross platform application to control your Philips hue compatible lights. licensed under the gpl 3.0 license. Currently in super early

BOB450 4 Dec 28, 2022
fx is a workspace tool manager. It allows you to create consistent, discoverable, language-neutral and developer friendly command line tools.

fx is a workspace tool manager. It allows you to create consistent, discoverable, language-neutral and developer friendly command line tools.

null 19 Aug 27, 2022
Allows you to easily control via MQTT any Micronova equiped pellet stove. (MCZ, Extraflame, Laminox, and many others brands!)

micronova_controller Kits are available on Tindie! Currently out of stock. V2 will be in stock soon! Here is an overview of the additions: possibility

Philibert Cheminot 37 Dec 19, 2022
An open-source C and C++ project series where beginners can contribute and practice coding.

C C++ mini project A collection of easy C and C++ small projects to help you improve your programming skills. Steps To Follow for contribute Star this

Alexander Monterrosa 2 Jan 1, 2022
You may learn how to make successful pull requests and get your first valid open source contribution by using this repository.

Your-First-Contribution You may learn how to make successful pull requests and get your first valid open source contribution by using this repository.

Veshraj Ghimire 24 Aug 23, 2022