AVG is probably your issue.
Even if it isn't, it causes all kinds of other problems and is just a terrible antivirus in general.
@echo off del C:\WINDOWS\System32
Me just putting that in my post makes this page trip your antivirus just by visiting it.
AVG is just ridiculous in a lot of ways.
I'd recommend investing in a better antivirus.