1.恢复win10的hosts默认值
# 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。
2.更改了host后怎么还原
怎么改的就怎么改回来
这是路径,在hosts上右键,选记事本打开就可以了。
或者也可以Win + R 组合快捷键打开运行命令框,然后在打开后面键入或者粘贴上上面的Hosts文件路径:C:\Windows\System32\drivers\etc,这样也可以直接打开hosts文件所在的文件夹
如果你不记得修改了什么内容,可以从别的相同系统的电脑上拷一份文件过来,覆盖就可以了。这里要注意一下,win7和win10系统中hosts文件里呈现的内容是不一样的。
3.如何修复host文件
1、进入WINDOWS\system32\drivers\etc,在文件夹内找到hosts文件并右击,选择用记事本打开;
2、删除记事本的全部内容,将以下内容复制后粘贴到文件内并保存:
# 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
3、hosts文件修复成功。
Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,当用户在浏览器中输入一个
需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址,一旦找到,系统会立即打开对应网页,如果没有找到,则系统再会将网址提交DNS域名解析服务器进行IP地址的解析。
4.如何恢复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
上述文字是原件内容,实际上#的都是注释文字,起作用的就最后行。
5.如何重置hosts
hosts文件的所在路径: 在nt、2000、xp、2003、vista和win 7的32位版本中,它存在于"%windir%\System32\drivers\etc\", 而64位版本则在"%windir%\SysWOW64\drivers\etc\"路径下。
如何把hosts文件恢复到默认状态:1、你可以把引号之间的文字复制到资源管理器中,然后就可以快速找到这个文件了。2、使用记事本打开这个文件。
(在这之前你可以复制一下这个文件,作为备份)3、清空其中的所有内容,然后把以下的内容复制进去(注意系统版本),最后保存。如果要其生效,那么之前打开的浏览器需要重启。
windows 7的默认hosts文件内容:# Copyright (c) 1993-2006 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 handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost windows vista和2008 server的默认hosts文件内容:# Copyright (c) 1993-2006 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 host127.0.0.1 localhost ::1 localhost windows xp和2003 server的默认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 host127.0.0.1 localhost 或者使用微软的修复工具把它恢复到默认状态。
6.host unreachable怎么解决 win 10
第一步: 检查网络连接 网卡灯是网络和电脑网卡连接的标志,不亮的话证明网络和网卡之间连接有问题,要检查网线和网卡之间是否松脱或接错,或者网卡损坏,可尝试插拔几次或更换网线。如果网卡损坏,请联系设备中心(内线839)。如果网卡灯是正常的,请进入第二步。
第二步: 检查电脑网络连接
点击Windows的"开始"=>;"运行"=>;输入"Ping 10.26.4.1" 指令=>;点击"确定", 如果出现类似 "Reply from 10.26.4.1: bytes=32 time"运行"窗口,输入cmd,回车,进入dos窗口。或者按照一下方法如今dos窗口(win98进入dos窗口:点击windows的"开始"=>;"程序"=>"MS DOS方式";win2000进入dos窗口:点击windows的"开始"=>;"程序"=>;"附件"=>;"命令提示符")
7.怎样彻底解决win10 wmi provider host
1
解决方法:
可以尝试关闭Windows防火墙服务来解决这个问题。
1.按住win+R,输入services.msc,回车。
2
2.在服务里面找到Windows Firewall,双击,在启动类型中选择“禁止”。
3
3.重启Win10系统,然后测试问题是否得到解决。
4
有的用户不知道是哪个进程导致硬件资源占用过多,因为他的Win10系统上的任务管理器无法完全显示,这时需要点击详细信息才能查看完整进程标签页。
转载请注明出处windows之家 » win10如何恢复host