如何恢复hosts文件|如何恢复默认hosts文件

如何恢复hosts文件|如何恢复默认hosts文件的第1张示图

⑴ 如何修复hosts文件

楼主好。首先找到hosts文件然后用记事本打开删除里面所有字符,保存为所有文档,不要有文件扩展后戳,直接保存即可。因为hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址,一旦找到,系统会立即打开对应网页,如果没有找到,则系统再会将网址提交DNS域名解析服务器进行IP地址的解析。

⑵ 如何恢复win10的hosts默认值

恢复win10的hosts默认值的操作方法和详细步骤如下:

1、第一步,打开计算机,然后单击上面的地回址框并输入如下图所答示的地址,然后进入下一步。

⑶ 怎么还原HOSTS文件

操作方法如下:1、首先打开C:windowssystem32driversetc文件夹,删除其中的hosts文件;

2、点击开始,点击所有程序,点击附件,点击记事本;

3、复制以下内容到记事本中;

# 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 indivial 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 indivial# 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 host127.0.0.1 localhost

4、点击文件菜单保存命令,存储路径选择C:windowssystem32driversetc,文件名输入hosts,保存类型选择所有文件,点击保存即可。

⑷ 怎么恢复HOSTS文件

QQ不能登陆可能是网络问题,根hosts文件没有关系

⑸ 怎么还原hosts文件

把102、38和后面两个带网址的删除即可。网络经验:《网络应用:[31]hosts文件》http://jingyan..com/article/359911f57de61057fe030614.html网络经验:《批处理系列:[5]打开hosts》http://jingyan..com/article/90808022c69fd7fd91c80f1f.html

⑹ 电脑里的hosts文件改了怎么还原

将hosts文件复制到桌面,用记事本打开!

删除记事本的全部内容,将以下内容复制后放入文件然后保存:

# 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 indivial 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 indivial# 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

将修改后的hosts文件放入c:windowssystem32driversetc替换以前的hosts文件.

⑺ 如何恢复默认hosts文件

我记得hosts解析器里面有个一键恢复hosts的功能,是可以恢复hosts文件的,希望能帮助你。

⑻ hosts文件恢复,急!!!

下载Microsoft Fix it 50267来修复hosts文件。http://support.microsoft.com/kb/972034/zh-cn

⑼ hosts文件怎么修复

使用命令attrib -a -s -r -h (+你的hosts文件名)就能去掉只读属性 这样就能修改了

未经允许不得转载:山九号 » 如何恢复hosts文件|如何恢复默认hosts文件

赞 (0)