关于Windows无权修改Host解决方案-极简方案

网友投稿 586 2022-09-14

关于Windows无权修改Host解决方案-极简方案

关于Windows无权修改Host解决方案-极简方案

hosts位于"C:\WINDOWS\system32\drivers\etc"下

1、先进入hosts所在目录下

2、切出cmd键入"attrib hosts -a -s -r -h",就可以解决问题

在这副出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

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:VMware虚拟机Nat配置&ulimit设置&常用DNS
下一篇:表达式树练习实践:入门基础(瑜伽树式动作要领)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~