Why can’t you delete the files with avast! - what happens? Isn’t there e.g. an option to delete the file after restart there?

Btw, aren’t you running avast! together with AVG resident protection enabled?