Get the App
SLTechnology News&Howtos  ›  Computer Software News  › 

What if hosts cannot be saved after modification? Hosts cannot change the solution.

Shulou Source: shulou.com Published: 2022-05-31 10:41:27 10月03日 Update

Today, Xiaofan encountered the Hosts file in C:\ WINDOWS\ system32\ drivers\ etc and could not modify it. The device LAN must change this file to add an IP address. Use notepad to open this file and add it without adding an IP address. As follows:

A study has found the following two solutions, which are not only suitable for Windows 7 and 8. 1, but also can be tried. Priority is given to the use of two solutions.

Method 1: use administrator privileges to open notepad to edit host files

If the user account control appears in the figure below, we need to click "Yes".

Open the host file in the C:\ WINDOWS\ system32\ drivers\ etc directory in the open notepad program, and edit and save it.

Method 2: move the host file to the desktop, edit it with notepad and move it back to the original directory

First, drag the host file directly to the desktop as shown in the following figure

After dragging to the desktop, we can directly use notepad to edit and save, after saving, we will move the host file back to the original directory, when the following figure requires authorization, we click "continue".

Tags: File notepad method desktop directory mobile address two suggestions methods solutions time permissions users programs administrators devices accounts will first try Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Linux MySQL Huawei Shulou Information