Search code examples
windows-10hosts-file

Windows hosts file auto reset?


I have an 192.168... address (local VMware) written in the local host file on Windows (administrator mode).

Windows change that file after one hour and put the line with "#" as follow :

before 
192.168.72.128  dev.local

after
\# 192.168.72.128 dev.local

Do you know a way to prevent this?

I'm under windows 10 Family (version 1511)

Thanks


Solution

  • I finally found the problem. This is the local IP address 192.168.72.128 disrupting windows (assigned by vmware player).

    Since I put the address 192.168.1.186, the hosts file is not modified. That said, I have no explanation for this behavior.

    Thank you to everyone for your help!