I have a thread on Spiceworks that might help out as well for anyone that is having this problem. I wasn’t sure if it was Avast when I started it, but they have some tips that might help out until a fix is made.

https://community.spiceworks.com/topic/1970504-user-profile-service-failed-the-logon?page=1#entry-6693704