Sounds like an AVG problem, not a Windows problem.
FWIW, I haven't ran antivirus software on Windows (other than the included Defender, but that's not something I think about) in literally decades.
Are you saying Microsoft shouldn't care about making a secure system and they can just outsource the subject to a third company which will upload .exe to their server and tell user to wait few hours before it can be launched?