Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Microsoft did it again.

Microsoft did it again.

Scheduled Pinned Locked Moved The Lounge
sysadminhelpdatabasesql-serverbusiness
25 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Mark_Wallace

    Right-click the file, and give yourself full permissions (there may be a "Take Ownership" option, but, if necessary, go into the file's Properties window and click through to where you can change or disable permission inheritance on the file for your user name/type -- I think it's Properties > Security > Advanced, but I'm not on winio, here). They must have done this for one of three reasons: 0: Because something they have changed in the OS has stuffed up the ability to use a hosts file. 1: Because modifying the hosts file is one of the ways used to prevent forced updates. 2: Because they've made a deal with advertising companies. Under normal circumstances, I'd assume it's not option 1, because the hosts file deletion is part of an update, which means that updates aren't blocked -- but it's present-day ms we're talking about; God only knows what illogical lunacy goes through their addled brains, these days (and even He's not sure). One thing that is absolutely certain is that they have no right whatsoever to interfere with the owner-added content of hosts files. That is company-admin-level security; they should keep their noses out and their hands off.

    I wanna be a eunuchs developer! Pass me a bread knife!

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #21

    Good idea Mark, I'll try that. :thumbsup:

    When you are dead, you won't even know that you are dead. It's a pain only felt by others. Same thing when you are stupid.

    1 Reply Last reply
    0
    • D Dave Kreskowiak

      That's really odd because it works fine for me on both pre- and post-Anniversary update installs of Win10.

      A guide to posting questions on CodeProject

      Click this: Asking questions is a skill. Seriously, do it.
      Dave Kreskowiak

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #22

      Not sure why it happened. Even if it is a screw up on Microsoft's part, it shouldn't have happened.

      When you are dead, you won't even know that you are dead. It's a pain only felt by others. Same thing when you are stupid.

      1 Reply Last reply
      0
      • realJSOPR realJSOP

        Win7 will remain on my machine until I retire, and then I'll move to Linux. I use my HOSTS file to redirect ad sites to 0.0.0.0.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #23

        Ditto here also. I have a friend who's been coding windows software for decades. He told me the other day he's had enough of MS - he's just bought himself a mac and he's moving to Swift. I can't blame him.

        1 Reply Last reply
        0
        • P Philippe Mori

          Then report the problem to Microsoft... They probably delete the file to stop some attacks that target that file...

          Philippe Mori

          D Offline
          D Offline
          dandy72
          wrote on last edited by
          #24

          If they did that they'd be breaking tons of systems. I highly doubt removing the hosts file is part of an update--whether intentionally or not.

          1 Reply Last reply
          0
          • L Lost User

            The file no longer exists. It was deleted from the drivers\etc folder. I had a backup copy of it and tried to put it back. I tried creating a new one with no luck even as administrator.

            When you are dead, you won't even know that you are dead. It's a pain only felt by others. Same thing when you are stupid.

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #25

            Take ownership of its directory?

            Follow my adventures with .NET Core at my new blog, Erisia Information Services.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups