[DISCUSSION] Disabling Microsoft Defender Antivirus (formerly Windows Defender)

Discussion in 'Windows 11' started by Espionage724, Oct 29, 2021.

  1. MDeaks

    MDeaks MDL Member

    Aug 25, 2017
    154
    74
    10
  2. griferss

    griferss MDL Novice

    Jul 17, 2018
    24
    3
    0
  3. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150

    That's exactly the whole point of modding a crappy OS like W11, making it working NOT as intended (by MS), but as desired (by the user), fanboys should realize that simple fact, sooner or later.
     
  4. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,737
    1,006
    60
    I have completely disabled Windows Defender and all of its services but there are some updates that were installed prior to me disabling it that show up in the Windows update history.

    If I try to uninstall these updates using "wusa.exe /uninstall /kb:<kb number>" it says the updates is not installed yet it still shows in the history.

    I want to clear that section completely

    2023-05-10_051716.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. petok

    petok MDL Senior Member

    May 4, 2009
    350
    201
    10
    You need remove packages from Component Based Servicing but I no warranty for stable os. First test on VM prepare OS and then live test.
     
  6. Errepublika

    Errepublika MDL Senior Member

    Aug 18, 2021
    453
    317
    10
    I have Windows Defender removed but when there is an update if you do not have Windows Update just download it installs Defender again when you install Windows Malicious Software Removal Tool or Windows Security platform antimalware platform update, the way I I found so that it does not do it is to put Windows Update that only downloads, does not update and before installing anything, hide the updates that I do not want with the Show or hide Updates program (wushowhide) and before updating after hiding those updates in Windows Update, give to pause updates and then search and those do not have to appear if you have hidden them well and do not install them
     

    Attached Files:

  7. steven4554

    steven4554 MDL Expert

    Jul 12, 2009
    1,501
    2,811
    60
  8. myabc

    myabc MDL Member

    Apr 19, 2014
    168
    4
    10
    Hi everyone. After several years of operation, an automatic tool that disables Windows 11 defender no longer works. The problem is that by doing numerous installation tests, many exe files are blocked or deleted and therefore I need to block defender again. Could you recommend an app or a script to disable it for subsequent reboots? If this is no longer possible, would you recommend an alternative antivirus to take its place and which is easier to disable when I need to? Thank you
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Nicolas Bermudez

    Nicolas Bermudez MDL Member

    Jun 17, 2023
    119
    73
    10
    Open regedit as Administrator, set these values, then restart.

    Code:
    HKLM\Software\Microsoft\Windows Defender: [DisableAntiSpyware] = 1
    
    HKLM\Software\Microsoft\Windows Defender: [DisableAntiVirus] = 1
    
    HKLM\Software\Microsoft\Windows Defender\Features: [TamperProtection] = 0
    
    HKLM\Software\Microsoft\Windows Defender\Real-Time Protection: [DisableRealtimeMonitoring] = 1
    
    HKLM\Software\Policies\Microsoft\Windows Defender: [DisableAntiSpyware] = 1
    
    HKLM\Software\Policies\Microsoft\Windows Defender: [DisableAntiVirus] = 1
    I prefer manual scanner than real time antivirus (KVRT/Kaspersky Virus Removal Tool is my favorite). IMO good firewall and browser extensions are more important.
     
  10. tmrz

    tmrz MDL Novice

    Oct 2, 2015
    1
    4
    0
    Hey man I have been using these powershell commands and it is %100 solving my problem. I gave up on defender long time ago when it somehow recognizing intel and xerox drivers as virus. So I called it on Defender.

    First, boot your computer into safe mode, and copy these into powershell (run as admin too)
    $regpath='HKLM:\SYSTEM\CurrentControlSet\Services'
    Set-ItemProperty -Path ($regpath+"\WinDefend") -Name Start -Value 4
    Set-ItemProperty -Path ($regpath+"\Sense") -Name Start -Value 4
    Set-ItemProperty -Path ($regpath+"\WdFilter") -Name Start -Value 4
    Set-ItemProperty -Path ($regpath+"\WdNisDrv") -Name Start -Value 4
    Set-ItemProperty -Path ($regpath+"\WdNisSvc”) -Name Start -Value 4
    Set-ItemProperty -Path ($regpath+"\WdBoot") -Name Start -Value 4


    Then, reboot to normal and run powershell as admin again then copy these;
    Get-ScheduledTask “Windows Defender Cache Maintenance” | Disable-ScheduledTask
    Get-ScheduledTask “Windows Defender Cleanup” | Disable-ScheduledTask
    Get-ScheduledTask “Windows Defender Scheduled Scan” | Disable-ScheduledTask
    Get-ScheduledTask “Windows Defender Verification” | Disable-ScheduledTask


    Use it at your own risk. It completely disables realtime protection and scans. Hope it helps :)

    Edit: typos.
     
  11. myabc

    myabc MDL Member

    Apr 19, 2014
    168
    4
    10
    hanks.please one by one i have to input in powershall?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Jessie Pinkman

    Jessie Pinkman MDL Addicted

    Aug 25, 2016
    551
    275
    30
    just use toggle defender that disables it
     
  13. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,156
    5,969
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. griferss

    griferss MDL Novice

    Jul 17, 2018
    24
    3
    0
    Hello, As of today you can completely disable windows defender in the latest official build of windows 11 without corrupting the system and you stop working preinstalled applications such as notepad, snipping tool and so on? .... I do not mean disable the defender from the toogle (which then stays the service "antimalware service executable" also running in the background), if not remove and disable it completely (background process included) without corrupting the OS.

    I had the same problem a couple of months ago, that's why I'm asking if after this time you can finally do it.

    Best regards
     
  15. JLBENEDICT

    JLBENEDICT MDL Junior Member

    Dec 5, 2013
    81
    48
    0
    What is the specific build? What steps did you take?
    Please provide more details
     
  16. griferss

    griferss MDL Novice

    Jul 17, 2018
    24
    3
    0
    Hi. Compilation 22621.2134. Steps?, all the scripts that I tried at the time and that were recommended to me by the forum:

    - Control Defender Switch 2.01
    - Defender control 2.1
    - Remove Defender 4.0

    All of them were the same. I disabled windows defender yes, but in return the system was somewhat corrupted and some preset applications stopped working (notepad, clipping tool, the XBOX application took too long to start the gamepass games, etc ...).

    Basically that. Best regards