Home > Computer Tutorials > Troubleshooting > How to solve the problem when Win10 encounters abnormal hosts file configuration and cannot access the Internet

How to solve the problem when Win10 encounters abnormal hosts file configuration and cannot access the Internet

WBOY
Release: 2024-01-12 18:21:11
forward
2293 people have browsed it

Some friends are unable to access the Internet due to abnormal host file configuration when using Win10. So what should I do if Win10 hosts file configuration is abnormal and cannot access the Internet? The editor below will give you a detailed introduction to the solution to the abnormal Win10hosts file configuration and unable to access the Internet. If you are interested, come and take a look.

1. Click the search icon in the taskbar, enter "cmd", click "Command Prompt" and select "Run as administrator".

How to solve the problem when Win10 encounters abnormal hosts file configuration and cannot access the Internet

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

How to solve the problem when Win10 encounters abnormal hosts file configuration and cannot access the Internet

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

How to solve the problem when Win10 encounters abnormal hosts file configuration and cannot access the Internet

4. Wait for a moment, enter "a" according to the prompts, and press Enter.

How to solve the problem when Win10 encounters abnormal hosts file configuration and cannot access the Internet

The above is the detailed content of How to solve the problem when Win10 encounters abnormal hosts file configuration and cannot access the Internet. 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