Skip to content

Instantly share code, notes, and snippets.

@eyecatchup
Last active July 12, 2023 08:53
Show Gist options
  • Star 69 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save eyecatchup/ba7dc7a50d90cbf6377d to your computer and use it in GitHub Desktop.
Save eyecatchup/ba7dc7a50d90cbf6377d to your computer and use it in GitHub Desktop.
Disable Skype ads: 1.) Add hosts to your hosts file 2.) Flush DNS resolver cache (ipconfig /flushdns)
# Block Skype ads
127.0.0.1 *.msads.net
127.0.0.1 *.msecn.net
127.0.0.1 *.rad.msn.com
127.0.0.1 a.ads2.msads.net
127.0.0.1 ac3.msn.com
127.0.0.1 ad.doubleclick.net
127.0.0.1 adnexus.net
127.0.0.1 adnxs.com
127.0.0.1 ads1.msn.com
127.0.0.1 ads2.msads.net
127.0.0.1 aka-cdn-ns.adtech.de
# Keep "apps.skype.com" if you want to see Skype Home (prepend # at line below)!
127.0.0.1 apps.skype.com
127.0.0.1 b.ads2.msads.net
127.0.0.1 bs.serving-sys.com
127.0.0.1 cdn.atdmt.com
127.0.0.1 cds26.ams9.msecn.net
127.0.0.1 db3aqu.atdmt.com
127.0.0.1 ec.atdmt.com
127.0.0.1 flex.msn.com
127.0.0.1 g.msn.com
127.0.0.1 live.rads.msn.com
127.0.0.1 msntest.serving-sys.com
127.0.0.1 rad.msn.com
127.0.0.1 sO.2mdn.net
127.0.0.1 secure.flashtalking.com
127.0.0.1 static.2mdn.net
127.0.0.1 static.2mdn.net
# PRO-TIP: Removing the adds does NOT remove the add placeholder side bar(s)!
# This can be removed by going to: %appdata%/skype/YOUR_USER_NAME/config.xml
# and set all Advert-related values to 0:
#
# <AdvertEastRailsEnabled>0</AdvertEastRailsEnabled>
# <AdvertLargeEastRailCutoff>0</AdvertLargeEastRailCutoff>
# <AdvertNorthRailCutoff>0</AdvertNorthRailCutoff>
# <AdvertPlaceholder>0</AdvertPlaceholder>
# <AdvertSmallEastRailCutoff>0</AdvertSmallEastRailCutoff>
@joielechong
Copy link

@gucu112
Copy link

gucu112 commented Sep 27, 2017

👍 for "apps.skype.com"

@lioobayoyo
Copy link

using only 127.0.0.1 apps.skype.com is enough to blocks all ads (but deactivate the skype home panel as well as a benign side-effect)

@mrdc
Copy link

mrdc commented Aug 1, 2018

Hi!
Recently my Skype has stopped working after I've used hosts file to block ads. The problem is that my hosts file is custom: it includes many sources... So it's hard to find which one made Skype unusable. Any ideas where to find hosts I should whitelist to unblock Skype?

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