I couldn’t tell you whether this issue has been properly resolved, but another user here explained that this issue is a bug in Windows 10, and not Avast. He also provided a workaround. You can install Avast in Windows 10, and when this error crops up, simply restart in safe mode, login to your windows account, then restart windows normally.

Hope this helps.