Windows 10: Add or Remove Windows Defender Exclusions in Windows 10

Discus and support Add or Remove Windows Defender Exclusions in Windows 10 in Windows 10 Tutorials to solve the problem; Hello Dunge, and welcome to Ten Forums. *Smile I'm afraid that wildcards are not supported for Windows Defender exclusions. Discussion in 'Windows 10 Tutorials' started by f14tomcat, May 6, 2015.

  1. Brink
    Brink New Member

    Add or Remove Windows Defender Exclusions in Windows 10


    Hello Dunge, and welcome to Ten Forums. *Smile

    I'm afraid that wildcards are not supported for Windows Defender exclusions.
     
    Brink, Aug 31, 2016
    #31
  2. stevoi85 Win User

    I have couple of folders in my exclusions that I cannot remove. Among them is this weird one:

    Add or Remove Windows Defender Exclusions in Windows 10 [​IMG]

    Since I think they are not supposed to be there (probably some malware doing), I'd like them removed. Any way I can do that?
     
    stevoi85, Mar 4, 2017
    #32
  3. Brink
    Brink New Member
    Hello Stevo, *Smile

    I don't see anything listed in your screenshot to be removed.
     
    Brink, Mar 4, 2017
    #33
  4. stevoi85 Win User

    Add or Remove Windows Defender Exclusions in Windows 10

    That's the weirdest thing - there's a folder without a name and the Remove button is disabled.

    Other folders that appear (not added by me) are:
    C:\Program Files\Youtube AdBlock
    C:\WINDOWS\Temp
    \AppData\Local\Temp
    \AppData\Local\Google\Chrome\User Data

    All with Remove button disabled. And non of them appear in regedit.
     
    stevoi85, Mar 4, 2017
    #34
  5. Brink
    Brink New Member
    If they are not listed in the registry, then they are most likely not being excluded.

    However, I need to see a screenshot showing them in your Windows Defender exclusions list to help confirm.
     
    Brink, Mar 4, 2017
    #35
  6. stevoi85 Win User
    I used right click -> Scan with Windows Defender and it returned 'Scan completed on 0 items'. Here's a screenshot:

    Add or Remove Windows Defender Exclusions in Windows 10 [​IMG]


    Add or Remove Windows Defender Exclusions in Windows 10 [​IMG]
     
    stevoi85, Mar 4, 2017
    #36
  7. Brink
    Brink New Member
    The "Some settings are managed by your organization" message in red usually indicates that you have a group policy set that is overriding those settings.

    If you have Windows 10 Pro, Enterprise, or Education edition installed, you might double check in the Local Group Policy Editor (gpedit.msc) to see if you have any policies enabled for Windows Defender for this.

    Group Policy Editor - Quickly View Enabled Policies in Windows - Windows 7 Help Forums
     
    Brink, Mar 4, 2017
    #37
  8. stevoi85 Win User

    Add or Remove Windows Defender Exclusions in Windows 10

    That's it.

    Thanks for your help.
     
    stevoi85, Mar 4, 2017
    #38
  9. Brink
    Brink New Member
    You're most welcome. *Smile
     
    Brink, Mar 4, 2017
    #39
  10. blokblok Win User
    Hi im new here hope that ill get a response ...
    I have an exclusion that cant be removed
    and i think its a malware cause when i try to install some antivirus like bullgaurd bitdefender etc the application is blocked and i cant install it here the screen shot of the exclusion
    Add or Remove Windows Defender Exclusions in Windows 10 [​IMG]
     
    blokblok, Oct 5, 2017
    #40
  11. Brink
    Brink New Member
    Hello blokblok, and welcome to Ten Forums. *Smile

    Which exclusion are you trying to remove?

    What happens when you click on the Remove button? Any error messages, or just nothing?
     
    Brink, Oct 5, 2017
    #41
  12. blokblok Win User
    when i click the remove button it just goes back all of the items in the screen shot are the items i want to remove
     
    blokblok, Oct 5, 2017
    #42
  13. Brink
    Brink New Member

    Add or Remove Windows Defender Exclusions in Windows 10

    Brink, Oct 5, 2017
    #43
  14. methusla Win User
    @Brink

    An answer to why you might exclude something from Defender scans:

    a) Legitimately: Sometimes there are train crashes when Defender examines itself
    Therefore, you might temporarily add exceptions to [folders]:
    C:\Program Files\Windows Defender
    C:\Program Files\Windows Defender Advance Threat Protection
    and there may be some other special cases, if you know what you are doing & the risks involved.

    b) You are a cunning malware writer, and you want to stop your victims from scanning your evil concoctions.

    Even if you employ (a) as a matter of course, it is advisable to check exclusions periodically (in particular after any malware managed to get through)
    I suppose it's possible the even the Defender files could be compromised, so from time to time re-enable the scans of Defender itself, and scan them. Just to be on the safe side.
    { Hint: You can set your favourite keys as 'favorites' in regedit, and use them just when you do a full scan }

    As for (b), malwares often seek to hide from Defender by registering themselves as exclusions. Naughty malwares!
    Often, but not always malwares have rather silly codified names, but sometimes the hide in plain sight as reasonable-looking things like "MySafetyScan" (please don't sue me!).

    Third-party scanners, trustworthy online scanners, are less easily fooled. But do be careful to avoid fake scanners that just bring more malwares! { I currently use freewares ESET online, Emsisoft, Malwarebytes etc - your mileage may vary. And use adware scanners. }

    There are two distinct ways in which Defender exclusions (files or folders) are registered:
    1) as direct Defender exclusions
    2) as 'Policy' exclusions (security, management)

    Both can be solved with regedit, the registry editor (be careful !! - it's a good plan to back up the registry before proceeding !!).
    {You will already know to [winkey], enter "regedit", etc, and to install regedit if you don't have it}

    The former (1) are likely to be found in this registry key { burrow down carefully, checking for accuracy as you go! }
    You will see the Defender settings exclusions there (the ones you see by going to Defender settings, exclusions).

    If they look like/are malware, you can delete the entries, all except '(default)'. Be careful, double check !!
    {Tip: you can use the standard ctrl-click to select one, & shift-click to select a range) Be careful, double check !! }

    The latter (2) are more puzzling, since the Defender settings will not let you remove them.
    You will see a message in RED: Some settings are managed by your organization

    Musfiquer Rhman at https://answers.microsoft.com/en-us/...f-d6b1b7e1c256 solved this by

    That's this key:
    A little deeper, I see that some policy keys use "policy objects" (long dll codes in curly brackets), and it may be advisable to drill down into these to make sure they are legitimate. I haven't done so yet.
    These keys, the list may not be complete:
    When you're done, close regedit & reboot, then double-check everything again. And, of course, get Defender updates & run a scan.
     
    methusla, Oct 23, 2017
    #44
  15. fishytuna Win User
    Sorry! Missed the link for the Ethernet guide from your previous post *Smile
    Already tried the first option, which did not work *Sad
    Will try the second option also (as soon as I get a chance to restart my computer *Biggrin)
    Thanks!

    However, I'd still prefer to go by the firewall approach if possible, because that would ensure that I would never encounter an unexpected Defender data fetch, even when I have connected to a completely new (not-yet-marked-as-metered) wireless/wired network *Smile
     
    fishytuna, Apr 4, 2018
    #45
Thema:

Add or Remove Windows Defender Exclusions in Windows 10

Loading...
  1. Add or Remove Windows Defender Exclusions in Windows 10 - Similar Threads - Add Remove Defender

  2. Windows Defender ignoring exclusions

    in AntiVirus, Firewalls and System Security
    Windows Defender ignoring exclusions: I have exclusions set up on several folders I don't want Windows Defender to scan. It seems that Windows Defender is ignoring that setting and is scanning and quarantining files in those folders anyway. Is there a reason this is happening and is there a way to fix it?...
  3. Windows Defender ignoring exclusions

    in AntiVirus, Firewalls and System Security
    Windows Defender ignoring exclusions: I have exclusions set up on several folders I don't want Windows Defender to scan. It seems that Windows Defender is ignoring that setting and is scanning and quarantining files in those folders anyway. Is there a reason this is happening and is there a way to fix it?...
  4. Windows Security, Add an exclusion, Process

    in AntiVirus, Firewalls and System Security
    Windows Security, Add an exclusion, Process: Hi Regarding Windows Security, defender antivirus scanner. It is possible to exclude a process name from the antivirus scans. Question: 1) That is the difference in added a file exclusion (e.g. c:\path\program.exe) and a process exclusion (e.g. program.exe). 2) Does the...
  5. Windows Defender not honoring my exclusions

    in AntiVirus, Firewalls and System Security
    Windows Defender not honoring my exclusions: OK so I have some terminal emulator software in which we dump a bunch of data to a .txt file for later analysis. Windows Defender (Windows 10) was scanning the files making that capture very slow. So I did the following: 1) Excluded the emulator software via process and...
  6. how do I get to "add an exclusion" in Windows Defender?

    in AntiVirus, Firewalls and System Security
    how do I get to "add an exclusion" in Windows Defender?: I want to exclude the process "Exclude a .exe, .com or scr process https://answers.microsoft.com/en-us/protect/forum/protect_defender-protect_scanning-windows_10/how-do-i-get-to-add-an-exclusion-in-windows/1a9ca6de-43a7-488f-ad6e-e872a5754adc
  7. Odd exclusions in Windows Defender

    in AntiVirus, Firewalls and System Security
    Odd exclusions in Windows Defender: Hi all. I just ran a quick scan as I frequently do and discovered a bunch of exclusions that I did not add with the exception of the one for Malwarebytes. Did Windows do this itself? Can these be safely removed? Lastly since I mentioned it, is the Malwarebytes exclusion...
  8. Add Program Exclusions To Windows Defender

    in AntiVirus, Firewalls and System Security
    Add Program Exclusions To Windows Defender: I make programs to solve needs I have. Many of these programs are TINY as in 50kb or so. On every other machine, double clicking one of these programs spawns a window within a second or less. But I got one machine that has Windows Defender running, and it takes up to a...
  9. Windows Defender won't let me add C:\Windows\Fonts as an exclusion...

    in AntiVirus, Firewalls and System Security
    Windows Defender won't let me add C:\Windows\Fonts as an exclusion...: Windows Defender is slowing my computer startup by scanning every single font I have installed (over 1000 of them), and it takes several minutes, during which my computer slows down considerably (takes 2 minutes for iTunes to start). I always scan my fonts with Defender and...
  10. "Add an exclusion" not selectable in Windows Defender

    in AntiVirus, Firewalls and System Security
    "Add an exclusion" not selectable in Windows Defender: For many years, I have used a custom "Hosts" file. I have read that Windows Defender will occasionally find that custom file and reinstall original. When I log on as administrator, the "Add an exclusion" line is gray and not a clickable link. Please help. 70897