Using the command prompt to solve the problem of not being able to modify the hosts under Win8

  
                

Have you ever encountered a problem that the Hosts file in C:\\WINDOWS\\system32\\drivers\\etc cannot be modified? Use Notepad to open this file and add it without adding an IP address. Or if you are prompted to modify it, "No permission" or "Used by another program", then in win8, how can we easily modify the hosts file? The most convenient way to find Win8 system through research The method, let's take a look at it together.

1, the hosts file, the path is: C:\\windows\\system32\\drivers\\etc\\hosts.

2, then open the hosts file with notepad++, save it after modification.

3, for use Notepad can do so, first open the DOS program management tube with permission. Press winkey+x at the same time under win8, then click ““ command prompt (administrator)” in the menu to open the DOS program.

4, typing in the DOS window open in & ldquo; notepad & rdquo; which can command Enter the administrator permission to open the Notepad program.

5, and then open the hosts file Notepad, modified storage.

This method makes use of DOS programs, we can break permission Win8 modify the Hosts file, and the role Hosts can make your computer when you visit a domain name directly to access the corresponding ip The address bypasses the domain name resolution server. So for friends who are often on the Internet, learning how to modify Win8 Hosts files must be very helpful to you.

Copyright © Windows knowledge All Rights Reserved