win10如何恢复host

1.恢复win10的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 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。

2.更改了host后怎么还原

怎么改的就怎么改回来

这是路径,在hosts上右键,选记事本打开就可以了。

或者也可以Win + R 组合快捷键打开运行命令框,然后在打开后面键入或者粘贴上上面的Hosts文件路径:C:\Windows\System32\drivers\etc,这样也可以直接打开hosts文件所在的文件夹

如果你不记得修改了什么内容,可以从别的相同系统的电脑上拷一份文件过来,覆盖就可以了。这里要注意一下,win7和win10系统中hosts文件里呈现的内容是不一样的。

3.如何修复host文件

1、进入WINDOWS\system32\drivers\etc,在文件夹内找到hosts文件并右击,选择用记事本打开;

2、删除记事本的全部内容,将以下内容复制后粘贴到文件内并保存:

# 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

3、hosts文件修复成功。

Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,当用户在浏览器中输入一个

需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址,一旦找到,系统会立即打开对应网页,如果没有找到,则系统再会将网址提交DNS域名解析服务器进行IP地址的解析。

4.如何恢复Hosts文件

# 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

上述文字是原件内容,实际上#的都是注释文字,起作用的就最后行。

5.如何重置hosts

hosts文件的所在路径: 在nt、2000、xp、2003、vista和win 7的32位版本中,它存在于"%windir%\System32\drivers\etc\", 而64位版本则在"%windir%\SysWOW64\drivers\etc\"路径下。

如何把hosts文件恢复到默认状态:1、你可以把引号之间的文字复制到资源管理器中,然后就可以快速找到这个文件了。2、使用记事本打开这个文件。

(在这之前你可以复制一下这个文件,作为备份)3、清空其中的所有内容,然后把以下的内容复制进去(注意系统版本),最后保存。如果要其生效,那么之前打开的浏览器需要重启。

windows 7的默认hosts文件内容:# Copyright (c) 1993-2006 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 handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost windows vista和2008 server的默认hosts文件内容:# Copyright (c) 1993-2006 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 host127.0.0.1 localhost ::1 localhost windows xp和2003 server的默认hosts文件内容: # 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 host127.0.0.1 localhost 或者使用微软的修复工具把它恢复到默认状态。

6.host unreachable怎么解决 win 10

第一步: 检查网络连接 网卡灯是网络和电脑网卡连接的标志,不亮的话证明网络和网卡之间连接有问题,要检查网线和网卡之间是否松脱或接错,或者网卡损坏,可尝试插拔几次或更换网线。如果网卡损坏,请联系设备中心(内线839)。如果网卡灯是正常的,请进入第二步。

第二步: 检查电脑网络连接

点击Windows的"开始"=>;"运行"=>;输入"Ping 10.26.4.1" 指令=>;点击"确定", 如果出现类似 "Reply from 10.26.4.1: bytes=32 time"运行"窗口,输入cmd,回车,进入dos窗口。或者按照一下方法如今dos窗口(win98进入dos窗口:点击windows的"开始"=>;"程序"=>"MS DOS方式";win2000进入dos窗口:点击windows的"开始"=>;"程序"=>;"附件"=>;"命令提示符")

7.怎样彻底解决win10 wmi provider host

1

解决方法:

可以尝试关闭Windows防火墙服务来解决这个问题。

1.按住win+R,输入services.msc,回车。

2

2.在服务里面找到Windows Firewall,双击,在启动类型中选择“禁止”。

3

3.重启Win10系统,然后测试问题是否得到解决。

4

有的用户不知道是哪个进程导致硬件资源占用过多,因为他的Win10系统上的任务管理器无法完全显示,这时需要点击详细信息才能查看完整进程标签页。

win10如何恢复host

转载请注明出处windows之家 » win10如何恢复host

win10

怎么启动win10自带虚拟机

阅读(108)

