Join Amazon Student FREE Two-Day Shipping for College Students!
19461

Can't edit the host file fix: You don't have permission to save in this location

Can't edit the host file fix: You don't have permission to save in this location

If you encounter the error You don't have permission to save in this location when you are trying to save the Hosts file, that means the account that you logged in you doesn't have administrator permission to save a file or the hosts file is protected by other programs. You may try the following suggestions one by one to check the issue.

  1. Check if you are logged in as administrator account, guest account will have permissions problem.
  2. Temporarily disable antivirus program when you are editing the hosts file.
    Programs like Windows Defender will prevent unauthorized changes to the hosts file. If you know what you are doing, you can temporary disable the hosts file protection.
    To disable hosts file protection in Windows Defender: Open Windows Defender, switch to the "Settings" tab, click on the left side "excluded files and locations" option, click "Browse" button, navigate to the location of the hosts file as C:\Windows\System32\Drivers\etc\hosts, then click on the "Add" button, then click "Save Changes."
  3. If you are using administrator account and your antivirus programs is off, you can use the following method to resolve the problem. Applies to win7/win8/win8.1 ...
    Right-click notepad.exe, then left-click "Run as administrator". You can now open and edit the Hosts file.

One way that is not recommended for fixing this problem is by modifying the hosts file's permissions and makes it editable for anyone. Changing hosts file's permission will make the system vulnerable.

6 Comments

  1. Felix says:

    Sometime just right click the host file > properties uncheck Read-only and OK.

  2. m says:

    Thank you, its a nice way to do it.

  3. Dave Fletcher says:

    Thank you, thank you, thank you. I have been trying to resolve this problem for the last 2 days and I couldn't find anything online to fix this until I read your post. Disabling the VirusScan components temporarily allowed me to save the changes to the HOSTS file. I was trying to copy and rename, all kinds of combinations and nothing worked. Thanks again!!!!

  4. pjfisher says:

    since i didn't wanna' mess with wd … i chose the third option:
    " Right-click notepad.exe, then left-click "Run as administrator". You can now open and edit the Hosts file. "

    thanks a bunch, hx.

  5. Apoorv says:

    Thank you so much , this helped

    • W Khan says:

      I am trying many time but not fix this error same problem here ... message show that you permission from administrator on Window 7 what i do please help me dear ..,
      If anyone know blocking website process so please help me i need it ...
      Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Your browser is out-of-date. Upgrade your browser today! Internet Explorer | FireFox | Chrome

X