返回目录:win10问题
Win10修改hosts文件后设置无效解决方法如下: 方法一zhidao:打开控制面板- 管理工具 – 服务, 在其中找到“DNS Client” 将其停用并改为手动模式即可。
方法二:
1、用户可以内在桌面创建一个host文件(无扩展名)并编辑好里面的内容;
2、然后把C:\Windows\System32\Drivers\ect\下的host文件删除容;
3、删除后再把自己新创建的host文件放在ect目录中。
恢复win10的hosts默认值的操作百方法和详细步骤如下:
1、第一步,打开计算机,然后单击上面的地址框并输入如下图所示的地址,然后进入下一步。
2、其次,完成上述步度骤后,单击弹出的文件夹中的“hosts”文件,移至版桌面,如下图所示,然后进入下一步。
3、接着,完成上述步骤后,右键单击并选择“打开权方式”选项,然后使用“记事本”将其打开,如下图所示,然后进入下一步。
4、最后,完成上述步骤后,根据下图的内容在弹出的窗口中对其进行修改,如下图所示。这样,问题就解决了。
方法:
1,打开C:\Windows\System32\drivers\etc
2,打开“查看”选项
3,去掉“隐藏受保护的操作系统文件”前面的勾,然后确定
4,刷新一下,就会看到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、点击关闭按钮,在弹出的提示框中点击【保存】即可。