10
3
I love how Microsoft made third party anti virus protection obsolete with Defender - it just works.
Unfortunately for me as a developer this sometimes means it works a bit too well, and slows down processes I know are secure - for example Gradle builds in Android Studio. I know I can exclude some files and processes from the scanning - but I don't actually know which ones to exclude. The UI of Android Studio? OpenJDK? My Android Emulator?
Some other anti virus product like Avira offered a view of files and programs that it scanned, even offering direct "exclude from scan" buttons.
Is there a way to monitor what real time protection is scanning, which files or processes are causing it to spin up and max my CPU?
You should find out what process is responsible for the real time protection. Then you can monitor it with the performance monitor included in windows 10. – marsh-wiggle – 2017-10-18T17:09:44.587
Per the first answer this would be MsMpEng.exe - how could I monitor that with the included performance monitor? – janpio – 2017-10-18T20:56:28.830
performance monitoring: http://digital.ni.com/public.nsf/allkb/BF3082871516A32D86256F2B00447A2E
– marsh-wiggle – 2017-10-19T06:32:58.137Why don't you just exclude all the suspected folders? This will take much less time than analyzing file accesses. – harrymc – 2017-10-19T10:25:08.497
This might very well be the conclusion to draw at the end of this ;) (You might want to post it as an answer...) – janpio – 2017-10-19T10:49:31.173