Windows Server 2012 R2如何编辑hosts文件
时间:2014-11-01 19:10:37
收藏:0
阅读:1595
在我的Windows Server 2012 R2系统里编辑hosts文件则会出现没有无法保存的问题,原因是权限不足
错误信息:" Unable to save C:\Windows\System32\Drivers\etc\hosts"



在stackoverflow.com上找到解决方案特在此记录下,其实很简单就是以管理员权限来编辑即可

解决步骤(参考自http://stackoverflow.com/):
Start → All Programs → Accessories → right-click "Notepad" → Run as administrator → Modify hosts file appropriately → Save
实际上不管使用任何编辑器如果以administrator身份运行都可以保存成功,下面我使用sublimet来保存


以上方法适用于Windows 7+,Windows Server2008+版本
原文:http://www.cnblogs.com/huangtailang/p/4067583.html
评论(0)