New
#50
Hi
Are the options five and six still valid for Windows 10 v1709?
Thanks
Bye
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.
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
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
![]()
Last edited by Brink; 24 Feb 2018 at 14:04.
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
![]()
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.
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.