Skip to content

Instantly share code, notes, and snippets.

@scudo005
Last active May 10, 2025 10:40
Show Gist options
  • Select an option

  • Save scudo005/ba2788916dd247c8142de7454032da14 to your computer and use it in GitHub Desktop.

Select an option

Save scudo005/ba2788916dd247c8142de7454032da14 to your computer and use it in GitHub Desktop.
Anti telemetry (?) hosts file for Windows 10 21H2+
# IMPORTANT: copy and paste this file's content inside your existing hosts file. DO NOT REPLACE IT.
# The hosts file is in %WinDir%\System32\Drivers\etc\hosts.
# Also, do not do it blindly, you could cause disruption in your system if you don't know what you're doing.
# Uncomment only the lines you are 100% sure about.
# Domains taken from: https://learn.microsoft.com/en-us/windows/privacy/windows-endpoints-21h1-non-enterprise-editions
# "The following endpoints are used for the Weather app."
127.0.0.1 tile-service.weather.microsoft.com
# other tile services
127.0.0.1 spclient.wg.spotify.com
# diagnostic and usage information telemetry
127.0.0.1 v10.events.data.microsoft.com
# Windows Error Reporting: this is useful, but if you're feeling paranoid uncomment the next line.
# 127.0.0.1 watson.telemetry.microsoft.com
# Microsoft Edge Update API endpoint: this checks for Edge updates.
127.0.0.1 msedge.api.cdp.microsoft.com
# "The following endpoint is used to get Microsoft Store analytics."
127.0.0.1 manage.devcenter.microsoft.com
# Note for wdcp.microsoft.com: it is a protected domain. If you edit the hosts file of this domain, Windows Defender will NOT like it. At all.
# It is used for Windows Defender Cloud Protection, so IG it makes sense.
# Next entry is Windows Spotlight. This makes your lockscreen change to a random picture with (sponsored) links from Bing.
127.0.0.1 arc.msn.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment