An open API service indexing awesome lists of open source software.

https://github.com/zoicware/defenderprotools

Take Control Over Windows Defender
https://github.com/zoicware/defenderprotools

antivirus defender disable-windows-defender windows

Last synced: about 1 month ago
JSON representation

Take Control Over Windows Defender

Awesome Lists containing this project

README

        

# DefenderProTools
#### Take Control Over Windows Defender

*Scripts are tested on latest Windows 10 and 11*

> **NOTE:** When running manually use the included registry file to allow PowerShell scripts to run

- Included Scripts
- [Strip Windows Defender](#strip-windows-defender)
- [Disable Windows Defender](#disable-windows-defender)
- [Replace Windows Defender](#replace-windows-defender)
- [Enable Windows Defender](#enable-windows-defender)

---

## Strip Windows Defender

This powershell script will use dism and trusted installer privileges to remove defender permanently from the latest Windows 10 and 11 ISO files.

### Additional Options

- Disable TPM and hardware requirements (this is for the actual system image not the install process I recommend using rufus for that)
- Disable Virtualization-based Security (VBS) and Mitigation Options Includes [Data Execution Prevention, Control Flow Guard, Randomize Memory Allocations, Validate exception chains, Validate Heap Integrity]
- Strip Bitlocker

***Run Script from Console***
````ps
iwr https://raw.githubusercontent.com/zoicware/DefenderProTools/main/StripDefenderV3.ps1 | iex
````

## Disable Windows Defender

***Run Script from Console***
````ps
iwr https://raw.githubusercontent.com/zoicware/DefenderProTools/main/DisableDefender.ps1 | iex
````

Due to Microsoft patching all the clever methods of bypassing defender without being in safe mode a brute force approach is required
- This script will forcibly remove and disable defender registry keys

- *Since this method does not kill the Antimalware service you may need to run the script again if this service still runs upon rebooting*

## Replace Windows Defender

***Run Script from Console***
````ps
iwr https://raw.githubusercontent.com/zoicware/DefenderProTools/main/ReplaceDefender.ps1 | iex
````

This script will replace Windows Defender with AVG Antivirus
- cleanup AVG shortcuts and context menu
- disable the rest of Windows Defender
- import minimal settings

AVG is a light weight AV that will provide better protection than Windows Defender

## Enable Windows Defender

***Run Script from Console***
````ps
iwr https://raw.githubusercontent.com/zoicware/DefenderProTools/main/EnableDefender.ps1 | iex
````

**NOTE** If you need to run disable defender twice (fe. 24h2) enable defender will not work so its recommended to create a restore point

If you need to revert Windows Defender this script will restore the registry, services, and scheduled tasks.