Stop avast! from attacking my own programsHow to remove Avast website ratingsWhy is “run this program as an...

Potential client has a problematic employee I can't work with

Why TEventArgs wasn't made contravariant in standard event pattern in the .Net ecosystem?

Non-Cancer terminal illness that can affect young (age 10-13) girls?

How can I get my players to come to the game session after agreeing to a date?

Why exactly do action photographers need high fps burst cameras?

Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?

Is using an 'empty' metaphor considered bad style?

When do I have to declare that I want to twin my spell?

Why was Lupin comfortable with saying Voldemort's name?

Does dispel magic end a master's control over their undead?

Why is Agricola named as such?

How should I handle players who ignore the session zero agreement?

Why did Luke use his left hand to shoot?

False written accusations not made public - is there law to cover this?

How to make ice magic work from a scientific point of view?

Why would space fleets be aligned?

When can a QA tester start his job?

How to deal with possible delayed baggage?

How much mayhem could I cause as a sentient fish?

Eww, those bytes are gross

Is it possible to grant users sftp access without shell access? If yes, how is it implemented?

A curious equality of integrals involving the prime counting function?

Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?

Why are the books in the Game of Thrones citadel library shelved spine inwards?



Stop avast! from attacking my own programs


How to remove Avast website ratingsWhy is “run this program as an administrator” disabled?Configure Avast Free from command linePrograms Unresponsive at about the same time EverydayWindows 10 Command Prompt: Running Programs freeze until Ctrl+CWhy do my videos on my PC play in 'slow motion'Scheduled task in windows (win7) not workConfigure Avast command-line scannerUnable to start most programs & services on Windows 10Avast's HTTPS Scanning is preventing clients from accessing a Squarespace site













46















I've been practicing my C# lately on a new system. Compiling is fine, however when I try to run the generated .exe file, avast! thinks it is malware and runs it in the sandbox for a while (and it doesn't work in the sandbox as it should work normally), and only when it has finished scanning it will it let me run it normally.



When I try to run it again, most of the time the same process happens, whether I make changes to the code or not.



Is there any way I could play around with Avast's settings to stop it attacking my programs?



Note: I'm dealing with very simple, command prompt programs here.










share|improve this question















migrated from stackoverflow.com Feb 22 '13 at 18:11


This question came from our site for professional and enthusiast programmers.














  • 5





    have you tried setting an exclusion folder for your root code folder?

    – DiskJunky
    Feb 22 '13 at 17:34











  • I have never, ever dealt with a problem like this. Either your EXE is doing something strange, or you need to dump this Avast app. That said, looks like you're not the only person why may have encountered this. I found several related links using [this Google search](google.com/….

    – Jonathan Wood
    Feb 22 '13 at 17:35











  • Weird. I run Avast and I'm a .NET developer for a living as well as doing a great deal of development at home in my spare time. I've never had Avast complain about one of my apps.

    – Pete
    Feb 22 '13 at 17:57











  • Disable Avast from scanning the directory where your .exe file is located. The fact your .exe is being blocked by Avast means your doing something nasty or odd enough Avast is flagging it. A normal program would not do this.

    – Ramhound
    Feb 22 '13 at 18:43






  • 4





    The comments here are terrible. Pointing fingers at OP instead of simply helping, or "it works for me!". The very idea that the program is only being scanned because "it's doing something dodgy" is crazy -- how does Avast know if it's doing something dodgy if it hasn't scanned it yet? :) Personally I get this all the time on a wide variety of programs I've compiled myself for whatever reason.e.g. SumatraPDF I suspect it's because these files are signed or 'installed' in any way.

    – Pod
    Nov 14 '16 at 9:23


















46















I've been practicing my C# lately on a new system. Compiling is fine, however when I try to run the generated .exe file, avast! thinks it is malware and runs it in the sandbox for a while (and it doesn't work in the sandbox as it should work normally), and only when it has finished scanning it will it let me run it normally.



When I try to run it again, most of the time the same process happens, whether I make changes to the code or not.



Is there any way I could play around with Avast's settings to stop it attacking my programs?



Note: I'm dealing with very simple, command prompt programs here.










share|improve this question















migrated from stackoverflow.com Feb 22 '13 at 18:11


This question came from our site for professional and enthusiast programmers.














  • 5





    have you tried setting an exclusion folder for your root code folder?

    – DiskJunky
    Feb 22 '13 at 17:34











  • I have never, ever dealt with a problem like this. Either your EXE is doing something strange, or you need to dump this Avast app. That said, looks like you're not the only person why may have encountered this. I found several related links using [this Google search](google.com/….

    – Jonathan Wood
    Feb 22 '13 at 17:35











  • Weird. I run Avast and I'm a .NET developer for a living as well as doing a great deal of development at home in my spare time. I've never had Avast complain about one of my apps.

    – Pete
    Feb 22 '13 at 17:57











  • Disable Avast from scanning the directory where your .exe file is located. The fact your .exe is being blocked by Avast means your doing something nasty or odd enough Avast is flagging it. A normal program would not do this.

    – Ramhound
    Feb 22 '13 at 18:43






  • 4





    The comments here are terrible. Pointing fingers at OP instead of simply helping, or "it works for me!". The very idea that the program is only being scanned because "it's doing something dodgy" is crazy -- how does Avast know if it's doing something dodgy if it hasn't scanned it yet? :) Personally I get this all the time on a wide variety of programs I've compiled myself for whatever reason.e.g. SumatraPDF I suspect it's because these files are signed or 'installed' in any way.

    – Pod
    Nov 14 '16 at 9:23
















46












46








46


5






I've been practicing my C# lately on a new system. Compiling is fine, however when I try to run the generated .exe file, avast! thinks it is malware and runs it in the sandbox for a while (and it doesn't work in the sandbox as it should work normally), and only when it has finished scanning it will it let me run it normally.



When I try to run it again, most of the time the same process happens, whether I make changes to the code or not.



Is there any way I could play around with Avast's settings to stop it attacking my programs?



Note: I'm dealing with very simple, command prompt programs here.










share|improve this question
















I've been practicing my C# lately on a new system. Compiling is fine, however when I try to run the generated .exe file, avast! thinks it is malware and runs it in the sandbox for a while (and it doesn't work in the sandbox as it should work normally), and only when it has finished scanning it will it let me run it normally.



When I try to run it again, most of the time the same process happens, whether I make changes to the code or not.



Is there any way I could play around with Avast's settings to stop it attacking my programs?



Note: I'm dealing with very simple, command prompt programs here.







windows avast






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 22 '13 at 19:25









slhck

161k47447470




161k47447470










asked Feb 22 '13 at 17:32









BluefireBluefire

3252411




3252411




migrated from stackoverflow.com Feb 22 '13 at 18:11


This question came from our site for professional and enthusiast programmers.









migrated from stackoverflow.com Feb 22 '13 at 18:11


