Re: What Would Deactivate Hosts File?



I solved this problem, and I'll post how for posterity, but I would be
interested in anyone's theories about why this works. It almost looks like
a bug or misfeature to me.

We had modified the default ACL on c:\windows\system32\drivers\etc to
exclude the Users group. If you give Users read and execute access, and
then reboot (it will not work until you reboot), then hosts mysteriously
starts working. Note that before and after the reboot I am logged in as
local administrator. And the folder always had Full Control access for
Administrators and SYSTEM, so it cannot be the case that giving Users access
suddenly gave applications in my user context access, since they must have
had read access to HOSTS before the ACL change.

What surprises me about this is that I would have thought HOSTS was
implemented in the driver or somewhere in the kernel, not in each individual
user application. If that is the case, then why would read access to the
Users group affect this feature, which should be implemented by a SYSTEM
entity? It's almost like the code that runs at SYSTEM level did an ACL
check, and after it saw that Users did not have access, it bypassed the
feature. That seems like wrong behavior.

Note that the local Users group did NOT have Authenticated Users in it, just
Domain Users.

--
Will


"Will" <westes-usc@xxxxxxxxxxxxxx> wrote in message
news:R6ydnZBeY6ceVQDYnZ2dnUVZ_oipnZ2d@xxxxxxxxxxxxxxx
On one of our Windows 2003 servers, the HOSTS file is not active. No
changes made to the c:\windows\system32\drivers\etc\hosts file are ever
active, even after a reboot. Is there some registry setting or group
policy that would be deactivating that feature?

--
Will




.



Relevant Pages

  • Re: connecting to 1.0.0.0
    ... Do a Find Files on your system for a file called Hosts (no extension). ... reboot and see if that fixes your problem. ... "The Page Cannot Be Displayed" Error Message When You Try to Start Internet ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Xbox media extender installation problem
    ... Uninstall the Media Center Exteder software on the MCE PC. ... Reboot. ... > Failed to create MCRD Users Group. ...
    (microsoft.public.windows.mediacenter)
  • Re: Exception Code=C0000090
    ... P> Exception Code=C0000090 but some machines will get reboot. ... one machine can run the specific feature without any problem. ...
    (microsoft.public.fox.helpwanted)
  • RE: Some Image Links not displaying
    ... No, Leave the Hosts.SAM alone please, just the one called Hosts and when you ... Rename this to Hosts.Old and Reboot, if it will solve the issue then you ... First, try to clean up your caches, Internet files and delete cookies ... regsvr32 SOFTPUB.DLL ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Office Shortcut bar
    ... > feature is not opening when I reboot. ... > find it in Microsoft Office Tools and activate it each time I reboot. ... try creating the appropriate shortcut in your Startup ...
    (microsoft.public.office.misc)

Loading