Where is the Windows 10 system Hosts file location?

Source: Internet
Author: User
1, we press the keyboard key combination Win + R combination shortcut key to open the Run Command box, and then we enter the C:\windows\system32\drivers\ets in the Run box, enter and then return to open.

2, then will open into the Hosts file path, then we click "OK" can quickly open the Hosts file location, as shown.

If you want to open the Hosts file, then we find the file and then right-click to select Open mode for Notepad to edit gu.


Hosts file cannot be saved

Hosts file cannot save method one:

Close 3,601 kinds of antivirus software, and then modify, will not appear can not be saved. For example, 360 has some kind of security software protection, will automatically restore the Hosts file as the default state, so the hosts file can not be saved.

Hosts file cannot save method two:

Right-click the Hosts file, select Properties-> Security-> Edit, and set user user to Full control.

Hosts file cannot save method three:

Copy the Hosts file to the desktop (or the remaining path), edit and save, then copy the modified Hosts file to the original path and replace the original Hosts file. You will be prompted for administrator privileges to continue, and simply follow the prompts to continue replacing the original Hosts file.

Hosts file cannot save method four:

As an administrator, click Start-Run, input: cmd, and then enter Notepad c:\windows\system32\drivers\etc\hosts, return to Notepad will be the way to open the Hosts file, this time can be directly edited and saved.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.