Skip to content

Instantly share code, notes, and snippets.

@niutech
Last active February 27, 2026 23:09
Show Gist options
  • Select an option

  • Save niutech/1f1c1518ce0eba7e8d429c812d39493d to your computer and use it in GitHub Desktop.

Select an option

Save niutech/1f1c1518ce0eba7e8d429c812d39493d to your computer and use it in GitHub Desktop.
/etc/hosts file for blocking Microsoft Edge tracking domains (and more)
0.0.0.0 a-0001.a-msedge.net
0.0.0.0 a-0002.a-msedge.net
0.0.0.0 a-0003.a-msedge.net
0.0.0.0 a-0004.a-msedge.net
0.0.0.0 a-0005.a-msedge.net
0.0.0.0 a-0006.a-msedge.net
0.0.0.0 a-0007.a-msedge.net
0.0.0.0 a-0008.a-msedge.net
0.0.0.0 a-0009.a-msedge.net
0.0.0.0 a-msedge.net
0.0.0.0 a.ads1.msn.com
0.0.0.0 a.ads2.msads.net
0.0.0.0 a.ads2.msn.com
0.0.0.0 a.rad.msn.com
0.0.0.0 ac3.msn.com
0.0.0.0 account.live.com
0.0.0.0 account.microsoft.com
0.0.0.0 activity.microsoft.com
0.0.0.0 ad.doubleclick.net
0.0.0.0 adnexus.net
0.0.0.0 adnxs.com
0.0.0.0 ads.arcct.msn.com
0.0.0.0 ads.msn.com
0.0.0.0 ads1.msads.net
0.0.0.0 ads1.msn.com
0.0.0.0 aidps.atdmt.com
0.0.0.0 aka-cdn-ns.adtech.de
0.0.0.0 api.edgeoffer.microsoft.com
0.0.0.0 api.msn.com
0.0.0.0 api.vcservice.webxtsvc-int.microsoft.com
0.0.0.0 api.webxtsvc.microsoft.com
0.0.0.0 apps.skype.com
0.0.0.0 arc.msn.com
0.0.0.0 assets.msn.com
0.0.0.0 az361816.vo.msecnd.net
0.0.0.0 az512334.vo.msecnd.net
0.0.0.0 b.ads1.msn.com
0.0.0.0 b.ads2.msads.net
0.0.0.0 b.rad.msn.com
0.0.0.0 bat.bing.com
0.0.0.0 browser.events.data.msn.com
0.0.0.0 browser.events.data.microsoft.com
0.0.0.0 browser.pipe.aria.microsoft.com
0.0.0.0 bs.serving-sys.com
0.0.0.0 business.bing.com
0.0.0.0 c.atdmt.com
0.0.0.0 c.bing.com
0.0.0.0 c.live.com
0.0.0.0 c.msn.com
0.0.0.0 c1.microsoft.com
0.0.0.0 ca.telemetry.microsoft.com
0.0.0.0 cache.datamart.windows.com
0.0.0.0 cdn.atdmt.com
0.0.0.0 cdn.edgeoffer.microsoft.com
0.0.0.0 cds26.ams9.msecn.net
0.0.0.0 choice.microsoft.com
0.0.0.0 choice.microsoft.com.nsatc.net
0.0.0.0 choice.microsoft.com.nstac.net
0.0.0.0 citrix.onmicrosoft.com
0.0.0.0 clarity.ms
0.0.0.0 clientfd.family.microsoft.com
0.0.0.0 cloudbrowser.microsoft.com
0.0.0.0 cn.bing.com
0.0.0.0 compatexchange.cloudapp.net
0.0.0.0 config.edge.skype.com
0.0.0.0 corp.sts.microsoft.com
0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com
0.0.0.0 crl.microsoft.com
0.0.0.0 cs1.wpc.v0cdn.net
0.0.0.0 customervoice.microsoft.com
0.0.0.0 db3aqu.atdmt.com
0.0.0.0 db3wns2011111.wns.windows.com
0.0.0.0 df.telemetry.microsoft.com
0.0.0.0 diagnostics.support.microsoft.com
0.0.0.0 ec.atdmt.com
0.0.0.0 edge-staging.microsoft.com
0.0.0.0 edge-test.microsoft.com
0.0.0.0 edge.cloudbrowser.microsoft.com
0.0.0.0 edge.microsoft.com
0.0.0.0 edgeservices.bing.com
0.0.0.0 edgeshoppingstatic.azureedge.net
0.0.0.0 edgesync.microsoft.com
0.0.0.0 edgetippingservice.webxtsvc.microsoft.com
0.0.0.0 events-sandbox.data.msn.com
0.0.0.0 events.data.microsoft.com
0.0.0.0 family.api.account.microsoft.com
0.0.0.0 farevents.family.microsoft.com
0.0.0.0 fe2.update.microsoft.com.akadns.net
0.0.0.0 fe3.delivery.dsp.mp.microsoft.com.nsatc.net
0.0.0.0 feedback.microsoft-hohm.com
0.0.0.0 feedback.search.microsoft.com
0.0.0.0 feedback.smartscreen.microsoft.com
0.0.0.0 feedback.windows.com
0.0.0.0 flex.msn.com
0.0.0.0 forms.microsoft.com
0.0.0.0 functional.events.data.microsoft.com
0.0.0.0 g.bing.com
0.0.0.0 g.msn.com
0.0.0.0 global.bing.com
0.0.0.0 graph.microsoft.com
0.0.0.0 h1.msn.com
0.0.0.0 i1.services.social.microsoft.com
0.0.0.0 i1.services.social.microsoft.com.nsatc.net
0.0.0.0 inference.location.live.com
0.0.0.0 instrumentExport.cp.microsoft.com
0.0.0.0 lb1.www.ms.akadns.net
0.0.0.0 live.rads.msn.com
0.0.0.0 local.cloudbrowser.microsoft.com
0.0.0.0 login.live.com
0.0.0.0 login.microsoft.com
0.0.0.0 m.adnxs.com
0.0.0.0 m.bing.com
0.0.0.0 m.hotmail.com
0.0.0.0 manage.microsoft.com
0.0.0.0 mathsolver.microsoft.com
0.0.0.0 microsoftedge.microsoft.com
0.0.0.0 microsoftedgetips.microsoft.com
0.0.0.0 microsoftedgewelcome.microsoft.com
0.0.0.0 microsoftnews.msn.com
0.0.0.0 mobile.events.data.microsoft.com
0.0.0.0 msedge.net
0.0.0.0 msft.sts.microsoft.com
0.0.0.0 msftncsi.com
0.0.0.0 msn.com
0.0.0.0 msntest.serving-sys.com
0.0.0.0 mwservice.xpay-int.microsoft.com
0.0.0.0 ntp.msn.com
0.0.0.0 nw-umwatson.events.data.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
0.0.0.0 officeapps.live.com
0.0.0.0 outlook.live.com
0.0.0.0 paymentinstruments.mp.microsoft.com
0.0.0.0 petrol.office.microsoft.com
0.0.0.0 pptsgs.officeapps.live.com
0.0.0.0 pre.footprintpredict.com
0.0.0.0 preview.msn.com
0.0.0.0 pricelist.skype.com
0.0.0.0 privacy.microsoft.com
0.0.0.0 prod.rewardsplatform.microsoft.com
0.0.0.0 rad.live.com
0.0.0.0 rad.msn.com
0.0.0.0 redir.metaservices.microsoft.com
0.0.0.0 reports.wes.df.telemetry.microsoft.com
0.0.0.0 rewards.microsoft.com
0.0.0.0 s.gateway.messenger.live.com
0.0.0.0 s0.2mdn.net
0.0.0.0 sO.2mdn.net
0.0.0.0 schemas.microsoft.akadns.net
0.0.0.0 schemas.microsoft.com
0.0.0.0 sdx.microsoft.com
0.0.0.0 secure.adnxs.com
0.0.0.0 secure.flashtalking.com
0.0.0.0 self.events.data.microsoft.com
0.0.0.0 services.wes.df.telemetry.microsoft.com
0.0.0.0 settings-sandbox.data.microsoft.com
0.0.0.0 settings-win.data.microsoft.com
0.0.0.0 settings.data.microsoft.com
0.0.0.0 settings.family.microsoft.com
0.0.0.0 signup.live.com
0.0.0.0 sls.update.microsoft.com.akadns.net
0.0.0.0 speech.platform.bing.com
0.0.0.0 spynet2.microsoft.com
0.0.0.0 spynetalt.microsoft.com
0.0.0.0 sqm.df.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
0.0.0.0 ssl.live.com
0.0.0.0 ssw.live.com
0.0.0.0 static.2mdn.net
0.0.0.0 statsfe1.ws.microsoft.com
0.0.0.0 statsfe2.update.microsoft.com.akadns.net
0.0.0.0 statsfe2.ws.microsoft.com
0.0.0.0 survey.watson.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
0.0.0.0 telemetry.appex.bing.net
0.0.0.0 telemetry.microsoft.com
0.0.0.0 telemetry.urs.microsoft.com
0.0.0.0 tip.customervoice.microsoft.com
0.0.0.0 tokenization.cp.microsoft.com
0.0.0.0 ui.skype.com
0.0.0.0 v10.vortex-win.data.microsoft.com
0.0.0.0 vcservice.webxtsvc.microsoft.com
0.0.0.0 view.atdmt.com
0.0.0.0 vortex-bn2.metron.live.com.nsatc.net
0.0.0.0 vortex-cy2.metron.live.com.nsatc.net
0.0.0.0 vortex-sandbox.data.microsoft.com
0.0.0.0 vortex-win.data.metron.live.com.nsatc.net
0.0.0.0 vortex-win.data.microsoft.com
0.0.0.0 vortex.data.glbdns2.microsoft.com
0.0.0.0 vortex.data.microsoft.com
0.0.0.0 watson.live.com
0.0.0.0 watson.microsoft.com
0.0.0.0 watson.ppe.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
0.0.0.0 web.vortex-sandbox.data.msn.com
0.0.0.0 web.vortex.data.microsoft.com
0.0.0.0 web.vortex.data.msn.com
0.0.0.0 webxtsvc.microsoft.com
0.0.0.0 wes.df.telemetry.microsoft.com
0.0.0.0 win10.ipv6.microsoft.com
0.0.0.0 windows.msn.com
0.0.0.0 www.msftncsi.com
0.0.0.0 www.msn.com
0.0.0.0 xpay-int.microsoft.com
@niutech

