Where can I modify the hosts file location in Windows 7?
Hosts file path: C: \ WINDOWS \ system32 \ drivers \ etc
To open it easily, you only need to enter C: \ WINDOWS \ system32 \ drivers \ etc in the address bar of any folder to enter the hosts Directory of the system.
How to modify the hosts graphic tutorial
Open the hosts file in the etc directory, and add a line 1.1.1.1 www.111cn.net.
Click save.
Note: If the hosts cannot be modified, we can try to modify it as follows:
Open the file in the path c: \ windows \ system32 \ drivers \ etc, as shown in the following figure:
Right-click the file and select the attribute option, as shown in the following figure:
In the displayed properties window, switch to the Security tab, as shown in the following figure:
Then, select the advanced button on the Security tab, as shown in the following figure:
In the new window, select the change permission button, as shown in the following figure:
In the new window that appears, remove the permissions that can be inherited from the parent item of the object, and then click the Add button, as shown in the following figure:
After clicking the Add button, we return to the window and click OK to bring up the windows security window. Click yes, as shown in the following figure:
Then, click OK to return to the properties window at the beginning, select all the administrator groups of the current user, and click edit, as shown in the following figure:
In the displayed window, select the management group where the current user is located and grant full control permissions, as shown in the following figure:
After the modification is complete, click OK and then click OK to modify the Hosts file.