This question came from our site for professional and enthusiast programmers.










  • 5





    have you tried setting an exclusion folder for your root code folder?

    – DiskJunky
    Feb 22 '13 at 17:34











  • I have never, ever dealt with a problem like this. Either your EXE is doing something strange, or you need to dump this Avast app. That said, looks like you're not the only person why may have encountered this. I found several related links using [this Google search](google.com/….

    – Jonathan Wood
    Feb 22 '13 at 17:35











  • Weird. I run Avast and I'm a .NET developer for a living as well as doing a great deal of development at home in my spare time. I've never had Avast complain about one of my apps.

    – Pete
    Feb 22 '13 at 17:57











  • Disable Avast from scanning the directory where your .exe file is located. The fact your .exe is being blocked by Avast means your doing something nasty or odd enough Avast is flagging it. A normal program would not do this.

    – Ramhound
    Feb 22 '13 at 18:43






  • 4





    The comments here are terrible. Pointing fingers at OP instead of simply helping, or "it works for me!". The very idea that the program is only being scanned because "it's doing something dodgy" is crazy -- how does Avast know if it's doing something dodgy if it hasn't scanned it yet? :) Personally I get this all the time on a wide variety of programs I've compiled myself for whatever reason.e.g. SumatraPDF I suspect it's because these files are signed or 'installed' in any way.

    – Pod
    Nov 14 '16 at 9:23
















  • 5





    have you tried setting an exclusion folder for your root code folder?

    – DiskJunky
    Feb 22 '13 at 17:34











  • I have never, ever dealt with a problem like this. Either your EXE is doing something strange, or you need to dump this Avast app. That said, looks like you're not the only person why may have encountered this. I found several related links using [this Google search](google.com/….

    – Jonathan Wood
    Feb 22 '13 at 17:35











  • Weird. I run Avast and I'm a .NET developer for a living as well as doing a great deal of development at home in my spare time. I've never had Avast complain about one of my apps.

    – Pete
    Feb 22 '13 at 17:57











  • Disable Avast from scanning the directory where your .exe file is located. The fact your .exe is being blocked by Avast means your doing something nasty or odd enough Avast is flagging it. A normal program would not do this.

    – Ramhound
    Feb 22 '13 at 18:43






  • 4





    The comments here are terrible. Pointing fingers at OP instead of simply helping, or "it works for me!". The very idea that the program is only being scanned because "it's doing something dodgy" is crazy -- how does Avast know if it's doing something dodgy if it hasn't scanned it yet? :) Personally I get this all the time on a wide variety of programs I've compiled myself for whatever reason.e.g. SumatraPDF I suspect it's because these files are signed or 'installed' in any way.

    – Pod
    Nov 14 '16 at 9:23










5




5





have you tried setting an exclusion folder for your root code folder?

– DiskJunky
Feb 22 '13 at 17:34





have you tried setting an exclusion folder for your root code folder?

– DiskJunky
Feb 22 '13 at 17:34













I have never, ever dealt with a problem like this. Either your EXE is doing something strange, or you need to dump this Avast app. That said, looks like you're not the only person why may have encountered this. I found several related links using [this Google search](google.com/….

– Jonathan Wood
Feb 22 '13 at 17:35





I have never, ever dealt with a problem like this. Either your EXE is doing something strange, or you need to dump this Avast app. That said, looks like you're not the only person why may have encountered this. I found several related links using [this Google search](google.com/….

– Jonathan Wood
Feb 22 '13 at 17:35













Weird. I run Avast and I'm a .NET developer for a living as well as doing a great deal of development at home in my spare time. I've never had Avast complain about one of my apps.

– Pete
Feb 22 '13 at 17:57





Weird. I run Avast and I'm a .NET developer for a living as well as doing a great deal of development at home in my spare time. I've never had Avast complain about one of my apps.

– Pete
Feb 22 '13 at 17:57













Disable Avast from scanning the directory where your .exe file is located. The fact your .exe is being blocked by Avast means your doing something nasty or odd enough Avast is flagging it. A normal program would not do this.

– Ramhound
Feb 22 '13 at 18:43





Disable Avast from scanning the directory where your .exe file is located. The fact your .exe is being blocked by Avast means your doing something nasty or odd enough Avast is flagging it. A normal program would not do this.

– Ramhound
Feb 22 '13 at 18:43




4




4





The comments here are terrible. Pointing fingers at OP instead of simply helping, or "it works for me!". The very idea that the program is only being scanned because "it's doing something dodgy" is crazy -- how does Avast know if it's doing something dodgy if it hasn't scanned it yet? :) Personally I get this all the time on a wide variety of programs I've compiled myself for whatever reason.e.g. SumatraPDF I suspect it's because these files are signed or 'installed' in any way.

– Pod
Nov 14 '16 at 9:23







The comments here are terrible. Pointing fingers at OP instead of simply helping, or "it works for me!". The very idea that the program is only being scanned because "it's doing something dodgy" is crazy -- how does Avast know if it's doing something dodgy if it hasn't scanned it yet? :) Personally I get this all the time on a wide variety of programs I've compiled myself for whatever reason.e.g. SumatraPDF I suspect it's because these files are signed or 'installed' in any way.

– Pod
Nov 14 '16 at 9:23












11 Answers
11






active

oldest

votes


















21














According to a user manual that I was able to find for version 4.8(see page 40), You need to do as the comments suggest and add your obj directory or bin directory to the exclusions list.



According to a post I found in the Avast forums from 2011 you can also add exclusions for single files by:




...manually edit[ing] the line where the path for the exception is.
So, using the "browse" button, select first the folder, and then edit
the resulting path and "add" to exclusions. You can also use "*" and
"?".







