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. Cannot turn off real-time protection Windows Defender

    in Windows 10 Gaming
    Cannot turn off real-time protection Windows Defender: It stated like that. I already removed all work email but still cannot manage my own personal PC? https://answers.microsoft.com/en-us/windows/forum/all/cannot-turn-off-real-time-protection-windows/5164f32f-2733-488a-bebd-9150b3bc3ce1
  3. Cannot turn off real-time protection Windows Defender

    in Windows 10 Software and Apps
    Cannot turn off real-time protection Windows Defender: It stated like that. I already removed all work email but still cannot manage my own personal PC? https://answers.microsoft.com/en-us/windows/forum/all/cannot-turn-off-real-time-protection-windows/5164f32f-2733-488a-bebd-9150b3bc3ce1
  4. Cannot turn off real-time protection Windows Defender

    in AntiVirus, Firewalls and System Security
    Cannot turn off real-time protection Windows Defender: It stated like that. I already removed all work email but still cannot manage my own personal PC? https://answers.microsoft.com/en-us/windows/forum/all/cannot-turn-off-real-time-protection-windows/5164f32f-2733-488a-bebd-9150b3bc3ce1
  5. Turning Off Windows Defender Real-time Protection

    in Windows 10 Ask Insider
    Turning Off Windows Defender Real-time Protection: So i'm trying to do what the title says and basically it seems like it's impossible. Sure i can turn it off in the settings but every time i restart my computer it gets turned back on automatically. I was on windows 1803 a couple of days ago and i was able to simply turn it...
  6. windows defender real time protection and/or tamper protection turned off many windows 10...

    in AntiVirus, Firewalls and System Security
    windows defender real time protection and/or tamper protection turned off many windows 10...: For the last couple of months, all of the clients I visit that have windows defender have a little yellow marker on the defender shield. Of course they just don't seem to notice it, (so I show all items in notification bar when I find it). Sometimes it indicates real time...
  7. Windows Defender Real Time Protection is Turned Off

    in AntiVirus, Firewalls and System Security
    Windows Defender Real Time Protection is Turned Off: [ATTACH][ATTACH] Please help me in solving this issue my windows defender real time protection is turned off and not turning on it says this setting can be managed by your administrator only but i'm using my administrator account only as you can see in image please give me...
  8. 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?...
  9. 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?...
  10. 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...