电脑不能上网了,host应该怎么恢复 15
前几天用U盘给电脑装了win8系统,结果手贱不知道怎么的把那个c:\windows\system32\drivers\etc下的hosts文件修改了,用记事本打开后里面的...
前几天用U盘给电脑装了win8系统,结果手贱不知道怎么的把那个c:\windows\system32\drivers\etc下的hosts文件修改了,用记事本打开后里面的内容都不对劲了,搞的现在没法上网了。有没有什么办法能在不必重装系统的情况下恢复这个文件原来的配置呢?
展开
3个回答
展开全部
查找host文件
C:\WINDOWS\system32\drivers\etc\hosts
用记事本打开host文件 复制黏贴以下内容
# 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
保存
C:\WINDOWS\system32\drivers\etc\hosts
用记事本打开host文件 复制黏贴以下内容
# 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
保存
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |