Precisely the same problem, using Windows 10. This is a colossal pain in the butt. And given the number of posts from different people with different systems, it seems seems pretty clear this is a problem with Avast.
(Updated virus definitions, reinstalled Avast itself, shut down and rebooted system - all to no avail.)