南宁下载网 - 绿色的安卓游戏、软件app应用下载站

当前位置: 首页 > win10教程 > 技术员教你处理win10系统重置hosts文件的图文教程

技术员教你处理win10系统重置hosts文件的图文教程

更新时间:2020-11-27 13:01:34
有朋友在是用电脑的时候,发现win10系统重置hosts文件的问题不知该怎么办,固然处理起来也不难,然而还是有一些小伙伴不明白win10系统重置hosts文件应该怎样解决。于是就有一些朋友到本站询问win10系统重置hosts文件问题的解决步骤。只用你按照1、按下“Win+R”组合键打开运行,在框中输入:WinDir%System32DriversEtc 点击确定打开hosts文件所在文件夹; 2、在hosts文件上单击鼠标右键,在弹出的菜单中选择【打开方式】;的顺序依次操作就可以了,下文就是win10系统重置hosts文件的具体方法了,希望能帮助到大家。

1、按下“Win+R”组合键打开运行,在框中输入:WinDir%System32DriversEtc 点击确定打开hosts文件所在文件夹;

win10如何重置hosts文件?Win10 hosts文件修复!

2、在hosts文件上单击鼠标右键,在弹出的菜单中选择【打开方式】;

win10如何重置hosts文件?Win10 hosts文件修复!

3、选中【记事本】,点击【确定】;

win10如何重置hosts文件?Win10 hosts文件修复!

4、将里面的全部内容清空,然后将下列代码复制进去:

# Copyright (c) 1993-2009 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
 
# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost

win10如何重置hosts文件?Win10 hosts文件修复!

5、点击关闭按钮,在弹出的提示框中点击【保存】即可。

win10如何重置hosts文件?Win10 hosts文件修复!


完成以上操作就成功的重置hosts文件了。

 

以上就是解决win10系统重置hosts文件的操作方法如果你的电脑也遇到了这种情况,可以试试上面的方法哦。小编就讲解到这里了,我们下期再会!