Solve the problem that Win7 system can't save the hosts file.

  
Because of the software registration, I need to change the hosts file to prevent the server from verifying! Then when we modify this file, we can't save it after the modification is completed. How can we solve this situation? Can we not modify it? Let's take a look at the solution.
Sometimes we need to crack some software to communicate with the server, so we usually need to change the Hosts file to achieve the purpose, XP system can directly modify and save. But the Win7 system prompts that there is no permission to modify, then what do we want to do, we modify the hosts file under c:/windows/system32/drivers/etc.
First open the file where the file is located, the path is: c:/windows/system32/drivers/etc, as shown in the figure:

Then we right click on the file, select the property option, as shown :

Then in the properties window that opens, we switch to the Security tab as shown:

Then we select the Advanced button of the Security tab as shown: Br>
In the new window that opens, we choose the button to change the permissions, as shown:

Then remove the permissions that can be inherited from the parent of the object in the new window that opens. Then click the Add button as shown:

After clicking the Add button, we return to the window and click the OK button to bring up the Windows Security window. We click the Yes button, such as Figure:

Then we click the OK button, go back to the properties window at the beginning, then select all the administrator groups of our current user, and press the edit button as shown:

In the pop-up window, we check the management group where the current user is located and give full control , As shown: Click the OK button after

modifications are complete, then click the OK button, so you can make changes to the Hosts file.

Copyright © Windows knowledge All Rights Reserved