I had the same problem.
AVAST installed itself WITH the automatic Windows 10 Update.
AVAST also turned off Windows Defender.
When I went to use the link provided to clean it from my machine, the AVAST uninstall utility wanted to do the uninstall in SAFE MODE and reboot my computer to SAFE MODE.
NO WAY JOSE. I'm not giving SAFE MODE access to foreign hacker criminals who found a way to hack into Microsoft updates. I used CCleaner to uninstall it. Then I went to "Run" and I typed in "regedit". Then I searched my entire registry for "Avast" and
I deleted every, single reference to it. Even after uninstalling it, it took me 20 minutes to get rid of all the traces that Avast left behind on my computer. Additionally, there was a suspicious file with "Avast" in the string that I could not get access
to. I ran CCleaner registry editor again, then RegEdit again, and it was finally gone.
There's something fishy going on with that Avast hack. Avast used to be run by honest people and was at one time a very good antivirus. They didn't put a free version on computers without asking. Now whoever is doing it, and that might be Avast or a hacker
who is pretending to be Avast, is asking for permission to root files by trying to get access to your Safe Mode.
Good luck. Here we go. Another, major, hacking scandal.