Win10系统hosts文件空白修复方法教学
Win10系统hosts文件空白修复方法教学分享。有用户发现自己的电脑中hosts文件变成空白的了。如果这个文件出现了错误,那么可能会导致电脑出现一些问题。比如网络无法正常的连接,或者访问网页出现错误。那么如何恢复这个文件,一起看看解决的方法吧。
Win10系统hosts文件空白修复方法教学
找到hosts文件,其中有两种方法:
一是通过路径查找:
c:\windows\system32\drivers\etc
二是通过运行(快捷键Win+R)输入“路径”查找。

进入文件夹以后,找到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文件空白的解决方法,遇到相同情况的小伙伴们可以尝试上面的方法来解决看看吧。
上一篇:Win10深色模式怎么开启?Win10开启深色模式的方法
栏 目:Windows系列
下一篇:Win10待机如何远程唤醒?Win10待机远程唤醒的方法
本文地址:https://fushidao.cc/system/24865.html
您可能感兴趣的文章
- 05-12win记忆方法怎么记?win记忆方法
- 05-12改为ide方法是什么,如何设置IDE开发环境
- 05-12cpu散热方法,cpu散热方法有哪些
- 05-12PE怎么诊断?肺栓塞早期症状及确诊方法
- 05-12isowin怎么重装?isowin重装方法
- 05-12系统oem方法是什么,系统oem方法
- 05-12戴尔电脑怎么开机?戴尔开机方法详解
- 05-12重置bios方法,电脑bios怎么重置
- 05-12优盘扩容方法是真的吗,u盘扩容修复工具
- 05-12iphone怎么还原出厂设置,iphone还原方法
阅读排行
推荐教程
- 08-12Win11 LTSC 根本不适合个人用户? LTSC版本的优缺点分析
- 08-12windows11选择哪个版本? Win11家庭版与专业版深度对比
- 08-21Win11如何更改系统语言?Win11更改系统语言教程
- 01-02如何设置动态壁纸? Win11设置壁纸自动更换的教程
- 08-30Win11微软五笔输入法如何添加?Win11微软五笔输入法添加方法
- 02-01如何快速连接WiFi?掌握这些方法,轻松上网无烦恼!
- 08-18Win11截图快捷键在哪-Win11设置截图快捷键的方法
- 08-27Win11电脑怎么隐藏文件?Win11怎么显示隐藏文件/文件夹?
- 08-27怎么在win11中设置默认浏览器?Win11设置默认浏览器详细步骤
- 08-01Win11没任务栏怎么回事-Win11电脑开机桌面没有任务栏解决方法
