当前位置:主页 > 系统教程 > hosts文件如何修改|win7怎么重置hosts文件修复!

hosts文件如何修改|win7怎么重置hosts文件修复!

发布日期:2014-09-28      作者:win10正式版      来源:http://www.win10g.com

hosts文件如何修改|win7怎么重置hosts文件修复!

在win7旗舰版系统中,有些时候你们从网上下载了包含恶意插件的软件安装后会篡改Hosts,导致你们浏览器主页打开后变成其他网址,那么该怎么修复hosts文件呢?下面系统家园官网主编给大家共享下重置办法。

步骤:

1、按下“win+R”组合键打开运行,在框中输入:windir%system32driversEtc 点击确定打开hosts文件所在文件夹;


2、在hosts文件上单击鼠标右键,在弹出的菜单中选择【打开方式】;


3、选中【记事本】,点击【确定】;


4、将里面的具体内容清空,然后将下列代码复制进去:

# Copyright (c) 1993-2009 Microsoft Corp.

#

# This is a sample HosTs file used by Microsoft TCp/ip for win.

#

# This file contains the mappings of ip addresses to host names. Each

# entry should be kept on an inpidual 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 inpidual

# 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、点击关上按钮,在弹出的提示框中点击【保存】直接。



完成上述操作就成功的重置win7 ghost系统hosts文件了。

------分隔线------
  • 栏目专题推荐
  • 系统教程推荐