Home  >  Article  >  What should I do if the hosts file in Win8 system cannot be modified?

What should I do if the hosts file in Win8 system cannot be modified?

PHPz
PHPzforward
2023-06-29 12:34:541180browse

What should I do if the hosts file in Win8 system cannot be modified? The hosts file is an important file in the system disk. If we need to modify the IP address, we need to modify this file. However, some friends reported that the hosts file cannot be modified. How should we solve this situation. The editor below has compiled a tutorial on how the hosts file in Win8 system cannot be modified. If you are interested, follow the editor and read on!

What should I do if the hosts file in Win8 system cannot be modified?

Win8 system hosts file cannot be modified and changed tutorial

Method 1: Use administrator rights to open "Notepad" to edit the hosts file

If prompted for User Account Control, we need to click "Yes".

Open the hosts file in the C: WINDOWSsystem32driversetc directory in the open Notepad program, edit and save it.

Method 2: Move the hosts file to the desktop, edit it with Notepad and move it back to the original directory

First drag the hosts file directly to the desktop.

After dragging it to the desktop, we can edit it directly with Notepad and save it. After saving, we will move the hosts file back to the original directory. When authorization is required, we click "Continue" and that's it.

The above is the entire content of [What to do if the hosts file in Win8 system cannot be modified - Tutorial on hosts file in Win8 system cannot be modified]. More exciting tutorials are on this site!

The above is the detailed content of What should I do if the hosts file in Win8 system cannot be modified?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:chromezj.com. If there is any infringement, please contact admin@php.cn delete