1.    15 Nov 2015 #1
    Join Date : Oct 2015
    Posts : 41
    Windows 10 Pro 2016 Aniversary 64 Bit

    No permission to change hosts file ?


    I have changed from W7 to W10 but find that although I am logged in as the administrator, I am unable to save any changes to my hosts file and get the message that I don't have accees/permission and should contact the administrator.
    Can anyone advise me as to what's going on ?
      My ComputerSystem Spec
  2.    15 Nov 2015 #2
    Join Date : Jul 2014
    San Jose, California
    Posts : 2,052
    Ubuntu14.04x64 MintMate17x64 Win10Prox64

    Option 1:

    1. Click on Start ->All Apps->Windows Accessories then right click on Notepad->Run As Admin.
    2. Navigate to C:\Windows\System32\Drivers\etc. Click on All Files to see hosts then open

    Option 2:
    Download: Hosts File Editor - Amazify then right click and run as Admin
      My ComputerSystem Spec
  3.    15 Nov 2015 #3
    Join Date : Oct 2015
    Posts : 41
    Windows 10 Pro 2016 Aniversary 64 Bit
    Thread Starter

    Thank you, all done !
    Situation sorted
      My ComputerSystem Spec
  4.    16 Nov 2015 #4
    Join Date : Aug 2015
    San Francisco, California USA
    Posts : 941
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix

    Even in Win7, hosts file is read only by default, you have to unclick the read only, edit it, then add the read only back.
      My ComputerSystem Spec
  5.    17 Nov 2015 #5
    Join Date : Nov 2015
    Posts : 2
    Windows 10 Pro

    Another solution is copy the hosts file to your desktop for editing. When done, copy the modified hosts file back to the directory C:\Windows\System32\Drivers\etc for overwriting the original one.
      My ComputerSystem Spec
  6.    10 Jan 2016 #6
    Join Date : Jan 2016
    Posts : 2
    Win 10

    Quote Originally Posted by loris View Post
    Another solution is copy the hosts file to your desktop for editing. When done, copy the modified hosts file back to the directory C:\Windows\System32\Drivers\etc for overwriting the original one.
    Tried this and the hosts file reverted back to the default. Originally, it worked for about 6 months and then reverted back to the default hosts file. In the end I did copy to the Desktop but after the change I changed the permission to READ only.
      My ComputerSystem Spec
  7.    22 Nov 2016 #7
    Join Date : Sep 2015
    Posts : 4
    Win 10 home

    Quote Originally Posted by topgundcp View Post
    Option 1:

    1. Click on Start ->All Apps->Windows Accessories then right click on Notepad->Run As Admin.
    2. Navigate to C:\Windows\System32\Drivers\etc. Click on All Files to see hosts then open

    Option 2:
    Download: Hosts File Editor - Amazify then right click and run as Admin
    I used Option 1. Worked just as it should. You've saved me from all the frustration I felt. Ahhhhhh!
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
File Permission
I am running Office 2007, on W10. I have just added to a document, clicked to exit, confirmed save changes, then got this box. How do I get rid of it? Thank You 43529
General Support
Hosts File Alias not working with File Share
I can set an alias in the hosts file on a win7 machine and access it just fine but doing the same in Win10 prompts for creds that never work even when entered correctly. What did win10 change? hosts file entry: 127.0.0.1 hostname alias...
Network and Sharing
Help!!! why can't i find Hosts file in system 32
My hosts files disappeared in my C:\Windows\System32\drivers\etc. Can some one help me to solve this?
General Support
Problem with blocking sites with hosts file
Hi I tried to block some sites in that way but although I cleared DNS cache (ipconfig /flushdns) ater editing the hosts file, I'm still able to access those sites. Googled about it but seems everything has done Ok and wonder why I can't use this...
Browsers and Email
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 17:23.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums