Hosts: always Access Denied or asking for Admin permissions

Page 1 of 2 12 LastLast

  1. Posts : 21
    Windows 7
       #1

    Hosts: always Access Denied or asking for Admin permissions


    So I've been trying to modify my hosts file for a while now. On and off because I was fed up with searching and trying different things then always ending up failing.
    So that is why I am posting on this forum, asking for help from you guys.

    So far I have tried:

    • Unchecking Read-Only for the file and the 'etc' folder


    • Opening Notepad as administrator


    • Taking ownership


    • Activating the 'Hidden Admin Account'


    • Made sure I had all the right permissions for the file (right click 'hosts', properties, security, etc.)


    I might or might not have forgotten something. Also, there is only one account on my laptop and it is me. And I am the admin.

    Thank your for reading.
      My Computer


  2. Posts : 11,269
    Windows 7 Home Premium 64 Bit
       #2

    I was able to do it through notepad running as an administrator... What happened when you tried? Can you upload a screenshot?
      My Computer


  3. Posts : 21
    Windows 7
    Thread Starter
       #3

    writhziden said:
    I was able to do it through notepad running as an administrator... What happened when you tried? Can you upload a screenshot?
    Here's a screenshot of what happens when I open the hosts file with Notepad as admin.
    http://dl.dropbox.com/u/2380144/Scre...1_54531_pm.png
      My Computer


  4. Posts : 11,269
    Windows 7 Home Premium 64 Bit
       #4

    What antivirus are you running?
      My Computer


  5. Posts : 21
    Windows 7
    Thread Starter
       #5

    writhziden said:
    What antivirus are you running?
    I am using Kaspersky Internet Security 2011 11.0.2.556.
      My Computer


  6. Posts : 11,269
    Windows 7 Home Premium 64 Bit
       #6

    DudeOnFire said:
    writhziden said:
    What antivirus are you running?
    I am using Kaspersky Internet Security 2011 11.0.2.556.
    That is probably not the issue then. I've heard of some software's firewall programs causing issues with opening the hosts file. The only workaround I've found for people in your situation is to change the file through Safe Mode
      My Computer


  7. Posts : 21
    Windows 7
    Thread Starter
       #7

    Booting into Safe Mode to edit my hosts file actually worked! I should have thought of that! Thank you for all your help.
      My Computer


  8. Posts : 5,642
    Windows 10 Pro (x64)
       #8

    Could have just dragged the host file to your desktop edit it there, then moved it back....
      My Computer


  9. Posts : 21
    Windows 7
    Thread Starter
       #9

    logicearth said:
    Could have just dragged the host file to your desktop edit it there, then moved it back....
    I'll try that next time I need to edit my hosts file again! Thank you!
      My Computer


  10. Posts : 11,269
    Windows 7 Home Premium 64 Bit
       #10

    DudeOnFire said:
    logicearth said:
    Could have just dragged the host file to your desktop edit it there, then moved it back....
    I'll try that next time I need to edit my hosts file again! Thank you!
    I'm not sure that will work, but it is worth a try. Since you had access denied, you wouldn't have been able to move it, and copying it and then trying to move it back would have likely resulted in "Access is denied" when you tried to replace the file.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:59.
Find Us