Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Kakakuona Forum

  1. Home
  2. General Discussion
  3. Editing C:\Windows\System32\drivers\etc\hosts and Windows still says you need admin permission

Editing C:\Windows\System32\drivers\etc\hosts and Windows still says you need admin permission

Scheduled Pinned Locked Moved General Discussion
1 Posts 1 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lafesa
    wrote last edited by
    #1

    Fix permissions (only if ownership/ACLs got messed up)

    This restores Admin control (do this only if normal admin methods fail).

    Open CMD as Administrator, then run:

    takeown /f C:\Windows\System32\drivers\etc\hosts
    icacls C:\Windows\System32\drivers\etc\hosts /grant Administrators:F
    
    1 Reply Last reply
    0

    • Login

    • Don't have an account? Register

    Powered by NodeBB Contributors
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups