How to Turn On or Off Microsoft Defender Antivirus in Windows 10  

Page 18 of 35 FirstFirst ... 8161718192028 ... LastLast

  1. Posts : 301
    Windows 10 Enterprise x64 (Insider)
       #170

    It seems that the new 1903 feature called "Tamper Protection" was running interference. Disable that, and I think you'll find that the policy works as expected.

    When MS said that Tamper Protection "prevents others (including malicious apps) from changing important protection features," they apparently were including their own controls (i.e. policy).
      My Computer


  2. Posts : 68,862
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #171

    rseiler said:
    It seems that the new 1903 feature called "Tamper Protection" was running interference. Disable that, and I think you'll find that the policy works as expected.

    When MS said that Tamper Protection "prevents others (including malicious apps) from changing important protection features," they apparently were including their own controls (i.e. policy).

    Good catch. I can confirm this as well. Tutorial updated to include this now.
      My Computers


  3. Posts : 5,452
    Windows 11 Home
       #172

    Tamper protection can be disabled via registry, that is not very tamper-free.
    Basically, it is possible to completely disable WD and its services via reg/bat.
    Code:
    reg add "HKLM\Software\Microsoft\Windows Defender\Features" /v "TamperProtection" /t REG_DWORD /d "0" /f
      My Computer


  4. Posts : 301
    Windows 10 Enterprise x64 (Insider)
       #173

    0 and 1 would make sense for that, but when you change Tamper Protection in the UI, 4 (off) or 5 (on) are written into that spot in the Registry. Not sure what to make of that.
      My Computer


  5. Posts : 68,862
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #174

    TairikuOkami said:
    Tamper protection can be disabled via registry, that is not very tamper-free.
    Basically, it is possible to completely disable WD and its services via reg/bat.
    Code:
    reg add "HKLM\Software\Microsoft\Windows Defender\Features" /v "TamperProtection" /t REG_DWORD /d "0" /f

    You would need to take ownership of the key and set permissions first to be able to change the DWORD value.
      My Computers


  6. Posts : 5,452
    Windows 11 Home
       #175

    Brink said:
    You would need to take ownership of the key and set permissions first to be able to change the DWORD value.
    I did a clean install and disabled it without doing anything, but I can not edit it now, maybe an update fixed it.
      My Computer


  7. Posts : 68,862
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #176

    TairikuOkami said:
    I did a clean install and disabled it without doing anything, but I can not edit it now, maybe an update fixed it.
    Interesting. An update could reset the owner and permissions back to default.
      My Computers


  8. Posts : 7,898
    Windows 11 Pro 64 bit
       #177

    I tried to run the command MpCmdRun -ValidateMapsConnection in an admin command window which failed. It did run when I pointed the command prompt to directory C:\Program Files\Windows Defender.

    I that normal behaviour since I thought MpCmdRun would just execute?
      My Computers


  9. Posts : 68,862
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #178

    Steve C said:
    I tried to run the command MpCmdRun -ValidateMapsConnection in an admin command window which failed. It did run when I pointed the command prompt to directory C:\Program Files\Windows Defender.

    I that normal behaviour since I thought MpCmdRun would just execute?
    Hello Steve,

    Yeah, it's normal. An elevated command prompt uses the "C:\Windows\System32" path by default, so a command at any other path will have to specified.
      My Computers


  10. Posts : 800
    Win10 Pro - x64 latest build dual boot w/Win 11 Pro
       #179

    These methods no longer work in Enterprise LTSC (1809). I can't even get a Security Center working.

    How to Turn On or Off Microsoft Defender Antivirus in Windows 10-untitled.jpg
      My Computer


 

Tutorial Categories

How to Turn On or Off Microsoft Defender Antivirus in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:41.
Find Us




Windows 10 Forums