Microsoft did it again.
-
Then report the problem to Microsoft... They probably delete the file to stop some attacks that target that file...
Philippe Mori
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!
-
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.
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 -
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.
Boot (from a floppy?) into DOS and try editing it then.
"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
-
-
Have you tired taking ownership of the file?
GeoGame for Windows Phone | The Lounge Explained In 5 Minutes
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.
-
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!
-
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 -
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 -
Then report the problem to Microsoft... They probably delete the file to stop some attacks that target that file...
Philippe Mori
-
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.
Take ownership of its directory?
Follow my adventures with .NET Core at my new blog, Erisia Information Services.