http://jingyan.baidu.com/article/e5c39bf56564a539d7603312.html
Due to software registration, I need to change the hosts file to prevent server authentication! So when we amend this document in
Waiting, after the modification is completed found not save this situation how do we solve it, it really can not be changed yet? Let's
Take a look at the solution of it!
Step / Method
-
Sometimes we have to break some software communicates with the server, so usually need to change the Hosts file to achieve the purpose, XP system can directly modify the save, but Win7 system did not have permission to modify the prompts, then how are we going to do it, we modify that c: \ windows \ system32 \ drivers \ etc following hosts file.
-
First open the files where the path is: c: \ windows \ system32 \ drivers \ etc, as shown:
-
Then we have the file, right above, select the Properties option, as shown:
-
In the properties window then opens, we switch to the Security tab, as shown:
-
We then select the Security tab of the Advanced button, as shown:
-
In the new window that opens, we chose to change the permissions of a button, as shown:
-
Then remove from the Include inheritable permissions to parent like in the new window that opens, and then click the Add button, as shown:
-
After clicking the Add button, we returned to the window, click the OK button, pop-up windows security window, we click a button, as shown:
-
Then we click the OK button to return to the beginning of the Properties window, and then select all our current users of the Administrators group, and press the Edit button, as shown:
-
In the pop-up window, we check the user's current management group, giving full control permissions, as shown:
-
After modifications are complete, click the OK button, and then click the OK button, so you can make changes to the Hosts file
Reproduced in: https: //www.cnblogs.com/wikiki/p/4633892.html