Win10系统hosts文件空白修复方法教学

2022-11-20 www.dnxtw.com

Win10系统hosts文件空白修补方法课堂教学共享。有客户发现自己电脑中hosts文件变为空白的啦。如果这些文件出现不正确,那样可能会致使电脑发生一些问题。例如互联网不能正常连接,或是访问网页发生错误。我们该如何修复这一文件,一起看看克服的方法吧。

Win10系统hosts文件空白修补方法课堂教学

找到hosts文件,在其中主要有两种方法:

一是根据路径搜索:

c:\windows\system32\drivers\etc

二是由运作(键盘快捷键Win R)键入“路径”搜索。

进到文件夹之后,找到hosts文件,假如开启为空,则拷贝以下几点储存就可以。(如果出现了不可以编辑状况,先将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

以上便是win10 hosts文件空白地处理方法,碰到同样状况的朋友们可以试着上边的方法去解决瞧瞧吧。

相关阅读