- A+
Win10系统hosts文件空白修复方法教学分享。有用户发现自己的电脑中hosts文件变成空白的了。如果这个文件出现了错误,那么可能会导致电脑出现一些问题。比如网络无法正常的连接,或者访问网页出现错误。那么如何恢复这个文件,一起看看解决的方法吧。
Win10系统hosts文件空白修复方法教学
找到hosts文件,其中有两种方法:
一是通过路径查找:
c:\windows\system32\drivers\etc
二是通过运行(快捷键Win+R)输入“路径”查找。
![[系统教程]Win10系统hosts文件空白修复方法教学](https://www.rvibo.com/wp-content/uploads/2022/11/20221121020011-74.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文件空白的解决方法,遇到相同情况的小伙伴们可以尝试上面的方法来解决看看吧。
希望本文对遇到此故障的朋友有所帮助,如有需要可以在下方留言,进行互动,或者留下您的联系方式,方便沟通交流。欢迎大家分享经典维修案例,软件使用教程技巧等,投稿邮箱:smailmeng2018@163.com.斯维智能科技@恩腾技术圈 WWW.RVIBO.COM.
- 扫一扫关注抖音
-
- 扫一扫关注我们
-

![[系统教程]Win11死亡空间2闪退怎么办?Win11玩死亡空间2闪退解决方法教学](https://www.rvibo.com/wp-content/themes/begin/timthumb.php?src=https://www.rvibo.com/wp-content/uploads/2023/02/20230206085946-84.jpg&w=280&h=210&a=&zc=1)
![[系统教程]Win7运行启动项命令是什么?Win7设置开机启动项的方法](https://www.rvibo.com/wp-content/themes/begin/timthumb.php?src=https://www.rvibo.com/wp-content/uploads/2023/02/20230206080006-40.jpg&w=280&h=210&a=&zc=1)
![[系统教程]Win7如何关闭硬件加速?Win7关闭硬件加速的方法](https://www.rvibo.com/wp-content/themes/begin/timthumb.php?src=https://www.rvibo.com/wp-content/uploads/2023/02/20230206080002-27.jpg&w=280&h=210&a=&zc=1)
![[系统教程]Win7升级Win10数据会丢失吗?win7升级win10保留数据](https://www.rvibo.com/wp-content/themes/begin/timthumb.php?src=https://www.rvibo.com/wp-content/uploads/2023/02/20230206075959-70.png&w=280&h=210&a=&zc=1)
