The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
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?
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.
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
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!
I noticed last week after a round of updates that all of my registry hacks for right-click context menus on certain file types are gone. A quick attempt to restore them has failed...not enough time to dig deeper at the moment.
Examples: 0: Right click on a .mdb file should allow me to set ODBC paths for one of three programs. 1: Right click on a .bak file should allow me to start my SQL Restore utility.
I use these at least a dozen times a day, but Mickeysoft decided I didn't need them I guess!