From 2063cca6642e7d271483fbd8d0e88984f496ff68 Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Thu, 6 Aug 2015 00:46:39 +0200 Subject: [PATCH] sort telemetry redirects this makes it easier for me to see wheather a specific ip / domain is already in the list --- scripts/disable-telemetry.ps1 | 86 ++++++++++++++++++----------------- 1 file changed, 44 insertions(+), 42 deletions(-) diff --git a/scripts/disable-telemetry.ps1 b/scripts/disable-telemetry.ps1 index 065e7d6..60d853d 100644 --- a/scripts/disable-telemetry.ps1 +++ b/scripts/disable-telemetry.ps1 @@ -3,58 +3,60 @@ # hosts file. echo "Adding telemetry routes to hosts file" -$hosts = "0.0.0.0 vortex.data.microsoft.com -0.0.0.0 vortex-win.data.microsoft.com -0.0.0.0 telecommand.telemetry.microsoft.com -0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net -0.0.0.0 oca.telemetry.microsoft.com -0.0.0.0 oca.telemetry.microsoft.com.nsatc.net -0.0.0.0 sqm.telemetry.microsoft.com -0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net -0.0.0.0 watson.telemetry.microsoft.com -0.0.0.0 watson.telemetry.microsoft.com.nsatc.net -0.0.0.0 redir.metaservices.microsoft.com +$hosts = @" +0.0.0.0 134.170.30.202 +0.0.0.0 137.116.81.24 +0.0.0.0 204.79.197.200 +0.0.0.0 23.218.212.69 +0.0.0.0 23.218.212.69 +0.0.0.0 65.39.117.230 +0.0.0.0 65.55.108.23 +0.0.0.0 a-0001.a-msedge.net 0.0.0.0 choice.microsoft.com 0.0.0.0 choice.microsoft.com.nsatc.net +0.0.0.0 compatexchange.cloudapp.net +0.0.0.0 corp.sts.microsoft.com +0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com +0.0.0.0 cs1.wpc.v0cdn.net 0.0.0.0 df.telemetry.microsoft.com +0.0.0.0 diagnostics.support.microsoft.com +0.0.0.0 fe2.update.microsoft.com.akadns.net +0.0.0.0 feedback.microsoft-hohm.com +0.0.0.0 feedback.search.microsoft.com +0.0.0.0 feedback.windows.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 oca.telemetry.microsoft.com +0.0.0.0 oca.telemetry.microsoft.com.nsatc.net +0.0.0.0 pre.footprintpredict.com +0.0.0.0 redir.metaservices.microsoft.com 0.0.0.0 reports.wes.df.telemetry.microsoft.com -0.0.0.0 wes.df.telemetry.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 sls.update.microsoft.com.akadns.net 0.0.0.0 sqm.df.telemetry.microsoft.com -0.0.0.0 telemetry.microsoft.com -0.0.0.0 watson.ppe.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 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.urs.microsoft.com 0.0.0.0 telemetry.appex.bing.net:443 -0.0.0.0 settings-sandbox.data.microsoft.com +0.0.0.0 telemetry.microsoft.com +0.0.0.0 telemetry.urs.microsoft.com 0.0.0.0 vortex-sandbox.data.microsoft.com -0.0.0.0 survey.watson.microsoft.com +0.0.0.0 vortex-win.data.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 statsfe2.ws.microsoft.com -0.0.0.0 corpext.msitadfs.glbdns2.microsoft.com -0.0.0.0 compatexchange.cloudapp.net -0.0.0.0 cs1.wpc.v0cdn.net -0.0.0.0 a-0001.a-msedge.net -0.0.0.0 statsfe2.update.microsoft.com.akadns.net -0.0.0.0 sls.update.microsoft.com.akadns.net -0.0.0.0 fe2.update.microsoft.com.akadns.net -0.0.0.0 65.55.108.23 -0.0.0.0 65.39.117.230 -0.0.0.0 23.218.212.69 -0.0.0.0 134.170.30.202 -0.0.0.0 137.116.81.24 -0.0.0.0 diagnostics.support.microsoft.com -0.0.0.0 corp.sts.microsoft.com -0.0.0.0 statsfe1.ws.microsoft.com -0.0.0.0 pre.footprintpredict.com -0.0.0.0 204.79.197.200 -0.0.0.0 23.218.212.69 -0.0.0.0 i1.services.social.microsoft.com -0.0.0.0 i1.services.social.microsoft.com.nsatc.net -0.0.0.0 feedback.windows.com -0.0.0.0 feedback.microsoft-hohm.com -0.0.0.0 feedback.search.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 wes.df.telemetry.microsoft.com +"@ echo $hosts >> "$env:systemroot\System32\drivers\etc\hosts" echo "Disabling telemetry via Group Policies" @@ -67,4 +69,4 @@ Windows Registry Editor Version 5.00 $regfile = "$env:windir\Temp\registry.reg" $reg | Out-File $regfile regedit /s $regfile -rm $regfile \ No newline at end of file +rm $regfile