Was there any virus detected during the scan? (I don’t mean any errors, but rather I’d like to know if you instructed avast! to delete any infected files during the scan)
So, even if you boot into the safe mode, Windows crash before starting up?