win7系统hosts文件受损有什么影响?win7系统hosts文件受损如何修复

win7系统hosts文件受损有什么影响?win7系统hosts文件受损如何修复

时间:2016-12-02 16:52 作者: 来源:系统城

1. 扫描二维码随时看资讯

2. 请使用手机浏览器访问:

手机查看
评论

      部分用户说安装程序导致hosts文件受损,win7专业版系统hosts文件受损有什么影响?Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址。如果遇到hosts文件受损问题,不妨参考下文来解决。

推荐:深度win7系统下载    

具体操作方法如下:      

1、先找到hosts文件的所在文件夹,其实是位于c:\windows\system32\drivers\etc项中;

位于c:\windows\system32\drivers\etc

      2、使用快捷键“win+r”打开运行,输入c:\windows\system32\drivers\etc按回车,就可以找到了;

输入c:\windows\system32\drivers\etc按回车

      3、把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

输入记事本代码

      5、接着把修改后的hosts文件放到c:\windows\system32\drivers\etc来替换以前的hosts文件,就可以完成修复;

完成修复

      6、作为没有扩展名的系统文件,hosts文件主要用于加快域名解析,使得系统快速打开网页。

以上就是?win7系统hosts文件受损的修复方法,我们就可以通过上面小编整理的方法来解决问题了,可将此方法分享给身边的朋友。

< 上一篇

win8系统怎么重装win7|win8重装win7详细教程

下一篇 >

xp系统下使用繁体软件出现乱码如何解决

相关教程

网友评论

0

评论就这些咯,让大家也知道你的独特见解

以上留言仅代表用户个人观点,不代表系统城立场

Win7系统教程排行榜
系统下载排行

系统合集
最近更新

系统

软件

安卓

文章