niutech commented Jan 4, 2022

Copy link
Copy Markdown
Author

Read how to edit your hosts file on Windows, Linux and Mac OS. Windows Security blocks modification of the hosts file by falsely reporting SettingsModifier:Win32/PossibleHostsFileHijack, so you have to add an exclusion for it.

@jmcnaught427

Copy link
Copy Markdown

Implemented this in hosts, and seems to also speed up Edge significantly.

! One downside I noticed: Sticky Notes app shows Triangle Icon at top of app and won't sync updates.

Any ideas what edit to the list would restore this functionality?

@dimdenGD

Copy link
Copy Markdown
0.0.0.0 a-0001.a-msedge.net
0.0.0.0 a-0002.a-msedge.net
0.0.0.0 a-0003.a-msedge.net
0.0.0.0 a-0004.a-msedge.net
0.0.0.0 a-0005.a-msedge.net
0.0.0.0 a-0006.a-msedge.net
0.0.0.0 a-0007.a-msedge.net
0.0.0.0 a-0008.a-msedge.net
0.0.0.0 a-0009.a-msedge.net
0.0.0.0 a-msedge.net
0.0.0.0 a.ads1.msn.com
0.0.0.0 a.ads2.msads.net
0.0.0.0 a.ads2.msn.com
0.0.0.0 a.rad.msn.com
0.0.0.0 ac3.msn.com
0.0.0.0 ad.doubleclick.net
0.0.0.0 adnexus.net
0.0.0.0 adnxs.com
0.0.0.0 ads.arcct.msn.com
0.0.0.0 ads.msn.com
0.0.0.0 ads1.msads.net
0.0.0.0 ads1.msn.com
0.0.0.0 aidps.atdmt.com
0.0.0.0 aka-cdn-ns.adtech.de
0.0.0.0 api.edgeoffer.microsoft.com
0.0.0.0 api.vcservice.webxtsvc-int.microsoft.com
0.0.0.0 api.webxtsvc.microsoft.com
0.0.0.0 arc.msn.com
0.0.0.0 assets.msn.com
0.0.0.0 az361816.vo.msecnd.net
0.0.0.0 az512334.vo.msecnd.net
0.0.0.0 b.ads1.msn.com
0.0.0.0 b.ads2.msads.net
0.0.0.0 b.rad.msn.com
0.0.0.0 browser.events.data.msn.com
0.0.0.0 browser.pipe.aria.microsoft.com
0.0.0.0 bs.serving-sys.com
0.0.0.0 c.atdmt.com
0.0.0.0 c.live.com
0.0.0.0 c.msn.com
0.0.0.0 c1.microsoft.com
0.0.0.0 ca.telemetry.microsoft.com
0.0.0.0 cache.datamart.windows.com
0.0.0.0 cdn.atdmt.com
0.0.0.0 cdn.edgeoffer.microsoft.com
0.0.0.0 cds26.ams9.msecn.net
0.0.0.0 choice.microsoft.com
0.0.0.0 choice.microsoft.com.nsatc.net
0.0.0.0 choice.microsoft.com.nstac.net
0.0.0.0 citrix.onmicrosoft.com
0.0.0.0 clarity.ms
0.0.0.0 clientfd.family.microsoft.com
0.0.0.0 cloudbrowser.microsoft.com
0.0.0.0 compatexchange.cloudapp.net
0.0.0.0 config.edge.skype.com
0.0.0.0 corp.sts.microsoft.com
0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com
0.0.0.0 crl.microsoft.com
0.0.0.0 cs1.wpc.v0cdn.net
0.0.0.0 customervoice.microsoft.com
0.0.0.0 db3aqu.atdmt.com
0.0.0.0 db3wns2011111.wns.windows.com
0.0.0.0 df.telemetry.microsoft.com
0.0.0.0 diagnostics.support.microsoft.com
0.0.0.0 ec.atdmt.com
0.0.0.0 edge.cloudbrowser.microsoft.com
0.0.0.0 edgeshoppingstatic.azureedge.net
0.0.0.0 edgetippingservice.webxtsvc.microsoft.com
0.0.0.0 events-sandbox.data.msn.com
0.0.0.0 events.data.microsoft.com
0.0.0.0 family.api.account.microsoft.com
0.0.0.0 farevents.family.microsoft.com
0.0.0.0 fe3.delivery.dsp.mp.microsoft.com.nsatc.net
0.0.0.0 feedback.microsoft-hohm.com
0.0.0.0 feedback.search.microsoft.com
0.0.0.0 feedback.smartscreen.microsoft.com
0.0.0.0 feedback.windows.com
0.0.0.0 flex.msn.com
0.0.0.0 forms.microsoft.com
0.0.0.0 functional.events.data.microsoft.com
0.0.0.0 g.msn.com
0.0.0.0 graph.microsoft.com
0.0.0.0 h1.msn.com
0.0.0.0 i1.services.social.microsoft.com
0.0.0.0 i1.services.social.microsoft.com.nsatc.net
0.0.0.0 inference.location.live.com
0.0.0.0 instrumentExport.cp.microsoft.com
0.0.0.0 lb1.www.ms.akadns.net
0.0.0.0 live.rads.msn.com
0.0.0.0 local.cloudbrowser.microsoft.com
0.0.0.0 m.adnxs.com
0.0.0.0 m.hotmail.com
0.0.0.0 microsoftnews.msn.com
0.0.0.0 mobile.events.data.microsoft.com
0.0.0.0 msft.sts.microsoft.com
0.0.0.0 msftncsi.com
0.0.0.0 msntest.serving-sys.com
0.0.0.0 mwservice.xpay-int.microsoft.com
0.0.0.0 ntp.msn.com
0.0.0.0 nw-umwatson.events.data.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
0.0.0.0 petrol.office.microsoft.com
0.0.0.0 pptsgs.officeapps.live.com
0.0.0.0 pre.footprintpredict.com
0.0.0.0 preview.msn.com
0.0.0.0 pricelist.skype.com
0.0.0.0 prod.rewardsplatform.microsoft.com
0.0.0.0 rad.live.com
0.0.0.0 rad.msn.com
0.0.0.0 redir.metaservices.microsoft.com
0.0.0.0 reports.wes.df.telemetry.microsoft.com
0.0.0.0 s.gateway.messenger.live.com
0.0.0.0 s0.2mdn.net
0.0.0.0 sO.2mdn.net
0.0.0.0 schemas.microsoft.akadns.net
0.0.0.0 schemas.microsoft.com
0.0.0.0 sdx.microsoft.com
0.0.0.0 secure.adnxs.com
0.0.0.0 secure.flashtalking.com
0.0.0.0 self.events.data.microsoft.com
0.0.0.0 services.wes.df.telemetry.microsoft.com
0.0.0.0 spynet2.microsoft.com
0.0.0.0 spynetalt.microsoft.com
0.0.0.0 sqm.df.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
0.0.0.0 ssl.live.com
0.0.0.0 ssw.live.com
0.0.0.0 static.2mdn.net
0.0.0.0 statsfe1.ws.microsoft.com
0.0.0.0 statsfe2.update.microsoft.com.akadns.net
0.0.0.0 statsfe2.ws.microsoft.com
0.0.0.0 survey.watson.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
0.0.0.0 telemetry.appex.bing.net
0.0.0.0 telemetry.microsoft.com
0.0.0.0 telemetry.urs.microsoft.com
0.0.0.0 tip.customervoice.microsoft.com 
0.0.0.0 tokenization.cp.microsoft.com
0.0.0.0 v10.vortex-win.data.microsoft.com
0.0.0.0 vcservice.webxtsvc.microsoft.com
0.0.0.0 view.atdmt.com
0.0.0.0 view.officeapps.live.com
0.0.0.0 vortex-bn2.metron.live.com.nsatc.net
0.0.0.0 vortex-cy2.metron.live.com.nsatc.net
0.0.0.0 vortex-sandbox.data.microsoft.com
0.0.0.0 vortex-win.data.metron.live.com.nsatc.net
0.0.0.0 vortex-win.data.microsoft.com
0.0.0.0 vortex.data.glbdns2.microsoft.com
0.0.0.0 vortex.data.microsoft.com
0.0.0.0 watson.live.com
0.0.0.0 watson.microsoft.com
0.0.0.0 watson.ppe.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
0.0.0.0 web.vortex-sandbox.data.msn.com
0.0.0.0 web.vortex.data.microsoft.com
0.0.0.0 web.vortex.data.msn.com
0.0.0.0 webxtsvc.microsoft.com
0.0.0.0 wes.df.telemetry.microsoft.com

