Freeware Disable M$ Defender cmd script (repost from MDL)

Wilenty

The Don Quixote who fights with lies...
Elite
Repacker
Joined
Mar 4, 2020
Reaction score
86
Points
18

(Because I was asked to share my works here, I share it here.)

It's remake of one posted by TairikuOkami from MDL





Below script disable M$ Defender for-ever, without any possibility to come back...
so, please create System Restore Point and/or Backup your Registry Files before use this script!

USE AT OWN RISK AS IS WITHOUT WARRANTY OF ANY KIND !!!!!


(Oct 6, 2018) added:

Code:
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "SettingsPageVisibility" /t REG_SZ /d "hide:windowsdefender" /f
(Dec 17, 2018) added:
Code:
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001
"PUAProtection"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\MpEngine]
"MpEnablePus"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection]
"DisableRealtimeMonitoring"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Spynet]
"DisableBlockAtFirstSeen"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender Security Center\Family options]
"UILockdown"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender Security Center\Notifications]
"DisableNotifications"=dword:00000001

You need to run this script as Administrator, in other ways it does not work. But, I intentionally not added the possibility to automatically increase of permissions.

Download size about 2KB.

Download:
PW: Soft4Win

P.S. Because this script disables the drivers and services of M$ Defender I added if here.
 
Last edited by a moderator:
Top