Win7系统hosts文件损坏的解决方法
hosts是一个没有扩展名的系统文件,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,方便用户们快速访问,那么如果遇到hosts文件损坏的话该怎么办呢?下面以win7 64位旗舰版系统为例,给大家讲解一下hosts文件损坏的解决方法。
1、在win7系统中先找到hosts文件的所在文件夹,其实是位于c:\windows\system32\drivers\etc项中;
2、使用快捷键“win+r”打开运行,输入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文件,就可以完成修复。
关于Win7系统hosts文件损坏的解决方法就给大家介绍到这边了,有遇到这样情况的用户们可以按照上面的方法来解决吧。
- 系统教程栏目
- win7系统教程排行
- 1 能用有效的win7旗舰版激活密钥永久激活码大全(100%激活)
- 2 2020最新office产品密钥永久激活码_office激活密钥永久key免费(附激活方法)
- 3 Win7旗舰版永久激活密钥 win7激活密钥序列号 win7激活神key大全
- 4 如何用硬盘安装Ghost系统
- 5 win7正版永久激活密钥2020_windows7产品密钥永久最新激活码
- 6 Win7激活码64位旗舰版最新 win7旗舰版64位激活密钥永久激活
- 7 32位和64位的win7系统的选择
- 8 win7电脑开机密码忘记了怎么办
- 9 最新win7虚拟机iso镜像文件下载|虚拟机专用win7 iso镜像下载包
- 10 已经安装迅雷 但是下载时还是提示需要安装迅雷
- 大家都在使用
- win7系统推荐
- 萝卜家园 ghost win7 32位 最新正版系统 v2022.12
- 萝卜家园 ghost win7 64位 一键装机版系统 v2022.12
- 大地系统 ghost win7 32位 官方正版系统 v2022.12
- 萝卜家园 ghost win7 32位 最新旗舰版系统 v2022.12
- 萝卜家园 ghost win7 64位 最新旗舰版系统 v2022.12
- 深度技术 ghost win7 32位 旗舰正式版系统 v2022.12
- 深度技术 ghost win7 32位 最新旗舰版系统 v2022.12
- 深度技术 ghost win7 32位 装机升级版系统 v2022.11
- 系统之家 ghost win7 64位 旗舰版系统 v2022.12
- 大地系统 ghost win7 64位 旗舰正版系统 v2022.12
- 最新教程