Last active
December 14, 2025 23:55
-
-
Save GabiNun/17c4cc1a9cd6069e729947c4363513cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Remove-Item 'C:\Program Files*\Windows Defender*' -Recurse -Force | |
| Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' 'DisableAntiSpyware' -Value 1 | |
| Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' 'DisableAntiVirus' -Value 1 | |
| Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' 'ServiceKeepAlive' -Value 1 | |
| Remove-Item 'HKLM:\SYSTEM\CurrentControlSet\Services\SecurityHealthService' -Recurse -Force | |
| Remove-ItemProperty 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run' SecurityHealth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment