How do I stop Windows Defender from killing my backup script?

Page 1 of 2 12 LastLast

  1. Posts : 185
    Xp, Vista, 7, 8.1, 10
       #1

    How do I stop Windows Defender from killing my backup script?


    Since about recently, Windows Defender started quietly killing my backup script. When I went to check, it gave me this:















    This is not a "dangerous and executes commands from an attacker", this is the script that I wrote myself that closes Outlook and does the backup of its file.

    So I even tried to exclude that folder, but it didn't help:






    Aside from disabling Defender, how do I make it work?
      My Computer


  2. Posts : 1,806
    Windows 10 Pro 21H1 19043.1348
       #2

    Have you tried adding the script file as an exclusion on Windows Defender? I know excluding the folder should also include contained files but this is Windoze.

    See Option 1, step 5 here;

    Add or Remove Windows Defender Exclusions in Windows 10
      My Computer


  3. Posts : 185
    Xp, Vista, 7, 8.1, 10
    Thread Starter
       #3

    W10 Tweaker said:
    Have you tried adding the script file as an exclusion on Windows Defender? I know excluding the folder should also include contained files but this is Windoze.

    See Option 1, step 5 here;

    Add or Remove Windows Defender Exclusions in Windows 10
    Yeah, I excluded the folder it's in. Wouldn't it be redundant.

    My guess is that it also doesn't like my scheduled task to run it. The question is how do I add it to the excluded locations?
      My Computer


  4. Posts : 1,806
    Windows 10 Pro 21H1 19043.1348
       #4

    I still would have excluded the file as that's a pretty easy test, redundant or not. Another question comes to mind, how is this script triggered? Are you scheduling the script to run from the task scheduler?

    If so I believe this may be a boundary violation and that's why Windows considers it to be a threat. As a test, try removing it from the task scheduler and running it manually. Then you will know for certain.
      My Computer


  5. Posts : 185
    Xp, Vista, 7, 8.1, 10
    Thread Starter
       #5

    W10 Tweaker said:
    As a test, try removing it from the task scheduler and running it manually. Then you will know for certain.
    Well, of course it's in the task scheduler. It's a backup script that is supposed to run at night at 4 AM. How else would I set it? And of course I will try to add it as a file exception and see if it runs. I just can't check it until tomorrow. Like you said, it's windowz. No one knows when it will fail.

    Otherwise, it's so annoying. I can't even set up a task without cross some "boundary restrictions." Are you kidding me, Micrsofot?
      My Computer


  6. Posts : 1,806
    Windows 10 Pro 21H1 19043.1348
       #6

    I must apologize because I can't direct you much further, however; there are many other individuals here who are the experts. My knowledge of Windows is limited, I'm more familiar with the hardware end. At least I gave you some things to consider.
      My Computer


  7. Posts : 913
    CP/M
       #7

    Yeah, I excluded the folder it's in. Wouldn't it be redundant.
    Cumulative Update KB4493509 Windows 10 v1809 Build 17763.437 - April 9

    When I pointed this defender malfunction (and many others) out, a crowd of sheep started screaming "defender is the best, four legs good, two legs bad." The only way to overcome is imo installing some different antivirus and disable defender completely, personally I prefer Avira Free + BGP Killer, playing with defender is a waste of time.
      My Computer


  8. Posts : 8,696
    Mac OS Catalina
       #8

    Post your script on here for review.
      My Computer


  9. Posts : 913
    CP/M
       #9

    Post your script on here for review.
    No reason. Exceptions/exclusions must work, otherwise the AV is useless. User and his decision is the highest instance, not some fools at MS.
      My Computer


  10. Posts : 7,711
    3-Win-7Prox64 3-Win10Prox64 3-LinuxMint20.2
       #10

    Hi,
    Yeah wd is now mostly pestware along with action center
    Pity really even if another av installed wd is still very much a pest with any changing of default settings account protection/..... boom all trigger alert after alert on restart/...
      My Computers


 

  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 03:56.
Find Us




Windows 10 Forums