Home > Computer Tutorials > Troubleshooting > How to solve the abnormal configuration of Win11 hosts file

How to solve the abnormal configuration of Win11 hosts file

WBOY
Release: 2024-01-11 23:42:20
forward
950 people have browsed it

Some users have discovered that the hosts file configuration is abnormal. How to solve the problem of abnormal configuration of the hosts file in Win11? The editor below will give you a detailed introduction to the solution to abnormal Win11hosts file configuration. If you are interested, come and take a look.

1. Click the search icon in the taskbar below, enter "cmd" in the search box, and select "Run as administrator" to open.

Win11 hosts文件配置异常怎么解决

2. Click "Yes" in the pop-up prompt window.

Win11 hosts文件配置异常怎么解决

3. After entering the window, enter "for /f %P in ('dir %windir%WinSxShosts /b /s') do copy %P %windir%System32driversetc & echo %P & Notepad %P" command, press Enter key to execute.

Win11 hosts文件配置异常怎么解决

4. If the hosts file is lost, it will be re-created to prevent it from being overwritten. Enter "a" and press Enter.

Win11 hosts文件配置异常怎么解决

5. After completion, the hosts file will be opened, just close it.

Win11 hosts文件配置异常怎么解决

The above is the detailed content of How to solve the abnormal configuration of Win11 hosts file. For more information, please follow other related articles on the PHP Chinese website!

source:dafanshu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template