本文主要为您介绍怎么启动win10自带虚拟机,内容包括如何运行win10的自带虚拟机,win10系统怎么打开虚拟机,win10正式版怎么打开自带的虚拟机。win10自带虚拟机hyper设置网络连接 步骤如下:打开Win10下虚拟机 Hyper-v管理器,检查安装好的虚拟机

win10

win10阅读器怎么截屏

阅读(73)

本文主要为您介绍win10阅读器怎么截屏,内容包括windows10怎么截屏图解,windows10怎么用截图快捷键,w10怎么截图快捷键。快捷键截图1. Win + shift + S:可以选择截图区域的大小,Ctrl+V粘贴在word、微信等应用里。能否直接编辑修改需视系

win10

win10t系统怎么备份

阅读(95)

本文主要为您介绍win10t系统怎么备份,内容包括Win10系统怎么备份,windows10怎么备份操作系统,windows10系统怎么备份和还原。工具:win10方法如下:点击Win10系统的开始菜单,然后在点击菜单里的控制面板,如下图所示。

win10

win10怎么创建网页链接

阅读(116)

本文主要为您介绍win10怎么创建网页链接,内容包括win10怎么建立网络链接客户端,windows10怎么创建宽带连接,在windows10怎么设置浏览器网站。Win10宽带连接怎么创建1. 右键Win10系统桌面上的网络图标,选择“属性”2. 在网络和共享中心窗口,点

win10

win10修改字体怎么没有了

阅读(113)

本文主要为您介绍win10修改字体怎么没有了,内容包括win10系统改变字体怎么没有用,W10字体没有了,win10怎么不能更改字体样式。win10可以按照以下方法来更改电脑字体样式。 可以在网上搜搜关键词“字体下载”,根据自己喜欢的字体进行下载;2、

win10

win10怎么关闭自动熄屏

阅读(92)

本文主要为您介绍win10怎么关闭自动熄屏,内容包括win10系统怎么关闭自动休眠,win10怎么取消屏保和休眠,win10自动锁屏怎么关。首先按住win+R在运行里输入gpedit.msc并回车,然后在打开的窗口左侧依次打开计算机配置,管理模板,控制面板,个性化,接

win10

为什么win10同步点不了怎么回事

阅读(68)

本文主要为您介绍为什么win10同步点不了怎么回事,内容包括win10不能同步怎么办,windows10为什么时间不能同步,Win10同步设置不可用,该如何解决?。通过以下两种方式打开时间和日期设置。(1)我们按window+r在弹出菜单点击“控制面板-”进入后在

win10

如何作win10清装U盘

阅读(77)

