UAC doesn't work for Windows Defender


  1. Posts : 4
    Windows 10 Home
       #1

    UAC doesn't work for Windows Defender


    Hi guys,

    I am trying to temporarily disable my Windows Defender, and whenever I click on one of the two Off buttons I need, it does the UAC thing where it asks if I want to continue. Unfortunately, even if I click Yes, the button turns to Off for a split second before going right back to On. What's happening?
      My Computer


  2. Posts : 1,471
    Win10 Home x64 - 1809
       #2

    Hey bluegreenturtle,
    Windows Defender Real Time Protection is designed to turn itself back on, but I haven't seen it do so immediately.
    What version of Win10 are your running ? (WinKey + r, type winver)
    What two buttons are you referring to ? (A screen shot would be nice)

    Edit: Had commands backwards .. fixed now
    You can try the following, to turn Off/On Real Time Protection.
    Open PowerShell as Admin
    (Turn Off)
    Set-MpPreference -DisableRealtimeMonitoring $true
    (Turn On)
    Set-MpPreference -DisableRealtimeMonitoring $false
    Last edited by Eagle51; 22 Jul 2017 at 19:58.
      My Computers


  3. Posts : 4
    Windows 10 Home
    Thread Starter
       #3

    I tried it in Powershell like you showed. The command was accepted but nothing actually changed. I'm using version 1703 Windows Home. Here is what it looks like (I need to turn off both protections):

    https://imgur.com/gallery/WdLOm
      My Computer


  4. Posts : 1,471
    Win10 Home x64 - 1809
       #4

    Sorry about that, I got them backwards...

    Open PowerShell as Admin
    (Turn Off)
    Set-MpPreference -DisableRealtimeMonitoring $true
    (Turn On)
    Set-MpPreference -DisableRealtimeMonitoring $false

    Once you Disable Real Time Protection, I don't think you need worry about Cloud Protection.
      My Computers


  5. Posts : 4
    Windows 10 Home
    Thread Starter
       #5

    Still no

    https://imgur.com/gallery/kvxE1

    It actually won't let me add an exclusion either, although it did allow me turn off other sections like "Check apps and files."
    Last edited by bluegreenturtle; 22 Jul 2017 at 20:58. Reason: More information
      My Computer


  6. Posts : 1,471
    Win10 Home x64 - 1809
       #6

    Hmmm... Looking at your last screen shot there's no space between the commands., it's all run together.
    Set-MpPreference (spacebar) -DisableRealtimeMonitoring (spacebar) $true
      My Computers


  7. Posts : 4
    Windows 10 Home
    Thread Starter
       #7

    I did that and it said I don't have enough permissions. I double checked and all of the admin stuff is just fine. (I'm the only user anyway.)
      My Computer


  8. Posts : 1,471
    Win10 Home x64 - 1809
       #8

    You sure you ran PowerShell as Administrator ?

    WinKey + s, type in powershell, right click on PowerShell in list and Run as Administrator.
      My Computers


  9. Posts : 5,452
    Windows 11 Home
       #9

    Turn On or Off Windows Defender in Windows 10 Windows 10 Security System Tutorials

    Run "Disable WD.bat" as admin and restart (run again after restart to disable its services if needed).

    Run "Enable WD.bat" as admin and restart to get it back to business. :)
    UAC doesn't work for Windows Defender Attached Files
      My Computer


  10. Posts : 5
    Windows 10 creator edition
       #10

    Run a virus that disables it! (Jk)
    Try typing UAC in cortana, then click change user account control settings and switch it to never notify, then try disabling Windows Defender
    (You can switch it back to always notify after defender is off)
      My Computer


 

  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 04:45.
Find Us




Windows 10 Forums