随着电脑的使用率越来越高,我们有时候可能会遇到对win10系统重置hosts文件进行设置,如果我们需要对win10系统重置hosts文件进行设置时,要怎么处理win10系统重置hosts文件呢?我们按照1、按下“Win+R”组合键打开运行,在框中输入:WinDir%\\System32\\Drivers\\Etc 点击确定打开hosts文件所在文件夹; 2、在hosts文件上单击鼠标右键,在弹出的菜单中选择【打开方式】;就搞定了;接下来给大家带来win10系统重置hosts文件的详细步骤:
1、按下“Win+R”组合键打开运行,在框中输入:WinDir%\\System32\\Drivers\\Etc 点击确定打开hosts文件所在文件夹;
2、在hosts文件上单击鼠标右键,在弹出的菜单中选择【打开方式】;
3、选中【记事本】,点击【确定】;
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
5、点击关闭按钮,在弹出的提示框中点击【保存】即可。
完成以上操作就成功的重置hosts文件了。
关于win10系统重置hosts文件的操作方法就给大家介绍到这边了,小伙伴们都学会了吗?欢迎继续请关注,后续会有更多精彩!
387 个用户觉得很有用
发表评论