What exact version of avast do you have?
If you have/had a lot of malware on it, the system did not run great.
Do you (or did you) have other malware removers installed?
If so, which one(s)?
Did you remove them?
If so, how?
Please answer the questions so that we know more and we can help you better.
Also please follow the instructions as mentioned here:
https://forum.avast.com/index.php?topic=53253.0Do not change anything on your system, do not hookup a usb stick or something till we have analyzed the logs.