本文主要为您介绍如何作win10清装U盘,内容包括windows10用u盘怎么重装系统,如何用u盘重装window10系统,怎样用U盘重装win10系统。首先,为了能够从u盘启动,重启电脑,在开机时按照系统屏幕提示按下F2键(不同的电脑BIOS版本可能不同,需要看开机的提

win10

笔记本win10如何玩win7游戏卡

阅读(62)

本文主要为您介绍笔记本win10如何玩win7游戏卡,内容包括怎么让win10和win7玩游戏一样流畅,怎样用win10玩win7游戏,win10怎么玩win7的游戏。装WIN7的64位旗舰版的操作系统,玩游戏会非常流畅。WIN10的系统玩游戏没有WIN7的系统流畅。WIN10今年

win10

win10已隔离危险如何打开

阅读(73)

本文主要为您介绍win10已隔离危险如何打开,内容包括win10被defender隔离的文件怎么恢复,win10隔离区打不开,如何恢复被“windowsdefender”隔离的文件?。首先打开Windows Defender主界面。

win10

win10如何知道文件原命名

阅读(119)

本文主要为您介绍win10如何知道文件原命名,内容包括win10怎么查看文件重命名的历史记录?,Win10新建文件夹怎么修改默认命名,Win10新建文件夹怎么修改默认命名。第一步、按下Win+Q组合键,在出现的Charm栏搜索框中输入“还原”,在出现的选项中

win10

如何用系统安装优盘安装win10

阅读(135)

本文主要为您介绍如何用系统安装优盘安装win10,内容包括怎么用u盘安装windows10,windows10怎么用u盘安装,怎样用u盘安装windows10。如下图。首先选择语言,简体中文。 6 格式化完成后,为了更迅速BIOS设置系统USB盘启动 1 首先,为了能够从u盘启

win10

电脑win10如何设置ip地址

阅读(84)

本文主要为您介绍电脑win10如何设置ip地址,内容包括win10怎么设置IP地址,win10怎么设置路由器?还遇到了这个路由器 TLWR842N,怎么设置windows10系统的IP地址。win10怎么设置ip地址:现在在用局域网一般都是自动配置IP地址的。IP地址为分两类

win10

XP和WIN10如何双系统

阅读(72)

本文主要为您介绍XP和WIN10如何双系统,内容包括windowsxp下怎么安装win10双系统,如何安装WinXP+Win10双系统,怎样安装xp和win10双系统。工具:xp,win10步骤:适用范围:安装xp系统的电脑2、符合安装win10硬件配置要求二、安装准备:备份电脑重要文

win10

怎么启动win10自带虚拟机

阅读(108)

本文主要为您介绍怎么启动win10自带虚拟机,内容包括如何运行win10的自带虚拟机,win10系统怎么打开虚拟机,win10正式版怎么打开自带的虚拟机。win10自带虚拟机hyper设置网络连接 步骤如下:打开Win10下虚拟机 Hyper-v管理器,检查安装好的虚拟机

win10

win10阅读器怎么截屏

阅读(73)

本文主要为您介绍win10阅读器怎么截屏,内容包括windows10怎么截屏图解,windows10怎么用截图快捷键,w10怎么截图快捷键。快捷键截图1. Win + shift + S:可以选择截图区域的大小,Ctrl+V粘贴在word、微信等应用里。能否直接编辑修改需视系

win10

win10t系统怎么备份

阅读(95)

本文主要为您介绍win10t系统怎么备份,内容包括Win10系统怎么备份,windows10怎么备份操作系统,windows10系统怎么备份和还原。工具:win10方法如下:点击Win10系统的开始菜单,然后在点击菜单里的控制面板,如下图所示。

win10

win10怎么创建网页链接

阅读(116)

本文主要为您介绍win10怎么创建网页链接,内容包括win10怎么建立网络链接客户端,windows10怎么创建宽带连接,在windows10怎么设置浏览器网站。Win10宽带连接怎么创建1. 右键Win10系统桌面上的网络图标,选择“属性”2. 在网络和共享中心窗口,点

win10

win10修改字体怎么没有了

阅读(113)

本文主要为您介绍win10修改字体怎么没有了,内容包括win10系统改变字体怎么没有用,W10字体没有了,win10怎么不能更改字体样式。win10可以按照以下方法来更改电脑字体样式。 可以在网上搜搜关键词“字体下载”,根据自己喜欢的字体进行下载;2、

win10

win10怎么关闭自动熄屏

阅读(92)

本文主要为您介绍win10怎么关闭自动熄屏,内容包括win10系统怎么关闭自动休眠,win10怎么取消屏保和休眠,win10自动锁屏怎么关。首先按住win+R在运行里输入gpedit.msc并回车,然后在打开的窗口左侧依次打开计算机配置,管理模板,控制面板,个性化,接

win10

为什么win10同步点不了怎么回事

阅读(68)

本文主要为您介绍为什么win10同步点不了怎么回事,内容包括win10不能同步怎么办,windows10为什么时间不能同步,Win10同步设置不可用,该如何解决?。通过以下两种方式打开时间和日期设置。(1)我们按window+r在弹出菜单点击“控制面板-”进入后在

win10

win10浏览器全乱码怎么解决方法

阅读(100)

本文主要为您介绍win10浏览器全乱码怎么解决方法,内容包括win10系统浏览器出现乱码怎么办浏览器出现乱码解决方法,win10系统浏览器出现乱码?,Win10系统浏览器字体乱码怎么解决。打开浏览器,再打开开发人员工具;备注:如若你2113是试用系统自带