Windows 10: Windows-Defender and Visual-C++ development: Exclude Executables/Processes xor data folders?

Discus and support Windows-Defender and Visual-C++ development: Exclude Executables/Processes xor data folders? in AntiVirus, Firewalls and System Security to solve the problem; Original Question at: https://stackoverflow.com/q/65423768/321013 It would appear to be "obvious" 12 that Antivirus Software on Windows put the... Discussion in 'AntiVirus, Firewalls and System Security' started by Martin Ba., Dec 23, 2020.

  1. Windows-Defender and Visual-C++ development: Exclude Executables/Processes xor data folders?


    Original Question at: https://stackoverflow.com/q/65423768/321013


    It would appear to be "obvious" 12 that Antivirus Software on Windows put the spanner in the works of esp. C++ compilation -- what ismuch less obvious to me is what is needed to be excluded from Real-Time Scanning.

    You get told fromdifferent resources on the Web, that you should exclude you project folders and yourdevenv.exe, cl.exe, node.exe ... what-have-you.


    See: https://docs.microsoft.com/en-us/windows/android/defender-settings


    However, these instructions seem a bit contradictory to me, at least as far as directory excludes vs. process excludes go:


    Q: If I tell my AV to not scan stuff used by process devenv.execl.exe..., then why on earth would I need toalso exclude my, e.g. C:\mystuff\cpp-project\** project folders?


    Q: Shouldn't a process exclusion of an AV product, that greps all relevant development tools be more than sufficient to speed up build times?


    Q: Why would additional do-not-scan-directory exclusions be necessary? Are they necessary?

    :)
     
    Martin Ba., Dec 23, 2020
    #1
  2. Brink Win User

    Improving the C++ Developer Experience in Visual Studio 2015


    Source: Improving the C++ Developer Experience in Visual Studio 2015 | The Visual Studio Blog
     
    Brink, Dec 23, 2020
    #2
  3. File History won't exclude folders

    I just tried to exclude C:\Users\Donny\Downloads using the legacy control panel File History interface. When I clicked "Select Folder" the folder was added to the excluded folders list. When I clicked "Save changes" and went back into the excluded folders
    list, C:\Users\Donny\Downloads was not listed at all.

    So certainly not fixed for me.
     
    Donny Murgatroyd, Dec 23, 2020
    #3
  4. kokakola Win User

    Windows-Defender and Visual-C++ development: Exclude Executables/Processes xor data folders?

    Windows Defender won't list Excluded files, File Locations, etc..etc


    Hi all,

    I have selected certain file types / folders and locations in Windows Defender on Windows 10 that were added to the exclusions lists...

    Previously I could go to Windows Defender and see what files, folders or extensions I had excluded but now they have disappeared....

    All I see is the add buttons which work as intended when I want to add a folder etc etc....
    But then they are not listed anywhere so that I can remember what I have excluded or not....

    Can some one please help me so that they are visible again, is there a setting in the registry that needs to be fixed?

    This is what I should see where, below the red arrows I should see the excluded files/folders including their path etc etc [see image below]

    Windows-Defender and Visual-C++ development: Exclude Executables/Processes xor data folders? [​IMG]

    but I see nothing..

    Yet if i go to the registry as indicated below...

    File and file location exclusions are stored in the registry key below.

    *Arrow HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths

    File type exclusions are stored in the registry key below.

    *Arrow HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Extensions

    Processes exclusions are stored in the registry key below.

    *Arrow HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Processes

    they are all listed there....?

    I have to say that windows defender is excluding folders/files and etc etc, that I have selected during its scans, but I cant see the excluded items in the Windows Defender as per image of my Exclusions section below...


    Windows-Defender and Visual-C++ development: Exclude Executables/Processes xor data folders? [​IMG]


    Thanking you in advance for your support and assistance on this issue....

    Cheers
     
    kokakola, Dec 23, 2020
    #4
Thema:

Windows-Defender and Visual-C++ development: Exclude Executables/Processes xor data folders?

Loading...
  1. Windows-Defender and Visual-C++ development: Exclude Executables/Processes xor data folders? - Similar Threads - Defender Visual C++

  2. Windows Defender scanning an excluded file

    in AntiVirus, Firewalls and System Security
    Windows Defender scanning an excluded file: Hi Having Windows Defender running on a server 2016.Excluded a folder: s:\database\application\dataVerified in the logfile C:\ProgramData\Microsoft\Windows Defender\Supportthe exclusion:2021-07-22T00:22:08.983Z [Exclusion] s:\database\application\data ->...
  3. windows defender not allowing to exclude anything

    in AntiVirus, Firewalls and System Security
    windows defender not allowing to exclude anything: The windows defender does not add or show the list of exclusions, I have tried many times, but it did not work even after disabling real time protection. [ATTACH]...
  4. Excluding folders in Windows Search

    in Windows 10 Support
    Excluding folders in Windows Search: Hi, I'd like to set Windows Search so that the search only searches within the user's C:\Users folder. Alternatively, I'd be happy if the Search searched the whole PC, but excluded the ability to search within other users' folders. I tried setting the Find My Files setting...
  5. Windows defender keeps scanning excluded folder

    in Windows 10 BSOD Crashes and Debugging
    Windows defender keeps scanning excluded folder: Hello, these two images show setup of windows defender and hdd usage by antivirus. I excluded folder from VMUbuntu and vmem file from defender and then I see it scanning exactly the same folder and file. This permanently blocks my computer and I have to shut it down...
  6. Exclude Folder.

    in Windows 10 Network and Sharing
    Exclude Folder.: Hey guys, I have a folder in my Windoes 10 Explorer that I want to exclude from media scanning, so it won't appear in anywhere except Explorer. Does anybody know how to make the equivalent of .NOMEDIA folder like the one in Android. Thank you very much....
  7. Windows indexing is not excluding folders that are excluded

    in Windows 10 Network and Sharing
    Windows indexing is not excluding folders that are excluded: Hello, My Windows start menu Windows search is showing results from the AppData folder despite the AppData folder being set as an excluded folder. My Windows 10 "Searching Windows" setting is set to classic and the excluded folder is clearly shown on the list. The issue...
  8. Windows Defender not adding excluded files and folders.

    in AntiVirus, Firewalls and System Security
    Windows Defender not adding excluded files and folders.: Hi, Today I tried to exclude files and folders in Windows Defender. Although I managed to select a file nothing was shown in the exclude window. I tried different files and folders on other drives but nothing was actually selected by Defender. Is this a bug? OS:...
  9. Windows Process execution

    in AntiVirus, Firewalls and System Security
    Windows Process execution: I would like to restrict my windows processes execution, for more details : as known most of processes can interact with each other, but in my case I want to be informed before this action happens. for example: if explorer.exe tries to interact with svchost.exe I should...
  10. Improving the C++ Developer Experience in Visual Studio 2015

    in Windows 10 News
    Improving the C++ Developer Experience in Visual Studio 2015: Harness the speed, performance and portability of modern C++ with the power of Visual Studio 2015 Update 2. This release includes remote debugging on Linux devices, additional support for targeting Android and iOS (and Windows), a state of the art C++ coding experience,...

Users found this page by searching for:

  1. Add C To Windows Security Exclusion