Today i faced the problem:
firewall blocked internet access for taskhostw.exe
I tried to investigate what is it and why it wants internet access.
After searching found some posts for asking same problem , but differently their exe tried to access camera, which triggered them to search for possible problem too.
In result i scanned pc with different malware cleaners with fixes as original dell autostarters and no other trojans as monero miners and so on..
I checked IP which was triggered to internet access - 51.104.136.2 . After checking 'IP 51.104.136.2' , it turns out it is microsoft azure servers.
For now i agreed to allow internet access, but turned off frequence to diagnostics to report in windows settings to "never"