Windows 10: Can't edit Hosts file

Discus and support Can't edit Hosts file in Windows 10 Network and Sharing to solve the problem; In the Path system32/Drivers/etc/hosts - the file does not show up but can be opened with win+r (notepad %windir%/system32/Drivers/etc/hosts). When i... Discussion in 'Windows 10 Network and Sharing' started by KingTarunjot, Aug 12, 2019.

  1. Can't edit Hosts file


    In the Path system32/Drivers/etc/hosts - the file does not show up but can be opened with win+r (notepad %windir%/system32/Drivers/etc/hosts). When i try to edit it i cant save it and when i try to replace it dosent give me permission. the host file has a bunch of video game cheating/hacking websites. i cant change permission and yes i have show hidden files on.

    Link to contents of hosts file: https://pastebin.com/rue6jxCM

    Laptop(dont think this will help tho): HP ProBook 430 G5

    OS name: Microsoft Windows 10 Pro Education

    If theres anything else you need pls reply so i can give you thanks Can't edit Hosts file :)

    Can't edit Hosts file 62de233e-b585-4d17-81b2-d9ef10522875?upload=true.png

    :)
     
    KingTarunjot, Aug 12, 2019
    #1

  2. Hosts file editing

    I have to jump in and say I use, and have used the host file for years. It's an easy way to take stress off of old name servers. I don't add everything, but major shares I do add to the host file. I've used the host file for some tunneling as well. I try to optimize my network as much as possible and I have a solid network. But Easy Rhino is right as well, you'll want to have everything he suggested as well. *Toast :toast:
     
    Mindweaver, Aug 12, 2019
    #2
  3. Unable to edit Hosts file

    Hi,

    We would like to ask how are you trying to edit the host file on your computer? Is there any chance that you are doing it via Notepad as administrator? If not, you can try doing the steps below:

    • Press the Windows key and search for Notepad.
    • Once Notepad is available, right-click and select Run as administrator.
    • In your Notepad, Click File > Open
      and search for the following file: c:\Windows\System32\Drivers\etc\hosts
    • You can edit the changes as normal
    • Click File > Save to save your changes.

    Let us know how it goes.
     
    Jarius Tol, Aug 12, 2019
    #3
  4. SOISK Win User

    Can't edit Hosts file

    Unable to edit Hosts file

    Step 1. Move file hosts from
    C:\Windows\System32\Drivers\etc\ to
    Desktop.

    Step 2. Edit (in Notepad)

    Step 3. Save your changes.

    Step 4. Move file hosts to C:\Windows\System32\Drivers\etc\

     
    SOISK, Aug 12, 2019
    #4
Thema:

Can't edit Hosts file

Loading...
  1. Can't edit Hosts file - Similar Threads - Can't edit Hosts

  2. Hosts file not editable after Kaspersky "desinfection"

    in AntiVirus, Firewalls and System Security
    Hosts file not editable after Kaspersky "desinfection": Although I had added the etc folder to my exclusions in my Internet Security settings, Kaspersky messed with my hosts file again. In Admin mode I cannot open it, even copy it to another location - always get the "no permission" message:...
  3. Hosts file not editable after Kaspersky "desinfection"

    in Windows 10 Support
    Hosts file not editable after Kaspersky "desinfection": Although I had added the etc folder to my exclusions in my Internet Security settings, Kaspersky messed with my hosts file again. In Admin mode I cannot open it, even copy it to another location - always get the "no permission" message:...
  4. Hosts edit

    in Windows 10 Network and Sharing
    Hosts edit: I saw a github post about hosts to prevent bad sites Here so i downloaded the file and copy pasted the entire thing to "hosts" and saved it using notepad on desktop and moved it to system32\drivers\etc\hosts and replaced the original.... Since then I'm not able to connect to...
  5. 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...
  6. Host file has strange characters. I can't add a host entry?

    in Windows 10 Network and Sharing
    Host file has strange characters. I can't add a host entry?: I was trying to enter a new host file on one of our remote user’s laptop and when I went to open the file it showed a bunch of Chinese symbols and wouldn’t let me do anything with it? I tried deleting it and then tried to build a new host file from scratch and the same thing...
  7. 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
  8. Unable to edit Hosts file, UAC Off

    in Windows 10 Support
    Unable to edit Hosts file, UAC Off: Hello, I am unable to edit root/system32/drivers/etc/hosts, even with UAC set to "Never Notify". I get access denied errors of different flavors when I attempt to make a new hosts file and replace it, attempt to edit the original and save over... none of my shenanigans appear...
  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