Less harsh list that will make Bing AI and other Microsoft services work while focusing on blocking telemetry

@tcfurrer

Copy link
Copy Markdown

Gosh it would be nice if the PowerToys Hosts File Editor didn't have a limit of 9 hosts per entry. Because that would be a much more convenient way to add the entire list.

@niutech

niutech commented Jul 20, 2023

Copy link
Copy Markdown
Author

@tcfurrer What's so difficult about editing the hosts file in Notepad (run as Administrator)?

@tcfurrer

Copy link
Copy Markdown

Editing the file directly is not ideal because it requires the malware protection exclusion (otherwise it gets automatically reverted immediately after being edited). I don't like that solution because it opens the door wide open for other things to come afterward and edit the file in malicious ways.

When editing using PowerToys, the exclusion is not needed (which I assume is the whole point of that tool?). So I wish I could easily come in through that door, but adding a long list in groups of 9 is way too tedious. It also detects bogus redundancy, but that can just be ignored.

Having said that, I'm probably just whining here. I should instead say that I really appreciate this list. It seems to be working well to speed up my Edge browsing too. Especially whenever my ISP is offline and I still want to browse various devices with HTML front ends within my local network.

The performance cost of numerous dependencies on cloud services in most modern software is really quite disappointing!

@naryfa

