In order to repair, use the restore console and revert to the restore point prior to the installation of Avast v.9. As far as I remember the Avast install makes a restore point, it shouldn’t be different for you. In case you do not find it, select the last windows’ one. Good luck!