首页 > 电脑教程
老司机为你演示win10系统恢复hosts文件的技巧
admin 2021-10-28 04:04:11 电脑教程
今天教大家一招关于win10系统恢复hosts文件的操作方法,近日一些用户反映win10系统恢复hosts文件这样一个现象,当我们遇到win10系统恢复hosts文件这种情况该怎么办呢?我们可以1、打开此电脑,依次打开:C:\Windows\System32\drivers\etc “hosts”文件的目录中; 2、选择【新建】—【文本文档】;下面跟随小编脚步看看win10系统恢复hosts文件详细的设置方法:
1、打开此电脑,依次打开:C:\Windows\System32\drivers\etc “hosts”文件的目录中;
2、选择【新建】—【文本文档】;
3、双击【打开新建文本文档.txt】,将以下代码复制进去,然后关闭,在提示框中点击【保存】;
4、将【新建文本文档.txt】右键,选择重命名,将后面的TXT删除,然后命名为:hosts ,在弹出的框中点击“是”即可。
有用户可能会遇到“新建文本文档”后面没有显示【TXT】的情况,则通过【显示扩展名】的方法即可显示TXT了。
1、打开此电脑,依次打开:C:\Windows\System32\drivers\etc “hosts”文件的目录中;
2、选择【新建】—【文本文档】;
3、双击【打开新建文本文档.txt】,将以下代码复制进去,然后关闭,在提示框中点击【保存】;
# 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
4、将【新建文本文档.txt】右键,选择重命名,将后面的TXT删除,然后命名为:hosts ,在弹出的框中点击“是”即可。
有用户可能会遇到“新建文本文档”后面没有显示【TXT】的情况,则通过【显示扩展名】的方法即可显示TXT了。
以上就是win10系统恢复hosts文件的操作方法的完整教程了,不会的小伙伴们来跟着小编一起学习吧!当然方法不止这一种,更多知识等着我们去发现!
相关教程推荐
- 2021-10-15 win7能再还原到win10吗,win10变成win7怎么还原
- 2021-09-30 win7怎么调整屏幕亮度,win7怎么调整屏幕亮度电脑
- 2021-08-31 win7笔记本如何开热点,win7电脑热点怎么开
- 2021-08-04 360如何重装系统win7,360如何重装系统能将32改成
- 2021-10-23 win7未能显示安全选项,win7没有安全模式选项
- 2021-10-11 联想天逸5060装win7,联想天逸310装win7
- 2021-07-25 win7无法禁用触摸板,win7关闭触摸板没有禁用选项
- 2021-07-25 win7卡在欢迎界面转圈,win7欢迎界面一直转圈
- 2021-10-27 gta5一直在载入中win7,win7玩不了gta5
- 2021-09-16 win7一直卡在还原更改,win7一直卡在还原更改怎么
热门教程