naryfa commented Oct 25, 2023

Copy link
Copy Markdown

This list breaks the Windows Weather App along with the live tile.

Can you please correct, or release another one with the app functional?

Edit:

OK, I'll use the DimdenGD's list, seems to keep those services working fine.

@SiddharthManthan

Copy link
Copy Markdown
0.0.0.0 a-0001.a-msedge.net
0.0.0.0 a-0002.a-msedge.net
0.0.0.0 a-0003.a-msedge.net
0.0.0.0 a-0004.a-msedge.net
0.0.0.0 a-0005.a-msedge.net
0.0.0.0 a-0006.a-msedge.net
0.0.0.0 a-0007.a-msedge.net
0.0.0.0 a-0008.a-msedge.net
0.0.0.0 a-0009.a-msedge.net
0.0.0.0 a-msedge.net
0.0.0.0 a.ads1.msn.com
0.0.0.0 a.ads2.msads.net
0.0.0.0 a.ads2.msn.com
0.0.0.0 a.rad.msn.com
0.0.0.0 ac3.msn.com
0.0.0.0 ad.doubleclick.net
0.0.0.0 adnexus.net
0.0.0.0 adnxs.com
0.0.0.0 ads.arcct.msn.com
0.0.0.0 ads.msn.com
0.0.0.0 ads1.msads.net
0.0.0.0 ads1.msn.com
0.0.0.0 aidps.atdmt.com
0.0.0.0 aka-cdn-ns.adtech.de
0.0.0.0 api.edgeoffer.microsoft.com
0.0.0.0 api.vcservice.webxtsvc-int.microsoft.com
0.0.0.0 api.webxtsvc.microsoft.com
0.0.0.0 arc.msn.com
0.0.0.0 assets.msn.com
0.0.0.0 az361816.vo.msecnd.net
0.0.0.0 az512334.vo.msecnd.net
0.0.0.0 b.ads1.msn.com
0.0.0.0 b.ads2.msads.net
0.0.0.0 b.rad.msn.com
0.0.0.0 browser.events.data.msn.com
0.0.0.0 browser.pipe.aria.microsoft.com
0.0.0.0 bs.serving-sys.com
0.0.0.0 c.atdmt.com
0.0.0.0 c.live.com
0.0.0.0 c.msn.com
0.0.0.0 c1.microsoft.com
0.0.0.0 ca.telemetry.microsoft.com
0.0.0.0 cache.datamart.windows.com
0.0.0.0 cdn.atdmt.com
0.0.0.0 cdn.edgeoffer.microsoft.com
0.0.0.0 cds26.ams9.msecn.net
0.0.0.0 choice.microsoft.com
0.0.0.0 choice.microsoft.com.nsatc.net
0.0.0.0 choice.microsoft.com.nstac.net
0.0.0.0 citrix.onmicrosoft.com
0.0.0.0 clarity.ms
0.0.0.0 clientfd.family.microsoft.com
0.0.0.0 cloudbrowser.microsoft.com
0.0.0.0 compatexchange.cloudapp.net
0.0.0.0 config.edge.skype.com
0.0.0.0 corp.sts.microsoft.com
0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com
0.0.0.0 crl.microsoft.com
0.0.0.0 cs1.wpc.v0cdn.net
0.0.0.0 customervoice.microsoft.com
0.0.0.0 db3aqu.atdmt.com
0.0.0.0 db3wns2011111.wns.windows.com
0.0.0.0 df.telemetry.microsoft.com
0.0.0.0 diagnostics.support.microsoft.com
0.0.0.0 ec.atdmt.com
0.0.0.0 edge.cloudbrowser.microsoft.com
0.0.0.0 edgeshoppingstatic.azureedge.net
0.0.0.0 edgetippingservice.webxtsvc.microsoft.com
0.0.0.0 events-sandbox.data.msn.com
0.0.0.0 events.data.microsoft.com
0.0.0.0 family.api.account.microsoft.com
0.0.0.0 farevents.family.microsoft.com
0.0.0.0 fe3.delivery.dsp.mp.microsoft.com.nsatc.net
0.0.0.0 feedback.microsoft-hohm.com
0.0.0.0 feedback.search.microsoft.com
0.0.0.0 feedback.smartscreen.microsoft.com
0.0.0.0 feedback.windows.com
0.0.0.0 flex.msn.com
0.0.0.0 forms.microsoft.com
0.0.0.0 functional.events.data.microsoft.com
0.0.0.0 g.msn.com
0.0.0.0 graph.microsoft.com
0.0.0.0 h1.msn.com
0.0.0.0 i1.services.social.microsoft.com
0.0.0.0 i1.services.social.microsoft.com.nsatc.net
0.0.0.0 inference.location.live.com
0.0.0.0 instrumentExport.cp.microsoft.com
0.0.0.0 lb1.www.ms.akadns.net
0.0.0.0 live.rads.msn.com
0.0.0.0 local.cloudbrowser.microsoft.com
0.0.0.0 m.adnxs.com
0.0.0.0 m.hotmail.com
0.0.0.0 microsoftnews.msn.com
0.0.0.0 mobile.events.data.microsoft.com
0.0.0.0 msft.sts.microsoft.com
0.0.0.0 msftncsi.com
0.0.0.0 msntest.serving-sys.com
0.0.0.0 mwservice.xpay-int.microsoft.com
0.0.0.0 ntp.msn.com
0.0.0.0 nw-umwatson.events.data.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
0.0.0.0 petrol.office.microsoft.com
0.0.0.0 pptsgs.officeapps.live.com
0.0.0.0 pre.footprintpredict.com
0.0.0.0 preview.msn.com
0.0.0.0 pricelist.skype.com
0.0.0.0 prod.rewardsplatform.microsoft.com
0.0.0.0 rad.live.com
0.0.0.0 rad.msn.com
0.0.0.0 redir.metaservices.microsoft.com
0.0.0.0 reports.wes.df.telemetry.microsoft.com
0.0.0.0 s.gateway.messenger.live.com
0.0.0.0 s0.2mdn.net
0.0.0.0 sO.2mdn.net
0.0.0.0 schemas.microsoft.akadns.net
0.0.0.0 schemas.microsoft.com
0.0.0.0 sdx.microsoft.com
0.0.0.0 secure.adnxs.com
0.0.0.0 secure.flashtalking.com
0.0.0.0 self.events.data.microsoft.com
0.0.0.0 services.wes.df.telemetry.microsoft.com
0.0.0.0 spynet2.microsoft.com
0.0.0.0 spynetalt.microsoft.com
0.0.0.0 sqm.df.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
0.0.0.0 ssl.live.com
0.0.0.0 ssw.live.com
0.0.0.0 static.2mdn.net
0.0.0.0 statsfe1.ws.microsoft.com
0.0.0.0 statsfe2.update.microsoft.com.akadns.net
0.0.0.0 statsfe2.ws.microsoft.com
0.0.0.0 survey.watson.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
0.0.0.0 telemetry.appex.bing.net
0.0.0.0 telemetry.microsoft.com
0.0.0.0 telemetry.urs.microsoft.com
0.0.0.0 tip.customervoice.microsoft.com 
0.0.0.0 tokenization.cp.microsoft.com
0.0.0.0 v10.vortex-win.data.microsoft.com
0.0.0.0 vcservice.webxtsvc.microsoft.com
0.0.0.0 view.atdmt.com
0.0.0.0 view.officeapps.live.com
0.0.0.0 vortex-bn2.metron.live.com.nsatc.net
0.0.0.0 vortex-cy2.metron.live.com.nsatc.net
0.0.0.0 vortex-sandbox.data.microsoft.com
0.0.0.0 vortex-win.data.metron.live.com.nsatc.net
0.0.0.0 vortex-win.data.microsoft.com
0.0.0.0 vortex.data.glbdns2.microsoft.com
0.0.0.0 vortex.data.microsoft.com
0.0.0.0 watson.live.com
0.0.0.0 watson.microsoft.com
0.0.0.0 watson.ppe.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
0.0.0.0 web.vortex-sandbox.data.msn.com
0.0.0.0 web.vortex.data.microsoft.com
0.0.0.0 web.vortex.data.msn.com
0.0.0.0 webxtsvc.microsoft.com
0.0.0.0 wes.df.telemetry.microsoft.com

