Win10 how to modify the hosts file? I believe that many win10 users have encountered insufficient permissions when modifying the hosts file, and can not directly modify the hosts file like XP and Win7 systems. Win10 hosts can not be modified how to do? The following computer Pepsi network shares two methods for everyone.
To modify the hosts file, you first need to find this file. The specific method is as follows:
1. Open the "Run" dialog box (you can use the Win+R combination shortcut to open it quickly). Then type the path to the hosts file: C:\\WINDOWS\\system32\\drivers\\etc When finished, click "OK" below to open it, as shown in the figure.
2, after finding the location of the hosts file, do not modify the file directly, otherwise there will be insufficient permissions and cannot be modified. The specific method is to right click on the hosts file, in the pop-up options, click to open "Properties", as shown.
3. After opening the properties of the hosts file, switch to the "Security" tab, then click to select the current user name that needs to be changed, and then click "Edit" below to pop up the editing permission operation interface. First click to select the account name that requires higher authority. For example, you need to assign the user file permission to the user named "Computer Pepsi". After selecting the user, check the "Modify" and "Write" permissions above and below. When you are done, click on "Apply" in the lower right corner, as shown.
After clicking the application, a "Windows Security" prompt box will pop up, which means that after modifying the system folder permissions, the system security may be reduced. Here we don't need to bother, just click "Yes". , as shown.
4. After setting the permissions for writing and modifying the hosts file for the current user, the Win10 hosts file can be easily modified. The specific method is to right click on the hosts file, and in the pop-up menu, click "Open", as shown in the figure.
5, then choose to open the changes using Notepad. For example, here we need to add a designated IP access to www.pc841.com. After the modification is completed, click “Save”. Then there will be no permission problems, as shown below.
6, Finally, we test the effect by ping, as shown below.
Related Editor's Recommendation: How to use the Ping command Use the Ping command to check the network failure method
How is this, if you successfully modified the hosts file? In addition to modifying the account permissions, solve the Win10 system hosts can not be modified, you can also copy the hosts file to the desktop, and then use Notepad to edit, after the modification is completed, then replace the system disk's hosts file, this can also solve Win10 Hosts can not be modified, interested friends may wish to try.
Windows 10 has completed four candidate versions of Build 10176/10208/10224/10240, and the RTM versi
How does Win10 close the family group? How to quit the Win10 family group? Win10 is installed in the
Speaking of Restore factory settings, I believe many of my friends will not be unfamiliar, but most
Sometimes we often see friends around us like to show off their QQ group font color is very personal
Win10 Tip: Batching New Folders with PowerShell
Win10 can not install fonts how to do? Win10 installation font failed solution
Win10 upgrade 0x8024402f error solution
Win10 reset this computer how to use Win10 to reset this computer is the result?
Win10 microphone to strengthen how to close win10 microphone enhanced setting method
How to register Microsoft account Microsoft account registration tutorial
What should I do with the Win10 Build 10049 blue screen? 2 solutions
How is the Win10 desktop QQ icon hidden? Win10 hide qq icon to get out the method
Win10 boot press F8 can not enter the safe mode how to do? Win10 security mode entry method
How does the Edge browser block ads? Edge browser to advertising tutorial
How to install win10 offline. .NET Framework 3.5?
What is the win10 activation key? Windows 10 versions activate the secret key
The latest win7 system network delays how to do
Win10 closes the U disk display of the left navigation bar of the resource manager.
Windows 7 features: productivity - WiWindows search
Use Win7 to select the key content printing method
What if I open a webpage without an address bar?
Windows xp sharing problem setting method
The reason why the Win7 computer is inserted into the USB flash drive and the solution is