Permission Denied on Hosts File (Windows 7)
On Windows 7, I was trying to edit the host file using Komodo and was getting Permission Denied, and tried notepad too still got permission denied. I thought initially it was McAfee Anti Virus that was disabling the edit of host file as this file is an important system configuration file.
The reason but was that Windows requires the editor to run with administrator privileges to edit the file, this is different in Windows XP because all programs by default used to run as Administrator if your were an administrator. The feature in Windows 7 is good as it helps protect against most mallicious software which when run as administrator can cause havoc.
So inorder to edit hosts file on Windows 7 ,
Goto Start Menu > Enter Notepad > Right-Click on Notepad > Run as administrator .
Now you can open the hosts file and edit it.
- Host File Write Permission Denied
- Where Is The Hosts File In Windows 7
- Windows File_get_content Permission Denied
- Write Exe Permission Denied
- What Is Permission Denied To Call Method Location.toString
- How To Open Wmz File
- Jquery File Upload Plugin
- Perl Read Media File
- Json Perl Join File
- Launch External Help File .chm Using Perl
- Sample Predictive Text Dictionary File
- No Input File Specified Php Dreamhost Rewrite
- How To Open And Read Pdf File In Perl
- Vaio Windows
- Network Mac And Windows 7

Comments
still didnt work for me
still didnt work for me
double check, is read only enabled ?
right click the host file, go to properties. see if read only is checked. if so, uncheck it. then perform edits to the host file. after you are finished, make sure to go back to the properties of the file and re-check the "read only" option. this is to protect the host file from being unwantingly changed.
Post new comment