Security issues (Access Denied)

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 1,326
    Windows 7 Ultimate RTM (Technet)
       #11

    CrazyAwesome said:
    The owner is my PC and my only account. The copy of the hosts file, I compared all the security settings side by side. They are identical. Yet one I can edit and one I can't.
    Try going to c:\windows\system32\drivers\etc at a command prompt and type

    attrib hosts

    does it show as below?

    R C:\Windows\System32\drivers\etc\hosts
      My Computer


  2. Posts : 9
    Win7
    Thread Starter
       #12

    It says
    A C:\Windows\System32\drivers\etc\hosts
      My Computer


  3. Posts : 1,326
    Windows 7 Ultimate RTM (Technet)
       #13

    I'm stumped. By default, the owner is "System" and read-only is set. I just unset my read only and made a change. No prompts for anything related to permissions.

    Did you try using the Administrator account?
      My Computer


  4. Posts : 9
    Win7
    Thread Starter
       #14

    The account I'm using is the only account on the pc. When I installed Win7 months ago, I just entered my name and thats it. Not other accounts present. Really appreciating all the help.
    But im also stumped. Every guide I've seen online tells me just running notepad as admin will work. Yet it doesnt. Nothing works.
      My Computer


  5. Posts : 1,426
    7 Pro
       #15

    Almost sounds like you're logged in using a temp account
      My Computer


  6. Posts : 9
    Win7
    Thread Starter
       #16

    Well I surrender. I rebooted the computer and hey presto. I can now edit the file no problem. WTF
    Many thanks for everyones input.
    The most annoying part is I already tried rebooting once already and it didnt make a difference.
    Another Windows mystery.
      My Computer


  7. Posts : 1,326
    Windows 7 Ultimate RTM (Technet)
       #17

    Just a note, the Administrator account is there, but disabled by default. You have to go in and enable it to use it. Glad you got it sorted!
      My Computer


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

    All of this could have been avoided if you just dragged "hosts" from the directory it is in to your desktop, edit the file, then drag it back to the folder it was in. I've done this a dozen times and works every single time.
      My Computer


  9. Posts : 33
    Windows 7 Ultimate 64bit
       #19

    To edit the host file I have always ran notepad or notepad++ with elevated admin permissions.
    Then opened the host file "C:\Windows\System32\drivers\etc\hosts" made changes then saved.
      My Computer


  10. Posts : 1
    windows 7 ultimate 32bit
       #20

    Had the same problem
      My Computer


 
Page 2 of 3 FirstFirst 123 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 05:36.
Find Us