Windows 10: Hosts file

Discus and support Hosts file in Windows 10 Support to solve the problem; should the Hosts file be made read only ? 51243 Discussion in 'Windows 10 Support' started by tibot, May 23, 2016.

  1. tibot Win User

    Hosts file


    should the Hosts file be made read only ?

    :)
     
    tibot, May 23, 2016
    #1
  2. Spigolo Win User

    File Hosts permissions

    You're totally right ZigZag.

    This is the exact message I receive.

    Etc folder security properties show nothing set for Administrators group.

    Thank you.
     
    Spigolo, May 23, 2016
    #2
  3. File Hosts permissions

    I appreciate all the information.

    We suggest that you create a new user on the same computer to check if the issue will persist. If not, it's possible that the affected user account is corrupted. An SFC scan is recommended to
    help you scan for corruptions in Windows system files and restore corrupted files. To do this, click on this link

    Let us know how it goes.
     
    Jhessica Sur, May 23, 2016
    #3
  4. Hosts file

    It's been a long time since I've had to edit a host file, but I was under the impression that the file was read-only by default.
     
    DeaconFrost, May 23, 2016
    #4
  5. LMiller7 Win User
    The hosts file isn't read only in Windows 7 but can only be modified by an elevated admin account. I don't know about Windows 10. Making it read only might help to avoid accidental changes but that would seem unlikely in any event. Windows never changes the file after installation but some third party applications do.

    But as a security measure making a file read only is essentially useless. The setting does not actually prevent modification but only serves as an advisory that the file should not be modified. Windows Explorer honors this advisory but if a program wishes to modify the file it can simply ignore the setting and make whatever changes it wishes.

    I would simply leave the setting as it is.
     
    LMiller7, May 23, 2016
    #5
  6. tibot Win User
    Thanks guys will leave it alone.
     
    tibot, Apr 4, 2018
    #6
Thema:

Hosts file

Loading...
  1. Hosts file - Similar Threads - Hosts file

  2. Booting Last Known Good changes hosts file to old backup.

    in Windows 10 Gaming
    Booting Last Known Good changes hosts file to old backup.: I made a registry change jesterday which I had to get rid of by booting Last Known Good.Today I noticed that my hosts file was also resetted to a 2 years old one.Where are these stored so I can get my newest hosts file back?I already searched all folders and did only find a...
  3. Booting Last Known Good changes hosts file to old backup.

    in Windows 10 Software and Apps
    Booting Last Known Good changes hosts file to old backup.: I made a registry change jesterday which I had to get rid of by booting Last Known Good.Today I noticed that my hosts file was also resetted to a 2 years old one.Where are these stored so I can get my newest hosts file back?I already searched all folders and did only find a...
  4. Windows script Host error on start up for onenote vbs file.

    in Windows 10 Gaming
    Windows script Host error on start up for onenote vbs file.: On PC startup I have two pop ups for Windows Script error, it shows two missing files, ending in vbs.I have tried DISM and scan and have tried autoruns but they still appear every time I restart or turn on PC....
  5. Windows script Host error on start up for onenote vbs file.

    in Windows 10 Software and Apps
    Windows script Host error on start up for onenote vbs file.: On PC startup I have two pop ups for Windows Script error, it shows two missing files, ending in vbs.I have tried DISM and scan and have tried autoruns but they still appear every time I restart or turn on PC....
  6. Host file with multiple spaces between 127.0.0.1 and external host name dint work

    in Windows 10 Software and Apps
    Host file with multiple spaces between 127.0.0.1 and external host name dint work: Prior to 2023-11 Update for Windows 11 Version 23H2 for x64-based Systems KB4023057 updates which is was done 4 days ago, the same host file which is having multiple spaces between 127.0.0.1 and external host name.But soon after the mentioned windows update it is started...
  7. Host file with multiple spaces between 127.0.0.1 and external host name dint work

    in Windows 10 Gaming
    Host file with multiple spaces between 127.0.0.1 and external host name dint work: Prior to 2023-11 Update for Windows 11 Version 23H2 for x64-based Systems KB4023057 updates which is was done 4 days ago, the same host file which is having multiple spaces between 127.0.0.1 and external host name.But soon after the mentioned windows update it is started...
  8. "This action can't be completed because the file is open in Shell Infrastructure Host" when...

    in Windows 10 Network and Sharing
    "This action can't be completed because the file is open in Shell Infrastructure Host" when...: When I try to rename, delete, change the location of, or change anything about any file on my computer, I'm met with the prompt "This action can't be completed because the file is open in Shell Infrastructure Host". This has been going on for a couple weeks, it's always...
  9. "This action can't be completed because the file is open in Shell Infrastructure Host" when...

    in Windows 10 Software and Apps
    "This action can't be completed because the file is open in Shell Infrastructure Host" when...: When I try to rename, delete, change the location of, or change anything about any file on my computer, I'm met with the prompt "This action can't be completed because the file is open in Shell Infrastructure Host". This has been going on for a couple weeks, it's always...
  10. "This action can't be completed because the file is open in Shell Infrastructure Host" when...

    in Windows 10 Gaming
    "This action can't be completed because the file is open in Shell Infrastructure Host" when...: When I try to rename, delete, change the location of, or change anything about any file on my computer, I'm met with the prompt "This action can't be completed because the file is open in Shell Infrastructure Host". This has been going on for a couple weeks, it's always...