请选择 进入手机版 | 继续访问电脑版

格子家园

 找回密码
 加入我们
查看: 1583|回复: 13

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

[复制链接]
发表于 2016-12-10 11:38:09 | 显示全部楼层 |阅读模式
部分用户说安装程序导致hosts文件受损,win7专业版系统hosts文件受损有什么影响?Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址。如果遇到hosts文件受损问题,不妨参考下文来解决。
推荐:深度win7系统下载

具体操作方法如下:

1、先找到hosts文件的所在文件夹,其实是位于c:windowssystem32driversetc项中;

1480658331399.png

2、使用快捷键“win+r”打开运行,输入c:windowssystem32driversetc按回车,就可以找到了;
1480658331399.png

3、把hosts文件复制到桌面,用记事本打开;
1480658331399.png

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
1480658331399.png

5、接着把修改后的hosts文件放到c:windowssystem32driversetc来替换以前的hosts文件,就可以完成修复;
1480658331399.png

6、作为没有扩展名的系统文件,hosts文件主要用于加快域名解析,使得系统快速打开网页。
以上就是?win7系统hosts文件受损的修复方法,我们就可以通过上面小编整理的方法来解决问题了,可将此方法分享给身边的朋友。

0

主题

388

回帖

775

积分

Level 3

Rank: 4

积分
775
发表于 2016-12-10 11:52:21 | 显示全部楼层
确实不错,顶先

0

主题

370

回帖

740

积分

Level 3

Rank: 4

积分
740
发表于 2016-12-12 21:24:34 | 显示全部楼层
楼主不许动,我是来抢沙发的,沙发没有,板凳也行!

0

主题

324

回帖

648

积分

Level 3

Rank: 4

积分
648
发表于 2016-12-15 09:49:50 | 显示全部楼层
支持,楼下的跟上哈~

0

主题

340

回帖

680

积分

Level 3

Rank: 4

积分
680
发表于 2016-12-17 17:12:41 | 显示全部楼层
嘘,低调。

0

主题

370

回帖

740

积分

Level 3

Rank: 4

积分
740
发表于 2016-12-20 06:17:29 | 显示全部楼层
火前留名,前排占座,此楼出租,欢迎议价。

0

主题

392

回帖

784

积分

Level 3

Rank: 4

积分
784
发表于 2016-12-22 21:23:09 | 显示全部楼层
呵呵,低调,低调!

0

主题

373

回帖

746

积分

Level 3

Rank: 4

积分
746
发表于 2016-12-25 11:31:18 | 显示全部楼层
楼主,楼主你真好,此贴必定火三年。

0

主题

352

回帖

704

积分

Level 3

Rank: 4

积分
704
发表于 2016-12-28 00:07:59 | 显示全部楼层
楼下的接上

0

主题

356

回帖

709

积分

Level 3

Rank: 4

积分
709
发表于 2016-12-28 23:24:24 | 显示全部楼层
二楼,和我抢好么?
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

手机版|小黑屋|格子家园 ( 联系邮箱:121272135@qq.com )

GMT+8, 2024-3-29 13:12 , Processed in 0.059349 second(s), 35 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表