- Before using this tool, make sure you turn off Windows Defender in settings.
- Next, head over to GitHub Releases and download the latest version of
DefenderSwitcher.exe
. - Then, run the program and simply click the buttons to turn Defender on or off.
- After that, just restart your PC.
You can use the tool in your own projects or scripts, like in Playbooks, to disable Defender when needed.
- Head to GitHub Releases and download the latest
DefenderSwitcher.exe
, then chuck it in your project. - Start
DefenderSwitcher.exe
with the commands below.
To enable or disable Defender:
PowerShell:
& "Path\To\DefenderSwitcher\DefenderSwitcher.exe" enable_av | disable_av
CMD:
start "" "Path\To\DefenderSwitcher\DefenderSwitcher.exe" enable_av | disable_av
- ARM64: This won't work on ARM64 systems. It could mess up your system, so don't use it there.
- Internet Connection: You'll need the internet for the tool to work.
- Virtual Machines: It may not work on VMs, but it should work fine in Safe Mode.
- Windows Versions: It might not work on every version of Windows, so use it wisely.
❗ Don't use it for shady stuff.
- AtlasOS: Introduced the method of using cabinet files and their packageinstall.ps1 script to disable Windows Defender. This approach is utilized in our Defender Switcher.
- AveYo: Provided methods to obtain TrustedInstaller privileges.
Defender Switcher is licensed under the GNU General Public License v3.0. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.
Warning
Except for the source code licensed under GPLv3, you are not allowed to use the name Defender Switcher for any projects that disable WD, including forks and unofficial builds. This rule ensures that the Defender Switcher name is used only in its intended context and prevents misuse.
Love the project? Show your support by clicking the ⭐ (top right) and joining our community of stargazers!
Take control and make your system better with Defender Switcher - only use Defender when you really need it!