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
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
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