Windows 10: Can't edit the hosts file

Discus and support Can't edit the hosts file in Windows 10 Gaming to solve the problem; I figured out a workaround: Go into Safe Mode. I was having issues with being unable to save changes because file was open in the system. There are... Discussion in 'Windows 10 Gaming' started by Anglebrandt, Nov 16, 2023.

  1. Can't edit the hosts file


    I figured out a workaround: Go into Safe Mode. I was having issues with being unable to save changes because file was open in the system. There are quite a few threads about this, all of them locked now, but none seem to mention trying Safe Mode. All the complicated talks of using resource monitors and administrator permissions didn't work for me. I don't know why the more obvious Safe Mode workaround isn't mentioned straight away, but I'm putting it here to save people heartache!

    :)
     
    Anglebrandt, Nov 16, 2023
    #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, Nov 16, 2023
    #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, Nov 16, 2023
    #3
  4. SOISK Win User

    Can't edit the 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, Nov 16, 2023
    #4
Thema:

Can't edit the hosts file

Loading...
  1. Can't edit the hosts file - Similar Threads - Can't edit hosts

  2. Can't edit the hosts file

    in Windows 10 Network and Sharing
    Can't edit the hosts file: I figured out a workaround: Go into Safe Mode. I was having issues with being unable to save changes because file was open in the system. There are quite a few threads about this, all of them locked now, but none seem to mention trying Safe Mode. All the complicated talks of...
  3. Can't edit the hosts file

    in Windows 10 Software and Apps
    Can't edit the hosts file: I figured out a workaround: Go into Safe Mode. I was having issues with being unable to save changes because file was open in the system. There are quite a few threads about this, all of them locked now, but none seem to mention trying Safe Mode. All the complicated talks of...
  4. How to edit hosts file in 2020?

    in Windows 10 Network and Sharing
    How to edit hosts file in 2020?: I used to be able to do this, but now nothing I knew to do works. The file in C:\Windows\System32\drivers\etc So what does one have to do now? https://answers.microsoft.com/en-us/windows/forum/all/how-to-edit-hosts-file-in-2020/6fbfab0d-f635-4083-b2fa-18eb4b1faec1
  5. I can't edit my hosts file anymore?

    in Windows 10 Ask Insider
    I can't edit my hosts file anymore?: I'm trying to redirect domains/IP's in my HOSTS file and I noticed the redirects no longer work. They were missing out of my HOSTS file. I put them back in the hosts file and then Microsoft tells me the hosts file contains a virus then it deletes my shit (or doesn't save it)...
  6. Editing and saving the Hosts file...

    in Windows 10 Network and Sharing
    Editing and saving the Hosts file...: PS i need help... I am able to edit the hosts file in "etc" folder but when i save it wants to replace the hosts file and save the file as a notepad document. I had ownership before, but i removed it hoping that will solve the issue but it didn't. What is worse is that i...
  7. Can't edit host file

    in Windows 10 Network and Sharing
    Can't edit host file: I can't edit the hosts file at all. I tried nearly all the solutions I found here, on Youtube and other sites and none of them worked, including the one on notepad and using cmd. I literally can't do anything with the file. I can't copy, I can't move to another location, I...
  8. Can't edit Hosts file

    in Windows 10 Network and Sharing
    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...
  9. 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...
  10. 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...