当前位置:win7 > win7教程 >

高手指导win7系统Hosts文件异常的恢复技巧

时间:2021-08-26 05:15:04来源: www.ghostwin8.com 作者:win7 浏览次数:

有的网友比较喜欢安装win7系统,使用久了会发现win7系统Hosts文件异常的问题。于是有不少朋友向我询问win7系统Hosts文件异常的问题怎么解决。尽管处理方法特别的容易,可是也有很多朋友不知道win7系统Hosts文件异常究竟要怎么处理。只用你按照 1、将hosts文件复制到桌面,用记事本打开 、删除记事本的全部内容,将以下内容复制后放入文件然后保存:就ok了。下面就是win7系统Hosts文件异常的具体操作流程了,不会的朋友赶快学习一下吧!

  Hosts文件是什么?

  Hosts文件主要作用是定义IP地址和主机名的映射关系,是一个映射IP地址和主机名的规定。可以用文本文件打开!当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址,一旦找到,浏览器会立即打开对应网页,如果没有找到,则浏览器会将网址提交DNS服务器进行IP地址解析。这也是提高快速打开网页的方法!

Win7系统Hosts文件异常

  Hosts文件位置在哪里?

  Windows XP/2003/Vista/2008/7/8/8.1/10用户Hosts文件是在:C:WindowsSystem32driversetc

Hosts文件位置在哪里

  你可以直接根据上述路径进入,也可Win+R后输入:C:WindowsSystem32driversetc

输入:C:WindowsSystem32driversetc

  Hosts文件修复方法:

  1、将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

  127.0.0.1 localhost

  复制代码

复制代码

  3、将修改后的hosts文件放入C:WindowsSystem32driversetc替换以前的hosts文件,修复成功!

放入C:WindowsSystem32driversetc

 

  以上Win7系统Hosts文件异常的解决方法,只要将Hosts文件还原到默认状态,就不会有任何问题。更多教程内容欢迎关注系统城下载站!

上面给大家介绍的就是关于win7系统Hosts文件异常的解决方法,大家都会操作了吗?相信这篇文章一定可以帮到大家!

Tags: ntfs rund sql adsl


TAGS

热门教程



Copyright @ 2021 xp系统下载官网 ghostwin8.com 版权所有

本站发布的系统与软件都由网友上传仅为个人学习测试使用,不得用于任何商业用途,否则后果自负,请支持购买微软正版软件!

如有侵犯您的版权,请联系我们会第一时间处理!