Windows Server 2012 R2如何编辑hosts文件

2020-12-13 14:56

阅读:316

标签:style   blog   http   io   color   os   ar   使用   sp   

在我的Windows Server 2012 R2系统里编辑hosts文件则会出现没有无法保存的问题,原因是权限不足
错误信息:" Unable to save C:\Windows\System32\Drivers\etc\hosts"
在stackoverflow.com上找到解决方案特在此记录下,其实很简单就是以管理员权限来编辑即可

soscw.com,搜素材

解决步骤(参考自http://stackoverflow.com/):
Start → All Programs → Accessories → right-click "Notepad" → Run as administrator → Modify hosts file appropriately → Save

实际上不管使用任何编辑器如果以administrator身份运行都可以保存成功,下面我使用sublimet来保存

soscw.com,搜素材
soscw.com,搜素材

以上方法适用于Windows 7+,Windows Server2008+版本


来自为知笔记(Wiz)


Windows Server 2012 R2如何编辑hosts文件

标签:style   blog   http   io   color   os   ar   使用   sp   

原文地址:http://www.cnblogs.com/huangtailang/p/4067583.html


评论


亲,登录后才可以留言!