我把\WINDOWS\system32\drivers\etc 里面的东西全部删了 怎么办
推荐于2017-09-21 · 知道合伙人软件行家
1、删除了对系统运行没有影响。
2、该文件夹内提供win自带的各种驱动。也就是说,如果你安装了新的硬件,系统会自动从此文件夹内查找安装的硬件驱动,如果有,就不需要用户再放入驱动盘进行安装了。删除后系统会要求用户放入驱动盘安装驱动。
3、该功能完全可以用第三方软件取代。比如驱动精灵。安装新硬件后。运行驱动精灵即可自动查找安装该硬件驱动。必须保持网络畅通。
4、驱动精灵运行截图
5、里面还有个hosts文件,Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联"数据库",当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址,一旦找到,系统会立即打开对应网页,如果没有找到,则系统会再将网址提交DNS域名解析服务器进行IP地址的解析。
可以直接在该文件夹内新建文本文档,把以下内容复制进去保存即可。
# 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
# 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
参考资料: 1:http://bbs.hx95.com/read-htm-tid-70605-keyword-etc.html
2:http://zhidao.baidu.com/question/4102631.html