Windows 10: No permission to change hosts file ?

Discus and support No permission to change hosts file ? in User Accounts and Family Safety to solve the problem; 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... Discussion in 'User Accounts and Family Safety' started by FredM8, Nov 14, 2015.

  1. FredM8 Win User

    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 ?

    :)
     
    FredM8, Nov 14, 2015
    #1
  2. JLastar Win User

    I cant read or change the hosts file

    I have a program that requires a different host file (windows/sys32/drivers/etc/hosts)

    I seem to have all the permissions but I'm unable to read or change the hosts file. I get the msg that I have to have an administrators permission. And then I get a msg that I can't change anything even with an administrators permission.

    I really don't want to have to reinstall windows for a couple of reasons, first it's a lot of work and second I don't know if it will work after I do a reinstall.

    I'm unable to read the host file in notepad as an administrator. When I open Notepad as an administrator and try and open the file I don't get anything. When I open notepad as an administrator and drag hosts to it I get the msg that I need administrators
    permission.

    Is there some way that I can just delete the hosts file or make some changes.

    When I go to the etc folder and try and give permisions I get the following error -

    c:\\windows\system32\drivers\etc\hosts Filed to enumerate objects in the container. Access is denied.

    Any help would be appreciated.
     
    JLastar, Nov 14, 2015
    #2
  3. JLastar Win User
    I cant read or change the hosts file

    I'm totally unable to edit the hosts file. I have permissions to do everything but when I try and do anything with the hosts file I get an error.

    When I go to hosts and try and change the current I get the following error. You do not have permission to view this object's security properties, even as and administrative user. To try taking ownershiop of the object, which includes permission to view
    properties, click change above.

    When I do that I'm back to the same screen.
     
    JLastar, Nov 14, 2015
    #3
  4. topgundcp Win User

    No permission to change hosts file ?

    Option 1:

    • Click on Start ->All Apps->Windows Accessories then right click on Notepad->Run As Admin.
    • 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
     
    topgundcp, Nov 14, 2015
    #4
  5. FredM8 Win User
    Thank you, all done !
    Situation sorted
     
    FredM8, Nov 14, 2015
    #5
  6. Almighty1 Win User
    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.
     
    Almighty1, Nov 15, 2015
    #6
  7. loris Win User
    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.
     
    loris, Nov 16, 2015
    #7
  8. xamrab1 Win User

    No permission to change hosts file ?

    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.
     
    xamrab1, Jan 10, 2016
    #8
  9. pbdrmmr Win User
    I used Option 1. Worked just as it should. You've saved me from all the frustration I felt. Ahhhhhh!
     
    pbdrmmr, Apr 5, 2018
    #9
Thema:

No permission to change hosts file ?

Loading...
  1. No permission to change hosts file ? - Similar Threads - permission change hosts

  2. Change Multiple File Permissions

    in Windows 10 Network and Sharing
    Change Multiple File Permissions: I am trying to delete a folder on my external hard drive and there are about 300 sub folders in the one folder. I want to change the permission of ALL of the folders so I can delete them all at once but it is only letting me change one folder permission at a time. When I...
  3. Changes permissions

    in AntiVirus, Firewalls and System Security
    Changes permissions: Ever time I check my permissions they are changed. Not all of them but almost. If I unplug my pc & unhook the network cable it isn't as bad. It gets to the point where I am not allowed to do anything but go online. I have scanned with several antivirus programs but nothing...
  4. changing permissions

    in AntiVirus, Firewalls and System Security
    changing permissions: I am trying to change the security and permission issues of files in the folder to share with everyone with full control. setting the permissions in the folder is not changing the files in the folder. Finding some of the files have different ownerships. is there a way to...
  5. Deleting/Changing File Permission Issue

    in Windows 10 Customization
    Deleting/Changing File Permission Issue: [IMG]I recently tried deleting two folder duplicates and found out that I needed permission to delete these folders from TrustedInstaller. I searched up ways to do so, but i got stuck when I encountered the window that mentions ‘Object Name’ and such. I was confused on what...
  6. Vanilla hosts file ( hosts file not working )

    in AntiVirus, Firewalls and System Security
    Vanilla hosts file ( hosts file not working ): Hi I keep getting this symptom from time to time , it fixes with windows updates but then occasionally come back . I have a list of advertising and malware websites that I filter through hosts file that are often used by a chat client as per the chat client community...
  7. Malwarebytes does not detect change in hosts file

    in AntiVirus, Firewalls and System Security
    Malwarebytes does not detect change in hosts file: I made a change in my hosts file myself, in order to block Google ads. Windows Defender immediately gave a warning. A scan with Malwarebytes free did not give any notice. Remarkable. 57755
  8. Hosts file

    in Windows 10 Network and Sharing
    Hosts file: How can I reset the Hosts file back to the default? pls Is This good? 30362
  9. Hosts file

    in Windows 10 Support
    Hosts file: should the Hosts file be made read only ? 51243
  10. Hosts file

    in Windows 10 Support
    Hosts file: I am embarrassed that I forgot on change from Windows 7 to 10 I forgot until now to remember that only the sample Hosts file was installed. Now I cannot recall where the more comprehensive version came from or how to install it. Please advise me. 97081

Users found this page by searching for:

  1. how can i give permission to change host file

    ,
  2. changes hosts file windows permissions

    ,
  3. permission system for change hosts file

    ,
  4. permission for hosts file windows