Less harsh list that will make Bing AI and other Microsoft services work while focusing on blocking telemetry

It blocks the start page and dynamic wallpaper. Any way to enable it ?

@albertopasqualetto

Copy link
Copy Markdown

view.officeapps.live.com will block documents previews in MS Edge.

@albertopasqualetto

albertopasqualetto commented Jan 18, 2024

Copy link
Copy Markdown

It blocks the start page and dynamic wallpaper. Any way to enable it ?

I have indagated a little bit and it seems that unblocking ntp.msn.com fixes most of the new page in Edge and that assets.msn.com fixes the other, but it also downloads a lot more useless js.

@niutech

niutech commented Jan 18, 2024

Copy link
Copy Markdown
Author

@albertopasqualetto I've unblocked view.officeapps.live.com, as well as bing.com and microsoft.com, but I won't unblock *.msn.com because it makes a new tab page bloated and full of tracking scripts. Feel free to ignore them in your hosts file.

@albertopasqualetto

albertopasqualetto commented Jan 18, 2024

Copy link
Copy Markdown

@niutech thanks for suggestion! I think at least ntp.msn.com is ok to have some shortcuts and the changing image in new tab.

@seaque

seaque commented Jan 30, 2024

Copy link
Copy Markdown
0.0.0.0 graph.microsoft.com
0.0.0.0 login.live.com
0.0.0.0 login.microsoft.com
0.0.0.0 m.hotmail.com

