How to exclude an application from getting scanned by AVG programatically

Hi All,

I created a sample application, for the  first time when I try to run the application, it is getting scanned by the AVG antivirus.

After first time execution it doesn't get scanned for the subsequent executions until and unless there's a change in the executable.

I tried adding my sample application to windows defender firewall allowed applications list and succeeded in doing so . But, still the problem persist.

I used the following command to include my application in the "windows defender firewall allowed apps". 

"netsh advfirewall firewall add rule name="TestApplication" dir=in action=allow program="C:\Users\Sudheer\Documents\TestApplication.exe" enable=yes"

Please let me know if I am missing anything.

My goals are:

1)I don't want the application to get scanned even in the first execution. 

2)I would like to have a programmatic approach to solve this problem.

Thanks and regards,

Sudheer.

Hello Sudheer,

I will help you further.

Follow the steps from this link https://support.avg.com/SupportArticleView?urlname=How-to-make-exclusions-from-all-scans-and-shields to add an application to AVG exception list.

If you face any difficulties, please let us know and we will assist you further.

Hello Sudheer,

I will help you further.

Follow the steps from this link https://support.avg.com/SupportArticleView?urlname=How-to-make-exclusions-from-all-scans-and-shields to add an application to AVG exception list.

If you face any difficulties, please let us know and we will assist you further.