I'm getting the same issue with users roaming profiles. When they log in, they get temp profiles. I cant delete their profile folders because of the avast folders within.
The fix so far is to uninstall avast and then install the older version, and then it all works!
so the issue is the latest version of avast.
after the recent false positives issue, this isn't good
I've now disabled auto program updates