Hi! Can i add exe file to the exceptions process of windows defender from my own programm? Maybe there is something API to this?
You can write and remove exclusions from a batch file with reg.exe. I’ve provided an example here:
I’m sure that this can also be done programmatically, but distributing a program that creates an exclusion for itself (or that writes to any registry key owned by a security program) is something that I would consider totally unacceptable.
GreginMich