share|improve this answer































    26














    You have to disable Avast DeepScreen:



    Open Avast user interface>Settings>Antivirus uncheck, Enable DeepScreen.



    enter image description here



    It is now a much smaller option on the same page, (6th one down)



    The option is harder to find (in my opinion) for the different version I have (version in the image).



    enter image description here



    In Avast Premier 2017, disabling Hardened Mode does nothing! Instead you have to disable CyberCapture as shown below:



    enter image description here






    share|improve this answer





















    • 7





      This is the only thing that worked for me, exclusions didn't help. I'm very frustrated that I had to turn off part of my antivirus because it decided to forever block programs I use daily even after a clean scan.

      – Ben
      Nov 26 '13 at 4:52






    • 3





      This didn't work for me! Disabling DeepScreen had nothing but the same effects I was seeing before.

      – jj_
      Apr 25 '15 at 4:43











    • This does not work

      – user55570
      Apr 28 '18 at 23:47



















    7














    As others have mentioned, the culprit is DeepScreen. It's especially bad if you have Avast set to Silent/gaming mode because then you can get unexpected/bizarre behavior and have no idea why. (I spent an entire day debugging the installer for a program I'm developing because it suddenly started running twice every single time I launched it--DeepScreen is very forgetful--and only succeeding on the the second run.)



    Going under Settings, Update, Details, you can turn off popups for the majority of them--the annoying update-related popups, which should make it easier to work undisturbed, play video games, etc. But DeepScreen popups still pop up!



    CANNOT DISABLE DEEPSCREEN: I've tried disabling DeepScreen entirely (under Settings, Antivirus), since it's so disruptive, but this checkbox appears to have no effect.



    Unfortunately, the only way I currently have of disabling DeepScreen (in Avast 2014.9.0.2021) is to disable all shields! And I'm not even sure that this is working, since I sometimes get DeepScreen popups even with all shields disabled. Avast can't be prevented from starting with Windows during boot, so maybe uninstalling Avast is the only solution.



    [Note: I'd appreciate upvotes if possible, so I can get enough rep to participate here at SU via comments. My rep from stackoverflow doesn't apply here, sadly. Those feeling extra generous could upvote 253935 too... :)]






    share|improve this answer





















    • 1





      didn't work for me, disabling DeepScreen changed nothing.

      – jj_
      Apr 25 '15 at 4:44






    • 1





      It didn't work for me either (see "no effect" above), but temporarily disabling Avast (for testing purposes) usually did. If I were testing it today, though, I'd try the exclusion-list solution first, (see Pow-lan's answer).

      – Jon Coombs
      Apr 26 '15 at 7:02













    • Of course I had tried all exclusion lists before (both live monitoring and manual scan)...

      – jj_
      Apr 27 '15 at 13:12



















    2














    As you are using Avast double click on the Orange Avast Orb.
    Select Settings, and then select Antivirus.
    Scrolling down the Screen you will see Exclusions.



    If you select Exclusions and the directory you are compiling to.
    you will be able to compile from any directory you exclude.
    Without any troubles.






    share|improve this answer
























    • This does not work

      – user55570
      Apr 28 '18 at 23:46



















    1














    If none of these worked as they didn't for me try this.



    Open Avast > Settings > Components > Files System Shield > Customize > Exclusions > Add the path > OK > OK and you're done.






    share|improve this answer
























    • Also does not work

      – user55570
      Apr 28 '18 at 23:46



















    1














    I Added a file path exclusion for my entire dev folder d:dev* and this worked using Avast Professional 2017:




    1. Right-click Avast icon in the system tray

    2. Select Open Avast user Interface

    3. Click Settings at the bottom left of the window

    4. In the General tab scroll down to the Exclusions entry

    5. Enter a folder name in the File paths tab e.g. d:dev* (Every file and sub folder of the dev folder will be ignored)

    6. Click ok, bottom right and the changes will be applied immediately


    I didn't change Enable Cyber Capture or any other setting






    share|improve this answer
























    • This does not work

      – user55570
      Apr 28 '18 at 23:46











    • Hi @user55570 are you sure you're using the correct path to your exe files ? I've since changed my antivirus program. Perhaps this doesn't work on the the latest version.

      – PhilG
      May 3 '18 at 7:02



















    0














    I have tried all of the other solutions, like adding an exclusion or deep screen exclusion or exclusion to File System Component shield or disabling deepscreen, etc. The only solution that works for me is to stop the Avast service in services.msc or Computer Management/Services.






    share|improve this answer































      0














      I create D:ProjectDir then put source code or solution under this directory.



      Open Avast > Settings > Exclusions > File paths and add D:ProjectDir*bin**



      this is safer than adding rule D:ProjectDir* because avast will scan source code for example in D:ProjectDirmyapp but not compiled app located at



      D:ProjectDirmyappbinDebugmyapp.exe
      D:ProjectDirmyappbinReleasemyapp.exe


      With new avast (2018) Exclusions is enough you don't need to disable DeepScreen



      if still not work your app is truly Virus you need to disable or uninstall Avast :lol:






      share|improve this answer































        0














        At the risk of annoying the more experienced participants:




        • Xonatron is correct, CyberCapture is the culprit - at least in my case, too;

        • AFAIK, CyberCapture is enabled by default, so it seems to me this presents the problem with Deployment, since the end users will likely have exact same issue, now on their machines with the already-compiled programs... twice: once during the installation, and the second time when the program will run for the first time. Asking every potential user to disable CyberCapture doesn't seem feasible, so it seems this thread does Not have a resolution yet...

        • AND YET... How come CyberCapture doesn't affect any other programs except for the Visual Studio-compiled ones? I'm yet to download anything that would trip CyberCapture's "15 seconds of Death" behavior, and yet my own VB Net programs always do trigger it. On every install and every first run. Bummer.


        Now on to the annoyance: I do not have enough reputation to pose this as a Comment, so, unfortunately, chiming in as an Answer - apologies. Experienced people here may be able to edit/rectify this somehow.



        Bottom line: I don't think this question has been resolved yet. But would love to hear of solutions/workarounds, if any.






        share|improve this answer










        New contributor




        boshap59 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.




























          -1














          Here is an addition to @PhilG 's answer:



          Go into
          Avast general settings
          (example of a working avast settings).



          In the picture above you can see Exclusions. Add a new file path under File paths tab.



          If you want to only exclude an .exe file, add its path under CyberCapture tab.






          share|improve this answer


























          • This does not work

            – user55570
            Apr 28 '18 at 23:42











          • All the checkboxes are set-up as in the picture? Did you also try to exclude only 1 exe file using the CyberCapture tab?

            – Patronaut
            May 2 '18 at 13:28











          • yes. I added both wildcard and the specific .exe file. And the checkboxes are the same as in picture.

            – user55570
            May 3 '18 at 21:59





















          -1














          Done all the things above (including scanning/excluding the directory/exec where the exec is located) but 20 second after starting, avast kill it. No message, no quarantine, but i have found a way to circumvent the problem:




          1. stop all avast agents

          2. start the exec.

          3. reactivate all agents.


          everything is ok until next boot.



          But if i can't find any valuable solution, i'll kill avast definitly !






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f555905%2fstop-avast-from-attacking-my-own-programs%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            11 Answers
            11






            active

            oldest

            votes








            11 Answers
            11






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            21














            According to a user manual that I was able to find for version 4.8(see page 40), You need to do as the comments suggest and add your obj directory or bin directory to the exclusions list.



            According to a post I found in the Avast forums from 2011 you can also add exclusions for single files by:




            ...manually edit[ing] the line where the path for the exception is.
            So, using the "browse" button, select first the folder, and then edit
            the resulting path and "add" to exclusions. You can also use "*" and
            "?".







            share|improve this answer




























              21














              According to a user manual that I was able to find for version 4.8(see page 40), You need to do as the comments suggest and add your obj directory or bin directory to the exclusions list.



              According to a post I found in the Avast forums from 2011 you can also add exclusions for single files by:




              ...manually edit[ing] the line where the path for the exception is.
              So, using the "browse" button, select first the folder, and then edit
              the resulting path and "add" to exclusions. You can also use "*" and
              "?".







              share|improve this answer


























                21












                21








                21







                According to a user manual that I was able to find for version 4.8(see page 40), You need to do as the comments suggest and add your obj directory or bin directory to the exclusions list.



                According to a post I found in the Avast forums from 2011 you can also add exclusions for single files by:




                ...manually edit[ing] the line where the path for the exception is.
                So, using the "browse" button, select first the folder, and then edit
                the resulting path and "add" to exclusions. You can also use "*" and
                "?".







                share|improve this answer













                According to a user manual that I was able to find for version 4.8(see page 40), You need to do as the comments suggest and add your obj directory or bin directory to the exclusions list.



                According to a post I found in the Avast forums from 2011 you can also add exclusions for single files by:




                ...manually edit[ing] the line where the path for the exception is.
                So, using the "browse" button, select first the folder, and then edit
                the resulting path and "add" to exclusions. You can also use "*" and
                "?".








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 22 '13 at 20:14









                Pow-IanPow-Ian

                40537




                40537

























                    26














                    You have to disable Avast DeepScreen:



                    Open Avast user interface>Settings>Antivirus uncheck, Enable DeepScreen.



                    enter image description here



                    It is now a much smaller option on the same page, (6th one down)



                    The option is harder to find (in my opinion) for the different version I have (version in the image).



                    enter image description here



                    In Avast Premier 2017, disabling Hardened Mode does nothing! Instead you have to disable CyberCapture as shown below:



                    enter image description here






                    share|improve this answer





















                    • 7





                      This is the only thing that worked for me, exclusions didn't help. I'm very frustrated that I had to turn off part of my antivirus because it decided to forever block programs I use daily even after a clean scan.

                      – Ben
                      Nov 26 '13 at 4:52






                    • 3





                      This didn't work for me! Disabling DeepScreen had nothing but the same effects I was seeing before.

                      – jj_
                      Apr 25 '15 at 4:43











                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:47
















                    26














                    You have to disable Avast DeepScreen:



                    Open Avast user interface>Settings>Antivirus uncheck, Enable DeepScreen.



                    enter image description here



                    It is now a much smaller option on the same page, (6th one down)



                    The option is harder to find (in my opinion) for the different version I have (version in the image).



                    enter image description here



                    In Avast Premier 2017, disabling Hardened Mode does nothing! Instead you have to disable CyberCapture as shown below:



                    enter image description here






                    share|improve this answer





















                    • 7





                      This is the only thing that worked for me, exclusions didn't help. I'm very frustrated that I had to turn off part of my antivirus because it decided to forever block programs I use daily even after a clean scan.

                      – Ben
                      Nov 26 '13 at 4:52






                    • 3





                      This didn't work for me! Disabling DeepScreen had nothing but the same effects I was seeing before.

                      – jj_
                      Apr 25 '15 at 4:43











                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:47














                    26












                    26








                    26







                    You have to disable Avast DeepScreen:



                    Open Avast user interface>Settings>Antivirus uncheck, Enable DeepScreen.



                    enter image description here



                    It is now a much smaller option on the same page, (6th one down)



                    The option is harder to find (in my opinion) for the different version I have (version in the image).



                    enter image description here



                    In Avast Premier 2017, disabling Hardened Mode does nothing! Instead you have to disable CyberCapture as shown below:



                    enter image description here






                    share|improve this answer















                    You have to disable Avast DeepScreen:



                    Open Avast user interface>Settings>Antivirus uncheck, Enable DeepScreen.



                    enter image description here



                    It is now a much smaller option on the same page, (6th one down)



                    The option is harder to find (in my opinion) for the different version I have (version in the image).



                    enter image description here



                    In Avast Premier 2017, disabling Hardened Mode does nothing! Instead you have to disable CyberCapture as shown below:



                    enter image description here







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jul 30 '17 at 5:48







                    user477799

















                    answered Nov 13 '13 at 5:52









                    XonatronXonatron

                    68441219




                    68441219








                    • 7





                      This is the only thing that worked for me, exclusions didn't help. I'm very frustrated that I had to turn off part of my antivirus because it decided to forever block programs I use daily even after a clean scan.

                      – Ben
                      Nov 26 '13 at 4:52






                    • 3





                      This didn't work for me! Disabling DeepScreen had nothing but the same effects I was seeing before.

                      – jj_
                      Apr 25 '15 at 4:43











                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:47














                    • 7





                      This is the only thing that worked for me, exclusions didn't help. I'm very frustrated that I had to turn off part of my antivirus because it decided to forever block programs I use daily even after a clean scan.

                      – Ben
                      Nov 26 '13 at 4:52






                    • 3





                      This didn't work for me! Disabling DeepScreen had nothing but the same effects I was seeing before.

                      – jj_
                      Apr 25 '15 at 4:43











                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:47








                    7




                    7





                    This is the only thing that worked for me, exclusions didn't help. I'm very frustrated that I had to turn off part of my antivirus because it decided to forever block programs I use daily even after a clean scan.

                    – Ben
                    Nov 26 '13 at 4:52





                    This is the only thing that worked for me, exclusions didn't help. I'm very frustrated that I had to turn off part of my antivirus because it decided to forever block programs I use daily even after a clean scan.

                    – Ben
                    Nov 26 '13 at 4:52




                    3




                    3





                    This didn't work for me! Disabling DeepScreen had nothing but the same effects I was seeing before.

                    – jj_
                    Apr 25 '15 at 4:43





                    This didn't work for me! Disabling DeepScreen had nothing but the same effects I was seeing before.

                    – jj_
                    Apr 25 '15 at 4:43













                    This does not work

                    – user55570
                    Apr 28 '18 at 23:47





                    This does not work

                    – user55570
                    Apr 28 '18 at 23:47











                    7














                    As others have mentioned, the culprit is DeepScreen. It's especially bad if you have Avast set to Silent/gaming mode because then you can get unexpected/bizarre behavior and have no idea why. (I spent an entire day debugging the installer for a program I'm developing because it suddenly started running twice every single time I launched it--DeepScreen is very forgetful--and only succeeding on the the second run.)



                    Going under Settings, Update, Details, you can turn off popups for the majority of them--the annoying update-related popups, which should make it easier to work undisturbed, play video games, etc. But DeepScreen popups still pop up!



                    CANNOT DISABLE DEEPSCREEN: I've tried disabling DeepScreen entirely (under Settings, Antivirus), since it's so disruptive, but this checkbox appears to have no effect.



                    Unfortunately, the only way I currently have of disabling DeepScreen (in Avast 2014.9.0.2021) is to disable all shields! And I'm not even sure that this is working, since I sometimes get DeepScreen popups even with all shields disabled. Avast can't be prevented from starting with Windows during boot, so maybe uninstalling Avast is the only solution.



                    [Note: I'd appreciate upvotes if possible, so I can get enough rep to participate here at SU via comments. My rep from stackoverflow doesn't apply here, sadly. Those feeling extra generous could upvote 253935 too... :)]






                    share|improve this answer





















                    • 1





                      didn't work for me, disabling DeepScreen changed nothing.

                      – jj_
                      Apr 25 '15 at 4:44






                    • 1





                      It didn't work for me either (see "no effect" above), but temporarily disabling Avast (for testing purposes) usually did. If I were testing it today, though, I'd try the exclusion-list solution first, (see Pow-lan's answer).

                      – Jon Coombs
                      Apr 26 '15 at 7:02













                    • Of course I had tried all exclusion lists before (both live monitoring and manual scan)...

                      – jj_
                      Apr 27 '15 at 13:12
















                    7














                    As others have mentioned, the culprit is DeepScreen. It's especially bad if you have Avast set to Silent/gaming mode because then you can get unexpected/bizarre behavior and have no idea why. (I spent an entire day debugging the installer for a program I'm developing because it suddenly started running twice every single time I launched it--DeepScreen is very forgetful--and only succeeding on the the second run.)



                    Going under Settings, Update, Details, you can turn off popups for the majority of them--the annoying update-related popups, which should make it easier to work undisturbed, play video games, etc. But DeepScreen popups still pop up!



                    CANNOT DISABLE DEEPSCREEN: I've tried disabling DeepScreen entirely (under Settings, Antivirus), since it's so disruptive, but this checkbox appears to have no effect.



                    Unfortunately, the only way I currently have of disabling DeepScreen (in Avast 2014.9.0.2021) is to disable all shields! And I'm not even sure that this is working, since I sometimes get DeepScreen popups even with all shields disabled. Avast can't be prevented from starting with Windows during boot, so maybe uninstalling Avast is the only solution.



                    [Note: I'd appreciate upvotes if possible, so I can get enough rep to participate here at SU via comments. My rep from stackoverflow doesn't apply here, sadly. Those feeling extra generous could upvote 253935 too... :)]






                    share|improve this answer





















                    • 1





                      didn't work for me, disabling DeepScreen changed nothing.

                      – jj_
                      Apr 25 '15 at 4:44






                    • 1





                      It didn't work for me either (see "no effect" above), but temporarily disabling Avast (for testing purposes) usually did. If I were testing it today, though, I'd try the exclusion-list solution first, (see Pow-lan's answer).

                      – Jon Coombs
                      Apr 26 '15 at 7:02













                    • Of course I had tried all exclusion lists before (both live monitoring and manual scan)...

                      – jj_
                      Apr 27 '15 at 13:12














                    7












                    7








                    7







                    As others have mentioned, the culprit is DeepScreen. It's especially bad if you have Avast set to Silent/gaming mode because then you can get unexpected/bizarre behavior and have no idea why. (I spent an entire day debugging the installer for a program I'm developing because it suddenly started running twice every single time I launched it--DeepScreen is very forgetful--and only succeeding on the the second run.)



                    Going under Settings, Update, Details, you can turn off popups for the majority of them--the annoying update-related popups, which should make it easier to work undisturbed, play video games, etc. But DeepScreen popups still pop up!



                    CANNOT DISABLE DEEPSCREEN: I've tried disabling DeepScreen entirely (under Settings, Antivirus), since it's so disruptive, but this checkbox appears to have no effect.



                    Unfortunately, the only way I currently have of disabling DeepScreen (in Avast 2014.9.0.2021) is to disable all shields! And I'm not even sure that this is working, since I sometimes get DeepScreen popups even with all shields disabled. Avast can't be prevented from starting with Windows during boot, so maybe uninstalling Avast is the only solution.



                    [Note: I'd appreciate upvotes if possible, so I can get enough rep to participate here at SU via comments. My rep from stackoverflow doesn't apply here, sadly. Those feeling extra generous could upvote 253935 too... :)]






                    share|improve this answer















                    As others have mentioned, the culprit is DeepScreen. It's especially bad if you have Avast set to Silent/gaming mode because then you can get unexpected/bizarre behavior and have no idea why. (I spent an entire day debugging the installer for a program I'm developing because it suddenly started running twice every single time I launched it--DeepScreen is very forgetful--and only succeeding on the the second run.)



                    Going under Settings, Update, Details, you can turn off popups for the majority of them--the annoying update-related popups, which should make it easier to work undisturbed, play video games, etc. But DeepScreen popups still pop up!



                    CANNOT DISABLE DEEPSCREEN: I've tried disabling DeepScreen entirely (under Settings, Antivirus), since it's so disruptive, but this checkbox appears to have no effect.



                    Unfortunately, the only way I currently have of disabling DeepScreen (in Avast 2014.9.0.2021) is to disable all shields! And I'm not even sure that this is working, since I sometimes get DeepScreen popups even with all shields disabled. Avast can't be prevented from starting with Windows during boot, so maybe uninstalling Avast is the only solution.



                    [Note: I'd appreciate upvotes if possible, so I can get enough rep to participate here at SU via comments. My rep from stackoverflow doesn't apply here, sadly. Those feeling extra generous could upvote 253935 too... :)]







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Aug 2 '14 at 16:28

























                    answered Aug 2 '14 at 16:05









                    Jon CoombsJon Coombs

                    35639




                    35639








                    • 1





                      didn't work for me, disabling DeepScreen changed nothing.

                      – jj_
                      Apr 25 '15 at 4:44






                    • 1





                      It didn't work for me either (see "no effect" above), but temporarily disabling Avast (for testing purposes) usually did. If I were testing it today, though, I'd try the exclusion-list solution first, (see Pow-lan's answer).

                      – Jon Coombs
                      Apr 26 '15 at 7:02













                    • Of course I had tried all exclusion lists before (both live monitoring and manual scan)...

                      – jj_
                      Apr 27 '15 at 13:12














                    • 1





                      didn't work for me, disabling DeepScreen changed nothing.

                      – jj_
                      Apr 25 '15 at 4:44






                    • 1





                      It didn't work for me either (see "no effect" above), but temporarily disabling Avast (for testing purposes) usually did. If I were testing it today, though, I'd try the exclusion-list solution first, (see Pow-lan's answer).

                      – Jon Coombs
                      Apr 26 '15 at 7:02













                    • Of course I had tried all exclusion lists before (both live monitoring and manual scan)...

                      – jj_
                      Apr 27 '15 at 13:12








                    1




                    1





                    didn't work for me, disabling DeepScreen changed nothing.

                    – jj_
                    Apr 25 '15 at 4:44





                    didn't work for me, disabling DeepScreen changed nothing.

                    – jj_
                    Apr 25 '15 at 4:44




                    1




                    1





                    It didn't work for me either (see "no effect" above), but temporarily disabling Avast (for testing purposes) usually did. If I were testing it today, though, I'd try the exclusion-list solution first, (see Pow-lan's answer).

                    – Jon Coombs
                    Apr 26 '15 at 7:02







                    It didn't work for me either (see "no effect" above), but temporarily disabling Avast (for testing purposes) usually did. If I were testing it today, though, I'd try the exclusion-list solution first, (see Pow-lan's answer).

                    – Jon Coombs
                    Apr 26 '15 at 7:02















                    Of course I had tried all exclusion lists before (both live monitoring and manual scan)...

                    – jj_
                    Apr 27 '15 at 13:12





                    Of course I had tried all exclusion lists before (both live monitoring and manual scan)...

                    – jj_
                    Apr 27 '15 at 13:12











                    2














                    As you are using Avast double click on the Orange Avast Orb.
                    Select Settings, and then select Antivirus.
                    Scrolling down the Screen you will see Exclusions.



                    If you select Exclusions and the directory you are compiling to.
                    you will be able to compile from any directory you exclude.
                    Without any troubles.






                    share|improve this answer
























                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:46
















                    2














                    As you are using Avast double click on the Orange Avast Orb.
                    Select Settings, and then select Antivirus.
                    Scrolling down the Screen you will see Exclusions.



                    If you select Exclusions and the directory you are compiling to.
                    you will be able to compile from any directory you exclude.
                    Without any troubles.






                    share|improve this answer
























                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:46














                    2












                    2








                    2







                    As you are using Avast double click on the Orange Avast Orb.
                    Select Settings, and then select Antivirus.
                    Scrolling down the Screen you will see Exclusions.



                    If you select Exclusions and the directory you are compiling to.
                    you will be able to compile from any directory you exclude.
                    Without any troubles.






                    share|improve this answer













                    As you are using Avast double click on the Orange Avast Orb.
                    Select Settings, and then select Antivirus.
                    Scrolling down the Screen you will see Exclusions.



                    If you select Exclusions and the directory you are compiling to.
                    you will be able to compile from any directory you exclude.
                    Without any troubles.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Apr 20 '14 at 18:13









                    Roberts_ClifRoberts_Clif

                    211




                    211













                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:46



















                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:46

















                    This does not work

                    – user55570
                    Apr 28 '18 at 23:46





                    This does not work

                    – user55570
                    Apr 28 '18 at 23:46











                    1














                    If none of these worked as they didn't for me try this.



                    Open Avast > Settings > Components > Files System Shield > Customize > Exclusions > Add the path > OK > OK and you're done.






                    share|improve this answer
























                    • Also does not work

                      – user55570
                      Apr 28 '18 at 23:46
















                    1














                    If none of these worked as they didn't for me try this.



                    Open Avast > Settings > Components > Files System Shield > Customize > Exclusions > Add the path > OK > OK and you're done.






                    share|improve this answer
























                    • Also does not work

                      – user55570
                      Apr 28 '18 at 23:46














                    1












                    1








                    1







                    If none of these worked as they didn't for me try this.



                    Open Avast > Settings > Components > Files System Shield > Customize > Exclusions > Add the path > OK > OK and you're done.






                    share|improve this answer













                    If none of these worked as they didn't for me try this.



                    Open Avast > Settings > Components > Files System Shield > Customize > Exclusions > Add the path > OK > OK and you're done.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jun 13 '17 at 7:25









                    M SeckM Seck

                    92




                    92













                    • Also does not work

                      – user55570
                      Apr 28 '18 at 23:46



















                    • Also does not work

                      – user55570
                      Apr 28 '18 at 23:46

















                    Also does not work

                    – user55570
                    Apr 28 '18 at 23:46





                    Also does not work

                    – user55570
                    Apr 28 '18 at 23:46











                    1














                    I Added a file path exclusion for my entire dev folder d:dev* and this worked using Avast Professional 2017:




                    1. Right-click Avast icon in the system tray

                    2. Select Open Avast user Interface

                    3. Click Settings at the bottom left of the window

                    4. In the General tab scroll down to the Exclusions entry

                    5. Enter a folder name in the File paths tab e.g. d:dev* (Every file and sub folder of the dev folder will be ignored)

                    6. Click ok, bottom right and the changes will be applied immediately


                    I didn't change Enable Cyber Capture or any other setting






                    share|improve this answer
























                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:46











                    • Hi @user55570 are you sure you're using the correct path to your exe files ? I've since changed my antivirus program. Perhaps this doesn't work on the the latest version.

                      – PhilG
                      May 3 '18 at 7:02
















                    1














                    I Added a file path exclusion for my entire dev folder d:dev* and this worked using Avast Professional 2017:




                    1. Right-click Avast icon in the system tray

                    2. Select Open Avast user Interface

                    3. Click Settings at the bottom left of the window

                    4. In the General tab scroll down to the Exclusions entry

                    5. Enter a folder name in the File paths tab e.g. d:dev* (Every file and sub folder of the dev folder will be ignored)

                    6. Click ok, bottom right and the changes will be applied immediately


                    I didn't change Enable Cyber Capture or any other setting






                    share|improve this answer
























                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:46











                    • Hi @user55570 are you sure you're using the correct path to your exe files ? I've since changed my antivirus program. Perhaps this doesn't work on the the latest version.

                      – PhilG
                      May 3 '18 at 7:02














                    1












                    1








                    1







                    I Added a file path exclusion for my entire dev folder d:dev* and this worked using Avast Professional 2017:




                    1. Right-click Avast icon in the system tray

                    2. Select Open Avast user Interface

                    3. Click Settings at the bottom left of the window

                    4. In the General tab scroll down to the Exclusions entry

                    5. Enter a folder name in the File paths tab e.g. d:dev* (Every file and sub folder of the dev folder will be ignored)

                    6. Click ok, bottom right and the changes will be applied immediately


                    I didn't change Enable Cyber Capture or any other setting






                    share|improve this answer













                    I Added a file path exclusion for my entire dev folder d:dev* and this worked using Avast Professional 2017:




                    1. Right-click Avast icon in the system tray

                    2. Select Open Avast user Interface

                    3. Click Settings at the bottom left of the window

                    4. In the General tab scroll down to the Exclusions entry

                    5. Enter a folder name in the File paths tab e.g. d:dev* (Every file and sub folder of the dev folder will be ignored)

                    6. Click ok, bottom right and the changes will be applied immediately


                    I didn't change Enable Cyber Capture or any other setting







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 5 '17 at 21:19









                    PhilGPhilG

                    111




                    111













                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:46











                    • Hi @user55570 are you sure you're using the correct path to your exe files ? I've since changed my antivirus program. Perhaps this doesn't work on the the latest version.

                      – PhilG
                      May 3 '18 at 7:02



















                    • This does not work

                      – user55570
                      Apr 28 '18 at 23:46











                    • Hi @user55570 are you sure you're using the correct path to your exe files ? I've since changed my antivirus program. Perhaps this doesn't work on the the latest version.

                      – PhilG
                      May 3 '18 at 7:02

















                    This does not work

                    – user55570
                    Apr 28 '18 at 23:46





                    This does not work

                    – user55570
                    Apr 28 '18 at 23:46













                    Hi @user55570 are you sure you're using the correct path to your exe files ? I've since changed my antivirus program. Perhaps this doesn't work on the the latest version.

                    – PhilG
                    May 3 '18 at 7:02





                    Hi @user55570 are you sure you're using the correct path to your exe files ? I've since changed my antivirus program. Perhaps this doesn't work on the the latest version.

                    – PhilG
                    May 3 '18 at 7:02











                    0














                    I have tried all of the other solutions, like adding an exclusion or deep screen exclusion or exclusion to File System Component shield or disabling deepscreen, etc. The only solution that works for me is to stop the Avast service in services.msc or Computer Management/Services.






                    share|improve this answer




























                      0














                      I have tried all of the other solutions, like adding an exclusion or deep screen exclusion or exclusion to File System Component shield or disabling deepscreen, etc. The only solution that works for me is to stop the Avast service in services.msc or Computer Management/Services.






                      share|improve this answer


























                        0












                        0








                        0







                        I have tried all of the other solutions, like adding an exclusion or deep screen exclusion or exclusion to File System Component shield or disabling deepscreen, etc. The only solution that works for me is to stop the Avast service in services.msc or Computer Management/Services.






                        share|improve this answer













                        I have tried all of the other solutions, like adding an exclusion or deep screen exclusion or exclusion to File System Component shield or disabling deepscreen, etc. The only solution that works for me is to stop the Avast service in services.msc or Computer Management/Services.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Apr 28 '18 at 23:48









                        user55570user55570

                        2851312




                        2851312























                            0














                            I create D:ProjectDir then put source code or solution under this directory.



                            Open Avast > Settings > Exclusions > File paths and add D:ProjectDir*bin**



                            this is safer than adding rule D:ProjectDir* because avast will scan source code for example in D:ProjectDirmyapp but not compiled app located at



                            D:ProjectDirmyappbinDebugmyapp.exe
                            D:ProjectDirmyappbinReleasemyapp.exe


                            With new avast (2018) Exclusions is enough you don't need to disable DeepScreen



                            if still not work your app is truly Virus you need to disable or uninstall Avast :lol:






                            share|improve this answer




























                              0














                              I create D:ProjectDir then put source code or solution under this directory.



                              Open Avast > Settings > Exclusions > File paths and add D:ProjectDir*bin**



                              this is safer than adding rule D:ProjectDir* because avast will scan source code for example in D:ProjectDirmyapp but not compiled app located at



                              D:ProjectDirmyappbinDebugmyapp.exe
                              D:ProjectDirmyappbinReleasemyapp.exe


                              With new avast (2018) Exclusions is enough you don't need to disable DeepScreen



                              if still not work your app is truly Virus you need to disable or uninstall Avast :lol:






                              share|improve this answer


























                                0












                                0








                                0







                                I create D:ProjectDir then put source code or solution under this directory.



                                Open Avast > Settings > Exclusions > File paths and add D:ProjectDir*bin**



                                this is safer than adding rule D:ProjectDir* because avast will scan source code for example in D:ProjectDirmyapp but not compiled app located at



                                D:ProjectDirmyappbinDebugmyapp.exe
                                D:ProjectDirmyappbinReleasemyapp.exe


                                With new avast (2018) Exclusions is enough you don't need to disable DeepScreen



                                if still not work your app is truly Virus you need to disable or uninstall Avast :lol:






                                share|improve this answer













                                I create D:ProjectDir then put source code or solution under this directory.



                                Open Avast > Settings > Exclusions > File paths and add D:ProjectDir*bin**



                                this is safer than adding rule D:ProjectDir* because avast will scan source code for example in D:ProjectDirmyapp but not compiled app located at



                                D:ProjectDirmyappbinDebugmyapp.exe
                                D:ProjectDirmyappbinReleasemyapp.exe


                                With new avast (2018) Exclusions is enough you don't need to disable DeepScreen



                                if still not work your app is truly Virus you need to disable or uninstall Avast :lol:







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Aug 25 '18 at 8:16









                                ewwinkewwink

                                1011




                                1011























                                    0














                                    At the risk of annoying the more experienced participants:




                                    • Xonatron is correct, CyberCapture is the culprit - at least in my case, too;

                                    • AFAIK, CyberCapture is enabled by default, so it seems to me this presents the problem with Deployment, since the end users will likely have exact same issue, now on their machines with the already-compiled programs... twice: once during the installation, and the second time when the program will run for the first time. Asking every potential user to disable CyberCapture doesn't seem feasible, so it seems this thread does Not have a resolution yet...

                                    • AND YET... How come CyberCapture doesn't affect any other programs except for the Visual Studio-compiled ones? I'm yet to download anything that would trip CyberCapture's "15 seconds of Death" behavior, and yet my own VB Net programs always do trigger it. On every install and every first run. Bummer.


                                    Now on to the annoyance: I do not have enough reputation to pose this as a Comment, so, unfortunately, chiming in as an Answer - apologies. Experienced people here may be able to edit/rectify this somehow.



                                    Bottom line: I don't think this question has been resolved yet. But would love to hear of solutions/workarounds, if any.






                                    share|improve this answer










                                    New contributor




                                    boshap59 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.

























                                      0














                                      At the risk of annoying the more experienced participants:




                                      • Xonatron is correct, CyberCapture is the culprit - at least in my case, too;

                                      • AFAIK, CyberCapture is enabled by default, so it seems to me this presents the problem with Deployment, since the end users will likely have exact same issue, now on their machines with the already-compiled programs... twice: once during the installation, and the second time when the program will run for the first time. Asking every potential user to disable CyberCapture doesn't seem feasible, so it seems this thread does Not have a resolution yet...

                                      • AND YET... How come CyberCapture doesn't affect any other programs except for the Visual Studio-compiled ones? I'm yet to download anything that would trip CyberCapture's "15 seconds of Death" behavior, and yet my own VB Net programs always do trigger it. On every install and every first run. Bummer.


                                      Now on to the annoyance: I do not have enough reputation to pose this as a Comment, so, unfortunately, chiming in as an Answer - apologies. Experienced people here may be able to edit/rectify this somehow.



                                      Bottom line: I don't think this question has been resolved yet. But would love to hear of solutions/workarounds, if any.






                                      share|improve this answer










                                      New contributor




                                      boshap59 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                      Check out our Code of Conduct.























                                        0












                                        0








                                        0







                                        At the risk of annoying the more experienced participants:




                                        • Xonatron is correct, CyberCapture is the culprit - at least in my case, too;

                                        • AFAIK, CyberCapture is enabled by default, so it seems to me this presents the problem with Deployment, since the end users will likely have exact same issue, now on their machines with the already-compiled programs... twice: once during the installation, and the second time when the program will run for the first time. Asking every potential user to disable CyberCapture doesn't seem feasible, so it seems this thread does Not have a resolution yet...

                                        • AND YET... How come CyberCapture doesn't affect any other programs except for the Visual Studio-compiled ones? I'm yet to download anything that would trip CyberCapture's "15 seconds of Death" behavior, and yet my own VB Net programs always do trigger it. On every install and every first run. Bummer.


                                        Now on to the annoyance: I do not have enough reputation to pose this as a Comment, so, unfortunately, chiming in as an Answer - apologies. Experienced people here may be able to edit/rectify this somehow.



                                        Bottom line: I don't think this question has been resolved yet. But would love to hear of solutions/workarounds, if any.






                                        share|improve this answer










                                        New contributor




                                        boshap59 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                        Check out our Code of Conduct.










                                        At the risk of annoying the more experienced participants:




                                        • Xonatron is correct, CyberCapture is the culprit - at least in my case, too;

                                        • AFAIK, CyberCapture is enabled by default, so it seems to me this presents the problem with Deployment, since the end users will likely have exact same issue, now on their machines with the already-compiled programs... twice: once during the installation, and the second time when the program will run for the first time. Asking every potential user to disable CyberCapture doesn't seem feasible, so it seems this thread does Not have a resolution yet...

                                        • AND YET... How come CyberCapture doesn't affect any other programs except for the Visual Studio-compiled ones? I'm yet to download anything that would trip CyberCapture's "15 seconds of Death" behavior, and yet my own VB Net programs always do trigger it. On every install and every first run. Bummer.


                                        Now on to the annoyance: I do not have enough reputation to pose this as a Comment, so, unfortunately, chiming in as an Answer - apologies. Experienced people here may be able to edit/rectify this somehow.



                                        Bottom line: I don't think this question has been resolved yet. But would love to hear of solutions/workarounds, if any.







                                        share|improve this answer










                                        New contributor




                                        boshap59 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                        Check out our Code of Conduct.









                                        share|improve this answer



                                        share|improve this answer








                                        edited 11 mins ago





















                                        New contributor




                                        boshap59 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                        Check out our Code of Conduct.









                                        answered 25 mins ago









                                        boshap59boshap59

                                        12




                                        12




                                        New contributor




                                        boshap59 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                        Check out our Code of Conduct.





                                        New contributor





                                        boshap59 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                        Check out our Code of Conduct.






                                        boshap59 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                        Check out our Code of Conduct.























                                            -1














                                            Here is an addition to @PhilG 's answer:



                                            Go into
                                            Avast general settings
                                            (example of a working avast settings).



                                            In the picture above you can see Exclusions. Add a new file path under File paths tab.



                                            If you want to only exclude an .exe file, add its path under CyberCapture tab.






                                            share|improve this answer


























                                            • This does not work

                                              – user55570
                                              Apr 28 '18 at 23:42











                                            • All the checkboxes are set-up as in the picture? Did you also try to exclude only 1 exe file using the CyberCapture tab?

                                              – Patronaut
                                              May 2 '18 at 13:28











                                            • yes. I added both wildcard and the specific .exe file. And the checkboxes are the same as in picture.

                                              – user55570
                                              May 3 '18 at 21:59


















                                            -1














                                            Here is an addition to @PhilG 's answer:



                                            Go into
                                            Avast general settings
                                            (example of a working avast settings).



                                            In the picture above you can see Exclusions. Add a new file path under File paths tab.



                                            If you want to only exclude an .exe file, add its path under CyberCapture tab.






                                            share|improve this answer


























                                            • This does not work

                                              – user55570
                                              Apr 28 '18 at 23:42











                                            • All the checkboxes are set-up as in the picture? Did you also try to exclude only 1 exe file using the CyberCapture tab?

                                              – Patronaut
                                              May 2 '18 at 13:28











                                            • yes. I added both wildcard and the specific .exe file. And the checkboxes are the same as in picture.

                                              – user55570
                                              May 3 '18 at 21:59
















                                            -1












                                            -1








                                            -1







                                            Here is an addition to @PhilG 's answer:



                                            Go into
                                            Avast general settings
                                            (example of a working avast settings).



                                            In the picture above you can see Exclusions. Add a new file path under File paths tab.



                                            If you want to only exclude an .exe file, add its path under CyberCapture tab.






                                            share|improve this answer















                                            Here is an addition to @PhilG 's answer:



                                            Go into
                                            Avast general settings
                                            (example of a working avast settings).



                                            In the picture above you can see Exclusions. Add a new file path under File paths tab.



                                            If you want to only exclude an .exe file, add its path under CyberCapture tab.







                                            share|improve this answer














                                            share|improve this answer



                                            share|improve this answer








                                            edited Mar 14 '18 at 13:30









                                            Toto

                                            3,867101226




                                            3,867101226










                                            answered Mar 14 '18 at 11:57









                                            PatronautPatronaut

                                            1




                                            1













                                            • This does not work

                                              – user55570
                                              Apr 28 '18 at 23:42











                                            • All the checkboxes are set-up as in the picture? Did you also try to exclude only 1 exe file using the CyberCapture tab?

                                              – Patronaut
                                              May 2 '18 at 13:28











                                            • yes. I added both wildcard and the specific .exe file. And the checkboxes are the same as in picture.

                                              – user55570
                                              May 3 '18 at 21:59





















                                            • This does not work

                                              – user55570
                                              Apr 28 '18 at 23:42











                                            • All the checkboxes are set-up as in the picture? Did you also try to exclude only 1 exe file using the CyberCapture tab?

                                              – Patronaut
                                              May 2 '18 at 13:28











                                            • yes. I added both wildcard and the specific .exe file. And the checkboxes are the same as in picture.

                                              – user55570
                                              May 3 '18 at 21:59



















                                            This does not work

                                            – user55570
                                            Apr 28 '18 at 23:42





                                            This does not work

                                            – user55570
                                            Apr 28 '18 at 23:42













                                            All the checkboxes are set-up as in the picture? Did you also try to exclude only 1 exe file using the CyberCapture tab?

                                            – Patronaut
                                            May 2 '18 at 13:28





                                            All the checkboxes are set-up as in the picture? Did you also try to exclude only 1 exe file using the CyberCapture tab?

                                            – Patronaut
                                            May 2 '18 at 13:28













                                            yes. I added both wildcard and the specific .exe file. And the checkboxes are the same as in picture.

                                            – user55570
                                            May 3 '18 at 21:59







                                            yes. I added both wildcard and the specific .exe file. And the checkboxes are the same as in picture.

                                            – user55570
                                            May 3 '18 at 21:59













                                            -1














                                            Done all the things above (including scanning/excluding the directory/exec where the exec is located) but 20 second after starting, avast kill it. No message, no quarantine, but i have found a way to circumvent the problem:




                                            1. stop all avast agents

                                            2. start the exec.

                                            3. reactivate all agents.


                                            everything is ok until next boot.



                                            But if i can't find any valuable solution, i'll kill avast definitly !






                                            share|improve this answer






























                                              -1














                                              Done all the things above (including scanning/excluding the directory/exec where the exec is located) but 20 second after starting, avast kill it. No message, no quarantine, but i have found a way to circumvent the problem:




                                              1. stop all avast agents

                                              2. start the exec.

                                              3. reactivate all agents.


                                              everything is ok until next boot.



                                              But if i can't find any valuable solution, i'll kill avast definitly !






                                              share|improve this answer




























                                                -1












                                                -1








                                                -1







                                                Done all the things above (including scanning/excluding the directory/exec where the exec is located) but 20 second after starting, avast kill it. No message, no quarantine, but i have found a way to circumvent the problem:




                                                1. stop all avast agents

                                                2. start the exec.

                                                3. reactivate all agents.


                                                everything is ok until next boot.



                                                But if i can't find any valuable solution, i'll kill avast definitly !






                                                share|improve this answer















                                                Done all the things above (including scanning/excluding the directory/exec where the exec is located) but 20 second after starting, avast kill it. No message, no quarantine, but i have found a way to circumvent the problem:




                                                1. stop all avast agents

                                                2. start the exec.

                                                3. reactivate all agents.


                                                everything is ok until next boot.



                                                But if i can't find any valuable solution, i'll kill avast definitly !







                                                share|improve this answer














                                                share|improve this answer



                                                share|improve this answer








                                                edited Jul 3 '18 at 15:06









                                                Toto

                                                3,867101226




                                                3,867101226










                                                answered Jul 3 '18 at 14:58









                                                Chris2mopChris2mop

                                                1




                                                1






























                                                    draft saved

                                                    draft discarded




















































                                                    Thanks for contributing an answer to Super User!


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid



                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.


                                                    To learn more, see our tips on writing great answers.




                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function () {
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f555905%2fstop-avast-from-attacking-my-own-programs%23new-answer', 'question_page');
                                                    }
                                                    );

                                                    Post as a guest















                                                    Required, but never shown





















































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown

































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown







                                                    Popular posts from this blog

                                                    Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                                                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                                                    Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...