No permission to change hosts file ?

  1. FredM8's Avatar
    Posts : 54
    Windows 10 Pro 1909
       #1

    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 Computer

  2. topgundcp's Avatar
    Posts : 2,618
    MintMate19x64 Win10Prox64
       #2

    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 Computer

  3. FredM8's Avatar
    Posts : 54
    Windows 10 Pro 1909
    Thread Starter
       #3

    Thank you, all done !
    Situation sorted
      My Computer

  4. Almighty1's Avatar
    Posts : 1,042
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix
       #4

    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 Computer


  5. Posts : 2
    Windows 10 Pro
       #5

    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 Computer


  6. Posts : 2
    Win 10
       #6

    loris said:
    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 Computer



  7. Posts : 6
    Win 10 home 64-bit v1903
       #7

    topgundcp said:
    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 Computer


 

Related Threads
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 03:20.
Find Us




Windows 10 Forums