Windows 10: Turn On or Off Windows Defender Real-time Protection in Windows 10  

Page 6 of 8 FirstFirst ... 45678 LastLast
  1.    03 Dec 2017 #50

    Hi

    Are the options five and six still valid for Windows 10 v1709?

    Thanks

    Bye
      My ComputerSystem Spec


  2. Posts : 28,608
    64-bit Windows 10 Pro build 17650
    Thread Starter
       03 Dec 2017 #51

    Hello balubeto,

    It sure is.
      My ComputersSystem Spec

  3.    17 Jan 2018 #52

    Thanks ! Everything was fine with the commercial mapping software I have been using for years, and Defender stopped the image exports using Imagemagic. Now I do have anti virus/trojan software, so I just needed to fix Defender which suddenly decided to block me from making maps and exporting as png/bmp/jpg.

    And Thanks Brink !

    edit;

    ImageMagick.

    Even thoguh I have Defender off for over a year, it downloaded new definiitons and did a scan. Even though I have scan and it turned off. I fixed a typo or two as well above.
    Last edited by jimjoe; 17 Jan 2018 at 12:46.
      My ComputerSystem Spec

  4.    24 Feb 2018 #53

    I'm attempting to create a CMD script to toggle Real-time protection on and off. If protection is off, the script will toggle it on; however, if protection is on, the script fails with "Error: Access is denied." Any ideas how to fix this issue?

    Code:
    @echo off
    cls
    :: toggles window defender realtime monitoring
    :: if DisableRealtimeMonitoring is 1 then it is OFF
    :: if DisableRealtimeMonitoring is 0 then it is ON
    
    :: look for DisableRealtimeMonitoring value (0) - if it is found then Real-time protection is ON
    REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring | Find "0x0"
    IF %ERRORLEVEL% == 1 goto found
    IF %ERRORLEVEL% == 0 goto notfound
    goto end
    
    :notfound
    cls
    echo.
    echo.
    echo.
    echo Real-time protection is ON - so turn it OFF
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 1 /f
    echo Real-time protection is now OFF
    goto end
    
    :found
    cls
    echo.
    echo.
    echo.
    echo Real-time protection is OFF - so turn it ON
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 0 /f
    echo Real-time protection is now ON
    
    :end
    echo.
    echo.
    echo.
    pause
      My ComputerSystem Spec

  5.    24 Feb 2018 #54

    cb360t said: View Post
    I'm attempting to create a CMD script to toggle Real-time protection on and off. If protection is off, the script will toggle it on; however, if protection is on, the script fails with "Error: Access is denied." Any ideas how to fix this issue?

    Code:
    @echo off
    cls
    :: toggles window defender realtime monitoring
    :: if DisableRealtimeMonitoring is 1 then it is OFF
    :: if DisableRealtimeMonitoring is 0 then it is ON
    
    :: look for DisableRealtimeMonitoring value (0) - if it is found then Real-time protection is ON
    REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring | Find "0x0"
    IF %ERRORLEVEL% == 1 goto found
    IF %ERRORLEVEL% == 0 goto notfound
    goto end
    
    :notfound
    cls
    echo.
    echo.
    echo.
    echo Real-time protection is ON - so turn it OFF
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 1 /f
    echo Real-time protection is now OFF
    goto end
    
    :found
    cls
    echo.
    echo.
    echo.
    echo Real-time protection is OFF - so turn it ON
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 0 /f
    echo Real-time protection is now ON
    
    :end
    echo.
    echo.
    echo.
    pause
    Run it as an Admin or give it Administrative privileges .
      My ComputerSystem Spec

  6.    24 Feb 2018 #55

    Josey Wales said: View Post
    Run it as an Admin or give it Administrative privileges .
    Tried that. Doesn't make any difference. I also experimented with the permissions for the registry key but that did not get me anywhere either.
      My ComputerSystem Spec


  7. Posts : 28,608
    64-bit Windows 10 Pro build 17650
    Thread Starter
       24 Feb 2018 #56

    Hello cb360t,

    If you like, you might see if using the PowerShell commands in Option Four to toggle on/off Windows Defender Real-Time Protection may work better for you.

    You can use Get-MpPreference like below to check the current setting.

    Get-MpPreference

    Name:  get.png
Views: 110
Size:  8.9 KB
    Last edited by Brink; 24 Feb 2018 at 14:04.
      My ComputersSystem Spec

  8.    24 Feb 2018 #57

    Brink said: View Post
    Hello cb360t,

    If you like, you might see if using the PowerShell commands in Option Four to toggle on/off Windows Defender Real-Time Protection may work better for you.
    Hi Brink,

    I found a toggle solution at this site:
    https://www.addictivetips.com/window...on-windows-10/

    Thanks for pointing me in the right direction.

    Now if I could just understand why this produces an error (cmd prompt - running as administrator):
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 1 /f

      My ComputerSystem Spec


  • Posts : 28,608
    64-bit Windows 10 Pro build 17650
    Thread Starter
       24 Feb 2018 #58

    When turned on, Windows Defender protects its registry key, and would be why you get an "Access Denied" message.

    It's a security measure to help prevent malware from being able to turn off Real-Time protection.
      My ComputersSystem Spec

  •    25 Feb 2018 #59

    I used the reg file to turn off Defender. Then it started telling me I had turned off Defender and I was helpless. Well, I have pcmatic. So I'm neither helpess nor defenseless. Composer update crashed my cmoputer last fall. MS has some serious problems they need to fix. Yes Brink, I know, they will claim they don't make mistakes. And yet they do... :-|

    Apparently MS is trying their level best to make more people go to Linux... unfortunately I can't play Everquest on Linux, the nice people at daybreak Games don't like Linux. Yes peanut gallery, Everquest is still around.
      My ComputerSystem Spec


  •  
    Page 6 of 8 FirstFirst ... 45678 LastLast

    Tutorial Categories

    Turn On or Off Windows Defender Real-time Protection 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 Xbox Windows Phone


    Related Threads
    How to Turn On or Off Windows Defender Antivirus in Windows 10 Windows Defender Antivirus helps protect your PC against malware (malicious software) like viruses, spyware, and other potentially unwanted software. Malware can infect your PC...
    Performance & Maintenance Turn On or Off System Protection for Drives in Windows 10 in Tutorials
    System protection is a feature that allows you to undo unwanted system changes by being able to do a System Restore. System Restore enables users, in the event of a problem, to restore their computers to a previous state (restore point) without...
    Hi, how can I disable Windows Defender Real-time protection but keep the Windows Defender app available and working? I've seen ways to disable Windows Defender Real-time protection in W10, however this involved disabling Windows Defender as a...
    Defender: Disabled Real time; keep scheduled and on demand in AntiVirus, Firewalls and System Security
    I just upgraded to Win 10 (RTM build). I have disabled the AV (Defender, why did they go back to the old name?) real time protection because I do not run it, never did and have never gotten a virus (and I've had a computer for 30 years). I was...
    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 21:56.
    Find Us