Well, there is this,Download Destroy Windows 10 Spying - MajorGeeks though i do not try it, and do not want to do all that this does myself:
that tool is a host files address blocker and if MS has hard-coded IP addresses into their spyware, then all aspects of DNS resolution are bypassed,including the hosts file.
In fact, the first use comment is:
“It’s useful to remove apps and to do some tweaks, but doesn’t works with hosts blocking, because some domains are hardcoded in the ..\system32\dnsapi.dll”