some these block access to MS Store apps because you can't login your account, I don't know who would wanna block the entire hotmail system anyway.

@niutech

niutech commented Feb 1, 2024

Copy link
Copy Markdown
Author

@seaque Me. I don't use MS services.
@ibay770 For Chrome, use Ungoogled Chromium.

@olsonperrensen

Copy link
Copy Markdown

Comment line 162 if you want TTS to work.

@hamilton25

Copy link
Copy Markdown

0.0.0.0 settings.data.microsof.com

Line 158 microsof.com is a mistake?
Should be microsoft.com?

@niutech

niutech commented Jul 29, 2024

Copy link
Copy Markdown
Author

@hamilton25 Fixed, thanks for catching it!

@Ayaambatman

Copy link
Copy Markdown

is this still working and effective?

@tcfurrer

Copy link
Copy Markdown

It's been working for me. I made only a couple of small changes though. In order for the Microsoft Family Safety web site to work, I had to remove graph.microsoft.com from the list.

@Ayaambatman

Copy link
Copy Markdown

It's been working for me. I made only a couple of small changes though. In order for the Microsoft Family Safety web site to work, I had to remove graph.microsoft.com from the list.
is there any other changes i need to make for any important functionings?
also among the list which one affects the collection tool in edge browser, because my "collections" are not working properly after making these changes in host file!

