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

Discus and support Turn On or Off Windows Defender Real-time Protection in Windows 10 in Windows 10 Tutorials to solve the problem; thanks Brink that is handy dandy.... Discussion in 'Windows 10 Tutorials' started by Brink, Apr 28, 2015.

  1. tazmo8448 Win User

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


    thanks Brink that is handy dandy....
     
    tazmo8448, Sep 5, 2017
    #46
  2. cereberus Win User

    Although you say it in words in step 1, it was not that obvious to me how to turn off defender temporarily since CU version as the required link is a bit obscure and I missed it at first.

    An additional screen dump would helpful.
     
    cereberus, Sep 6, 2017
    #47
  3. Brink
    Brink New Member
    @cereberus,

    Tutorial now updated with the latest screenshots. *Smile
     
    Brink, Sep 6, 2017
    #48
  4. balubeto Win User

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

    Hi

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

    Thanks

    Bye
     
    balubeto, Dec 2, 2017
    #49
  5. Brink
    Brink New Member
    Hello balubeto, *Smile

    It sure is.
     
    Brink, Dec 2, 2017
    #50
  6. jimjoe Win User
    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.
     
    jimjoe, Jan 16, 2018
    #51
  7. cb360t Win User
    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[/quote]
     
    cb360t, Feb 23, 2018
    #52
  8. Turn On or Off Windows Defender Real-time Protection in Windows 10

    [/quote] Run it as an Admin or give it Administrative privileges .
     
    Josey Wales, Feb 23, 2018
    #53
  9. cb360t Win User
    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.
     
    cb360t, Feb 23, 2018
    #54
  10. Brink
    Brink New Member
    Hello cb360t, *Smile

    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.

    *Arrow Get-MpPreference


    Turn On or Off Windows Defender Real-time Protection in Windows 10 [​IMG]
     
    Brink, Feb 23, 2018
    #55
  11. cb360t Win User
    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. *Wink

    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

    *Banghead
     
    cb360t, Feb 24, 2018
    #56
  12. Brink
    Brink New Member
    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.
     
    Brink, Feb 24, 2018
    #57
  13. jimjoe Win User

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

    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.
     
    jimjoe, Feb 25, 2018
    #58
  14. cb360t Win User
    Update on the Powershell script to display the status of Real-time Protection when you toggle it.


    Open Notepad and paste the following in it. Save it as tog.ps1.


    Code: $preferences = Get-MpPreference #gets preferences for the Windows Defender scans and updates Set-MpPreference -DisableRealtimeMonitoring (!$preferences.DisableRealtimeMonitoring) #toggle Real-time Protection ON/OFF $status = $preferences.DisableRealtimeMonitoring #store current status of Real-time Protection in $status Write-host " " if ($status) { Write-host "Real-time Protection is ON" } Else { Write-host "Real-time Protection is OFF" } Write-host " " Write-host "Press any key to exit" $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")|out-null #pause and wait for key press[/quote]
    Right-click on an empty area on your desktop and select Shortcut.
    Paste the following in the ‘Browse’ box but replace the ‘Path to script’ with the actual path to the script you created.

    %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "C:\Utilities\+Misc\tog.ps1"

    Once you’ve created the shortcut, right-click it and select the ‘Run as administrator’ option.
    When you run the script, the current status of Real-time Protection will be displayed as ON or OFF.
    Of course, you can also pin the shortcut to the start menu and/or the taskbar.
     
    cb360t, Feb 26, 2018
    #59
  15. lx07 Win User
    small typo in section 4.2
    the $true and $false are backwards - in powershell $false is 0 and $true is 1 (or any other number).


    Turn On or Off Windows Defender Real-time Protection in Windows 10 [​IMG]
     
Thema:

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

Loading...
  1. Turn On or Off Windows Defender Real-time Protection in Windows 10 - Similar Threads - Turn Off Defender

  2. Untable to Control Windows Defender Real-time Protection On/Off

    in AntiVirus, Firewalls and System Security
    Untable to Control Windows Defender Real-time Protection On/Off: Sometimes, we need to turn off Windows Defender Real-time protection. In my experience, this software may cause some error to run Android Emulator such as BigNox. It also slowing down my Android Studio. To disable Windows Defender Real-time protection, I do these steps: Run...
  3. Real Time Protection in Windows Defender wont turn on

    in AntiVirus, Firewalls and System Security
    Real Time Protection in Windows Defender wont turn on: HELLO ! I have a problem with my Windows Defender, many times ago i downloaded a file, i dont know that contain virus. Then i finished for downloading. After 1 minutes, my Windows Defender was attackes by that virus, the Real TIme Protection wont turn on back. THe display...
  4. Windows Defender not turning on real time protection

    in AntiVirus, Firewalls and System Security
    Windows Defender not turning on real time protection: I cant seem to solve the problem even after following all the steps given in the Microsoft support page. I haven't seen any other antivirus softwares installed and still can't have access to my windows defender. Any solutions?...
  5. Windows Defender not turning on real time protection

    in AntiVirus, Firewalls and System Security
    Windows Defender not turning on real time protection: I cant seem to solve the problem even after following all the steps given in the Microsoft support page. I haven't seen any other antivirus softwares installed and still can't have access to my windows defender. Any solutions?...
  6. Windows Defenders - Cannot Turn On / Off Real Time Protection

    in AntiVirus, Firewalls and System Security
    Windows Defenders - Cannot Turn On / Off Real Time Protection: Hi everyone, I need some help regarding windows defender real-time protection. My computer was attacked with a virus when I was installing a program. After the attack, I can't turn on my Windows Defender Real-Time Protection as it is stated that the setting can only be...
  7. Real-time protection, turn off and stay off?

    in AntiVirus, Firewalls and System Security
    Real-time protection, turn off and stay off?: Hi How do I turn Real-Time Protection OFF so it will stay off, also after a reboot? Windows 10 Pro, version 1803, build 17134.228...
  8. Can't Turn On my Windows Defender Real Time Protection

    in AntiVirus, Firewalls and System Security
    Can't Turn On my Windows Defender Real Time Protection: For ages now, I've been unable to turn on my Windows Defender Real-Time Protection. I've tried everything including Disk Cleanup, system restore points, running several different antivirus programs for threats (after discovering last week I had a Trojan on my PC only 24 hours...
  9. Unable to turn on Windows Defender real time protection

    in AntiVirus, Firewalls and System Security
    Unable to turn on Windows Defender real time protection: I'm unable to turn on Windows Defender real-time protection. It says "Handled by another AV program". But I have no AV program installed. Earlier I had bit-defender AV but I uninstalled it (Even I used bit-defender uninstaller tool). Still it shows the error. Please suggest...
  10. Unable to turn on Windows Defender real time protection

    in AntiVirus, Firewalls and System Security
    Unable to turn on Windows Defender real time protection: Hi guys, I'm a bit desperate here right now. *Confused I have the same problem that this guy over here. I'm running Windows 10 Home x64, version 1607, build 14393.0. I had to restore the PC to a previous point because I ****ed up some drivers. Then my AV (Bitdefender...