did you remove your previous used AV before installing avast?

did you run that vendors removal tool to clear all leftover files?

removal tools and instructions https://singularlabs.com/uninstallers/security-software/

or this https://www.avast.com/en-eu/faq.php?article=AVKB11#artTitle