Tuesday, October 27, 2015

hosts file in Windows Mobile device

hosts file in Windows Mobile device

There is no hosts file in Windows Mobile device. However, you can edit the registry to have the same effect.

1. Run "Remote Registry Editor". It is under this path:

"C:\Program Files (x86)\CE Remote Tools\5.01\bin\ccregedt.exe"

2. Go to HKEY_LOCAL_MACHINE\Comm\Tcpip

3. Add a key called Hosts under: HKEY_LOCAL_MACHINE\Comm\Tcpip

4. Add a key called "MyDomain.local" under HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts

5. Add a binary value called "ipaddr" under HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\MyDomain.local

Note: use hex for the IP address. For example: C0 A8 05 10

6. Add a binary value called "ExpireTime" under HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\MyDomain.local

With the value: 99 99 99 99 99 99 99

Reference:

http://windowsmobilepro.blogspot.ca/2006/04/etchosts-file-equivalent-in-windows.html

No comments: