导航菜单
分类

win7 64位电脑hosts文件如何修复

更新:2017-01-31   浏览:583+次
  作为没有扩展名的系统文件hosts,只要是用于加快域名解析,使得系统快速打开网页。那么,要是遇到hosts文件损坏了或者被恶意篡改的问题,要怎么解决呢?此文就为大家分享win7 64位电脑hosts文件如何修复。
  
  1、先在c:\windows\system32\drivers\etc项中,查看hosts文件。

电脑hosts文件如何修复
  
  2、按下快捷键win+r,打开运行,并输入c:\windows\system32\drivers\etc按回车。

电脑hosts文件如何修复
  
  3、这个时候需要找到hosts文件,把它其复制到桌面,用记事本打开。

电脑hosts文件如何修复
  
  4、接着需要删除记事本的全部内容,并把以下内容复制到文件中进行保存:

电脑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
  
  5、最后把修改后的hosts文件,直接放到c:\windows\system32\drivers\etc来替换以前的hosts文件,就可以完成修复了。

电脑hosts文件如何修复
  
  综上所述,便是修复win7 64位电脑hosts文件的方法,更多电脑系统疑问解答,尽在系统大全官网。

其他推荐

坎公骑冠剑10-3三星怎么通关?坎公骑冠剑10-3三星攻略

2023-05-18 999
坎公骑冠剑10-3三星怎么通关?坎公骑冠剑10-3三星攻略

北斗高清地图卫星2020最新免费版

2021-07-06 110
北斗高清地图卫星2020最新免费版

汉字找茬王周版挖呀挖怎么过?汉字找茬王周版挖呀挖攻略

2023-07-14 686
汉字找茬王周版挖呀挖怎么过?汉字找茬王周版挖呀挖攻略

塔读文学手机版

2020-05-07 855
塔读文学手机版

天眼查官网

2021-06-30 150
天眼查官网

西瓜小说app:一款可以免费看双世欢的小说阅读软件

2020-04-02 290
西瓜小说app:一款可以免费看双世欢的小说阅读软件
查看更多 +

相关资讯