@Ayaambatman

Copy link
Copy Markdown

ok, is there any other changes to be made like this?
or how to know the functions of each code, as am not an expert and lack basics in coding!

@F1irSti

F1irSti commented Apr 17, 2025

Copy link
Copy Markdown

I need help. Two years ago I got tired of constant updates to my windows 10 that I do not need, no tweakers did not help me and updates still somehow downloaded, and installed by displaying a blue screen after which constantly installed updates. Yeah, yeah dudes, microsoft has become so brazen that they've been doing this for a long time. The thing is that I found a huge list of sites that block all services and sites for updates, but I need to get into microsoft store and it is one of the sites installed in hosts, but I do not remember which one. IN 2023 I ALREADY FOUND ON THE INTERNET ON SOME FORUMS THE ANSWER OF THE PERSON WHO HELPED ME, THERE WAS ONLY ONE SITE THAT I DELETED FROM THE FILE HOSTS AND EVERYTHING WORKED. I was looking for this solution to install Chinese for my windows 10, then microsoft store was giving error 0x80070422 the solution to which I searched youtube so I remembered it.
I need your help, if you know which site is responsible for this email me its name in full, or post a few if you know others, I will check with myself and let you know. Thanks
.

@ruiaurelio

Copy link
Copy Markdown
0.0.0.0 graph.microsoft.com
0.0.0.0 login.live.com
0.0.0.0 login.microsoft.com

Still in what regards to "login to the Microsoft account"; If one wants to keep the system utility app "Windows Backup" working (which requires to be able to login to the Microsoft account) then the following must not be added in the hosts file or else the app will complain that there's no internet connection:

  • sdx.microsoft.com

@godgeous

godgeous commented Nov 5, 2025

Copy link
Copy Markdown

This is awesome! Could someone please tell me which of these hosts must I comment out to be able to download addons? I have enabled the microsoftedge.microsoft.com host that is allowing me to access the addons site, but when I am trying to install an extension, it says download interrupted.

Thank you!

@niutech

niutech commented Nov 5, 2025

Copy link
Copy Markdown
Author

@godgeous Go to Microsoft Edge Add-Ons, open dev tools (F12) go to Network tab and watch for blocked requests.

@AyeYoAdrian

Copy link
Copy Markdown

I'm so glad I stumbled on this! Thanks y'all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment