Win10系统hosts文件空白修复方法教学
时间:2023-12-03 12:59:22
Win10系统hosts文件空白修复方法教学分享。有用户发现自己的电脑中hosts文件变成空白的了。如果这个文件出现了错误,那么可能会导致电脑出现一些问题。比如网络无法正常的连接,或者访问网页出现错误。那么如何恢复这个文件,一起看看解决的方法吧。
Win10系统hosts文件空白修复方法教学
找到hosts文件,其中有两种方法:
一是通过路径查找:
c:\windows\system32\drivers\etc
二是通过运行(快捷键Win+R)输入“路径”查找。
![Win10系统hosts文件空白修复方法教学](https://img.aspxhome.com/file/2023/25/a217099_0.png)
进入文件夹以后,找到hosts文件,如果打开为空,则复制以下内容保存即可。(如果出现不能编辑的情况,先把hosts文件复制到桌面,修改保存以后,在复制回到该路径下)
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
上述便是win10 hosts文件空白的解决方法,遇到相同情况的小伙伴们可以尝试上面的方法来解决看看吧。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
电脑16英寸有多大-电脑16英寸有多大详情
![](https://img.aspxhome.com/file/2023/4/a307528_0s.jpg)
使用脚本恢复WinXP系统的用户登录密码的详细步骤
通过chkdsk命令找回Win7系统下磁盘丢失的簇
![](https://img.aspxhome.com/file/2023/29/a253588_0s.png)
excel累加小技巧
win10怎么关闭防火墙?win10关闭防火墙的教程
![](https://img.aspxhome.com/file/2023/9/47829_0s.png)
win10系统预览桌面开启方法
![](https://img.aspxhome.com/file/2023/4/a312517_0s.jpg)
如何利用Word2003制表符实现各种对齐
![](https://img.aspxhome.com/file/2023/2/30222_0s.jpg)
怎么在excel中制作报表
怎么安装win10 iso文件_安装win10 iso文件的详细教程
![](https://img.aspxhome.com/file/2023/1/a273813_0s.png)
Excel 工作表中显示“####” 公式错误
miui12怎么换成胶囊电池显示_miui12换成胶囊电池显示方法
![](https://img.aspxhome.com/file/2023/3/a297878_0s.jpg)
excel 或者符号怎么打
excel表格如何修改文本格式
Intel公布2018 Q1财报:利润大涨50%、CPU保持增长
![](https://img.aspxhome.com/file/2023/3/a292647_0s.jpg)
win10如何卸载onedrive?win10系统onedrive卸载教程
![](https://img.aspxhome.com/file/2023/30/a267832_0s.jpg)
Excel 2010的工作界面 概述
![](https://img.aspxhome.com/file/2023/2/a154752_0s.png)
远程桌面软件哪个好用
![](https://img.aspxhome.com/file/2023/2/a285967_0s.png)
Excel中Text 函数应用技巧集锦
Win10控制面板没有家庭组选项怎么办?
![](https://img.aspxhome.com/file/2023/25/a219089_0s.jpg)