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.
  • L Lost User

    I help manage my accountant's network for his place of business and sometimes I have to install new accounting software for him. Last weekend I attempted to install an application that required SQL Server 2014 Express on his file server, but ended up with problems during the install. I had to install it on a new server that wasn't apart of the DNS yet, so for a short term fix, I edited his hosts file on his workstation (Windows 10). It will be this weekend before I can fix the DNS, so the hosts file should work fine until then. Microsoft, in their infinite wisdom, performs an update to his workstation. The update deletes the hosts file and blocks access to the directory where it had resided. The administrator account no longer has access. This being on a Tuesday, I had no time to go and try to fix it, so he's out of luck until Saturday. Why would Microsoft do that? :mad::mad::mad: I'm thinking at this point to recommend he roll back all of his workstations to Windows 7. Windows 10 has become a plague.

    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.

    P Offline
    P Offline
    Philippe Mori
    wrote on last edited by
    #14

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

    Philippe Mori

    M D 2 Replies Last reply
    0
    • L Lost User

      Tried that. Error comes up says "Access denied." :mad:

      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.

      M Offline
      M Offline
      Mark_Wallace
      wrote on last edited by
      #15

      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 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

        M Offline
        M Offline
        Mark_Wallace
        wrote on last edited by
        #16

        You really shouldn't support such behaviour from a foreign corporation. What it shows is that they can, and are willing to, screw with high-level security settings of any computer they want to, no matter where in the world it is. That ability should not be tolerated.

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

        1 Reply Last reply
        0
        • L Lost User

          Tried that. Error comes up says "Access denied." :mad:

          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.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #17

          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 1 Reply Last reply
          0
          • L Lost User

            Tried that. Error comes up says "Access denied." :mad:

            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.

            W Offline
            W Offline
            W Balboos GHB
            wrote on last edited by
            #18

            Boot (from a floppy?) into DOS and try editing it then.

            Ravings en masse^

            "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

            "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

            1 Reply Last reply
            0
            • Richard DeemingR Richard Deeming

              Is it just for access to SQL? If so, an alias[^] might work.


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

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

              No, the access is denied to the C:\Windows\System32\Drivers\etc folder. Really strange.

              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
              • M Mladen Jankovic

                Have you tired taking ownership of the file?

                GeoGame for Windows Phone | The Lounge Explained In 5 Minutes

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

                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 1 Reply Last reply
                0
                • 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