Uninstall Avast and reboot twice.
Go to the sites of each of those programs and install the respective uninstall tools.
Run one tool and reboot, then the other and reboot, and so on (if the program included a Firewall reboot twice. Windows needs two reboots to cleen all the drivers).
Install and run Auslogics registry cleaner and reboot.
Install Avast.