Windows 10 Phone Host File

Discussion in 'Windows 10 Phones' started by grey_beard, Apr 21, 2017.

  1. grey_beard

    grey_beard

    Joined:
    Apr 21, 2017
    Messages:
    1
    Likes Received:
    0
    I need to add an entry to host file on my Windows 10 phone. How can this be done?
     
    grey_beard, Apr 21, 2017
    #1
    1. Advertisements

  2. grey_beard

    Regedit32 Moderator

    Joined:
    Mar 4, 2016
    Messages:
    2,762
    Likes Received:
    833
    Hi grey_beard,

    Welcome to the Forum.

    To my knowledge the simplest way to do this would be to install a third party app called Interop Tool. You won't be able to get that from the Windows Store so you'll need to go here:

    https://mega.nz/#!rRMhEJgT!pPXGnGIT4DV6dip6JAOS_c1NSQv9cJ_hgKiWnGgbwKw

    Before downloading and installing this though you need to click Start > Settings > Update & security > For developers and Enable Developer Mode

    Once installed this will allow you to navigate the Registry in the phone. You will find the application installed under Extras rather than the usual location for apps installed from the Store.

    In terms of the Registry Editor this tool includes you'd need to navigate to HKLM\Comm\Tcpip\Hosts

    Once there you first need to right-click on Hosts and add a new key which you will name to remind you what site you are blocking.

    Then right-click on the new key and select New > Binary value and name this ipaddr

    Now right-click on your new binary value ipaddr and select Modify and for the Data value field enter the hexadecimal value of the ip address you intend to block. So for example if the ip address you wanted to block was 134.213.112.172, then its hexadecimal value would be as follows:

    Decimal ------ Hexadecimal

    134 ---------------- 86
    213 ---------------- D5
    112 ---------------- 70
    172 ---------------- AC

    Thus in the Data field you'd enter 86 D5 70 AC then click OK

    Sample image of result

    sample.png

    To work these out you can use the Calculator built into Windows 10 or a website


    When you open the Calculator click the Menu icon and select Programmer

    Sample image

    sample2.png

    Now just type each part of ip address, one at a time and view its Hex value, then clear screen and type next part of address, an so on.

    Website alternative: http://www.miniwebtool.com/ip-address-to-hex-converter/


    type entire address in field, for example: 134.213.112.172 then click the convert button which will display 0x86D570AC — as you can see a little faster than using Calculator :)
    I think that covers everything. If not feel free to post more questions.

    One last note though: Backup your phone data before modifying Registry!

    Regards,

    Regedit32
     
    Regedit32, Apr 21, 2017
    #2
    Ian and Data like this.
    1. Advertisements

  3. grey_beard

    Data Chief Operations Officer

    Joined:
    Apr 13, 2017
    Messages:
    427
    Likes Received:
    82
    Location:
    Warping out of sector 0 aboard the NCC-1701-E
    @Regedit32 Slightly offtopic though related to backups-> Its slow clap inducing but see #8
     
    Data, Apr 21, 2017
    #3
  4. grey_beard

    Regedit32 Moderator

    Joined:
    Mar 4, 2016
    Messages:
    2,762
    Likes Received:
    833
    Hmm that Backup Club sounds nice. Just so long as the Waiting staff are more the Forward kind of guys who think ahead to make your clubbing enjoyable.

    Rumor is they even backup your incomplete meals with a doggy bag.
     
    Regedit32, Apr 21, 2017
    #4
  5. grey_beard

    Data Chief Operations Officer

    Joined:
    Apr 13, 2017
    Messages:
    427
    Likes Received:
    82
    Location:
    Warping out of sector 0 aboard the NCC-1701-E
    Waiting staff are girls that definitely back it up ;),

    Theres all kinds of clubbing, for instance for those that dont backup, their heads may meet with a club, that decelerates quickly at contact with their skull. :D
     
    Data, Apr 21, 2017
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.