1. XToro's Avatar
    First off, this site's search is ridiculous. Searching a word comes with tons of random threads that have nothing to do with it, IE "Hosts". And this isn't my first forum so please don't insult me with instructions on how to use the seach.

    Ok, end of rant on that.

    Now has anyone figured out how to edit the HOSTS file in W10M yet? I can't find anything yet except for outdated tricks that don't work anymore, like using the properties box.

    I have a whole whack of malicious sites I'd like blocked.

    Thanks!
    XT
    04-09-2016 02:08 AM
  2. HeyCori's Avatar
    Is this the thread you're looking for?

    http://forums.windowscentral.com/edg...heres-why.html
    Guytronic and jmshub like this.
    04-09-2016 08:18 PM
  3. T Moore's Avatar
    I have always gotten my host file from here
    Blocking Unwanted Connections with a Hosts File

    It unzips to a hosts folder with an install .bat file. You can change the host file in this folder and run the bat file to install the host file in this install folder.
    That is how you install the hosts file you download from the site
    04-10-2016 12:29 AM
  4. PepperdotNet's Avatar
    Great. Now please explain how to execute a a.bat file in Windows 10 Mobile.
    04-10-2016 12:33 AM
  5. XToro's Avatar
    Yeah thanks guys, but I'm asking about W10 Mobile. I know how to do it on Windows 10 Desktop....
    04-10-2016 01:33 PM
  6. ajj3085's Avatar
    I'm not aware how on w10m, but can you use the dns features of your router? this has the benefit of blocking the desired sites for everything on your network.
    dsmitford likes this.
    04-10-2016 07:44 PM
  7. XToro's Avatar
    I'm not aware how on w10m, but can you use the dns features of your router? this has the benefit of blocking the desired sites for everything on your network.
    I probably could, but that only helps when I'm at home. And in that case, I'm using my laptop anyways.
    04-10-2016 09:03 PM
  8. midnightfrolic's Avatar
    First off, this site's search is ridiculous. Searching a word comes with tons of random threads that have nothing to do with it, IE "Hosts". And this isn't my first forum so please don't insult me with instructions on how to use the seach.

    Ok, end of rant on that.

    Now has anyone figured out how to edit the HOSTS file in W10M yet? I can't find anything yet except for outdated tricks that don't work anymore, like using the properties box.

    I have a whole whack of malicious sites I'd like blocked.

    Thanks!
    XT
    As of right now, there currently is no reliable and easy way to use a custom HOSTS file on Windows 10 Mobile. And for good reason, to benefit MS and ad market as a whole. Or at least to prevent ad revenue loss. Out best hope right now is hope adblocker and ublock origin extension come on mobile Edge. Or MS, in their infinite wisdom, decides to allow custom HOSTS files and built-in adblocker that we can manage and customize.
    04-10-2016 10:19 PM
  9. Techno-Freak's Avatar
    X Toro,

    If you have an interop-unlocked phone, you can edit HOSTS file after activating full fs access, or by using Ad blocking XAP file which is available on xda forums.
    midnightfrolic, Joe920 and daimv like this.
    04-11-2016 08:59 AM
  10. Ma Rio's Avatar
    ^ As this guy said, you can find it on XDA. I've seen it there, however I'm not 100% sure it works since I haven't tried it, but it probably does.
    04-11-2016 11:12 AM
  11. XToro's Avatar
    As of right now, there currently is no reliable and easy way to use a custom HOSTS file on Windows 10 Mobile. And for good reason, to benefit MS and ad market as a whole. Or at least to prevent ad revenue loss. Out best hope right now is hope adblocker and ublock origin extension come on mobile Edge. Or MS, in their infinite wisdom, decides to allow custom HOSTS files and built-in adblocker that we can manage and customize.
    Yeah I don't particularly care what MS thinks about why I want to edit the HOSTS file. If I want to block ads, I'll find a way, somehow. It's my product that I purchased, and my internet connection. If I want to block ads, I will. I guess I just have to wait for it to be cracked...

    X Toro,

    If you have an interop-unlocked phone, you can edit HOSTS file after activating full fs access, or by using Ad blocking XAP file which is available on xda forums.
    This doesn't work on newer phones since the 950, and my 650 is the latest model, so this doesn't work for me. MS "fixed" those holes.
    04-11-2016 01:52 PM
  12. midnightfrolic's Avatar
    I tried this as well when I first heard it months ago. Does not work on my 950XL. It believe it's for Win Phone 8.1 and older. Or just older phones in general.
    04-11-2016 07:43 PM
  13. thron's Avatar
    It works with Windows 10, just not newer devices, yet. 950/550 or later.
    04-11-2016 08:23 PM
  14. Joe920's Avatar
    Has anyone been able to make any progress on this? I'd love to install a hosts file on my 950XL.
    12-02-2016 01:16 PM
  15. daimv's Avatar
    To the ones who say it doesn't work in x50 phones, do you speak specifically about the hosts file? Because the interop unlock is achieved differently with this phones but it can definitely be done. I have interop unlock and full file system access, though I haven' tried to edit the hosts file.
    12-02-2016 05:12 PM
  16. Joe920's Avatar
    I have interop unlock and full file system access, though I haven' tried to edit the hosts file.
    If you're on a 950 or 950XL, could you try? Just copy the old file first (probably an empty file, but just in case)

    This is the hosts file I'd like to use: Blocking Unwanted Connections with a Hosts File

    That would significantly speed up browsing!
    krishna T likes this.
    12-03-2016 09:14 AM
  17. Bleser's Avatar
    Has anyone ever figured out how to drop in a custom HOSTS file on W10M?
    12-19-2017 08:36 PM
  18. milkyway's Avatar
    Has anyone ever figured out how to drop in a custom HOSTS file on W10M?
    After interop unlocking your phone you can use this app:
    https://forum.xda-developers.com/win...obile-t3634750

    When WP Internals 2.2 lands you will be able to copy the hosts file to your phone via Windows Explorer
    12-20-2017 02:39 AM
  19. Bleser's Avatar
    After interop unlocking your phone you can use this app:
    https://forum.xda-developers.com/win...obile-t3634750

    When WP Internals 2.2 lands you will be able to copy the hosts file to your phone via Windows Explorer
    Thanks! I'll await WP Internals and hopefully it will be pretty straightforward to edit the hosts file. Web browsing will be so much faster.
    12-20-2017 03:51 PM
  20. Bleser's Avatar
    WP Internals 2.3 has landed! I plan on hooking it up tonight.

    Is the HOSTS file in the same file location as it is with other versions of Windows?
    C:\Windows\System32\drivers\etc
    01-12-2018 04:39 PM

Similar Threads

  1. Replies: 1
    Last Post: 04-08-2016, 10:39 AM
  2. In Windows Phone 8.1, .xap file not installed directly?
    By Windows Central Question in forum Windows Phone 8.1
    Replies: 1
    Last Post: 04-08-2016, 06:37 AM
  3. Where did my Sound Recorder file go??
    By Windows Central Question in forum Windows Phone 8.1
    Replies: 0
    Last Post: 04-07-2016, 05:07 PM
  4. using RUN AS ADMINISTRATOR on a new W10 system tries to open a ZIP file ?
    By Windows Central Question in forum Ask a Question
    Replies: 1
    Last Post: 04-07-2016, 11:43 AM
  5. Files removed (or relocated?) after upgrade to Windows 10?
    By Windows Central Question in forum Windows 10
    Replies: 0
    Last Post: 04-05-2016, 12:50 PM
LINK TO POST COPIED TO CLIPBOARD