Sign in with
Sign up | Sign in
Your question

Remotely alter HOSTS file?

Last response: in Windows 2000/NT
Share
Anonymous
February 14, 2005 10:55:05 AM

Archived from groups: microsoft.public.win2000.active_directory (More info?)

Does anyone know if it is possible to remotely alter the entries in the HOSTS
file on users machines, either using scripting or preferably some kind of AD
policy?

Thanks in advance...
Anonymous
February 14, 2005 2:51:44 PM

Archived from groups: microsoft.public.win2000.active_directory (More info?)

"A Young" <AYoung@discussions.microsoft.com> wrote in message
news:2B70FDE7-AE17-40BE-9F55-8299F51239D5@microsoft.com...
> Does anyone know if it is possible to remotely alter the entries in the
HOSTS
> file on users machines, either using scripting or preferably some kind of
AD
> policy?

Sure it is possible.

Simon's idea of using a Logon script is pretty good,
but might be improved by using instead a Startup script
(in most cases.)

Unless you have some idiosyncratic situation, it isn't
generally that useful to use Hosts files for dynamic
name resolution though -- that is what DNS does.

Are you trying to distribute hosts files in a blocking,
or some similar, attempt?

Notice that many anti-virus/trojans/hijack tools are
PROTECTING the hosts file so you may have to fight
for control if you are using any of these.

--
Herb Martin


>
> Thanks in advance...
Anonymous
February 14, 2005 4:04:48 PM

Archived from groups: microsoft.public.win2000.active_directory (More info?)

Why are you using hosts files?
You are going to have to use a script, either login script via user profile
or gpo for machine startup script.


--
BRIAN EDWARDO
"A Young" <AYoung@discussions.microsoft.com> wrote in message
news:2B70FDE7-AE17-40BE-9F55-8299F51239D5@microsoft.com...
> Does anyone know if it is possible to remotely alter the entries in the
> HOSTS
> file on users machines, either using scripting or preferably some kind of
> AD
> policy?
>
> Thanks in advance...
February 14, 2005 7:07:22 PM

Archived from groups: microsoft.public.win2000.active_directory (More info?)

Why not use a logon script to delete the old Hosts file and copy the new
version from a shared location?

Rgds, Simon.

"A Young" <AYoung@discussions.microsoft.com> wrote in message
news:2B70FDE7-AE17-40BE-9F55-8299F51239D5@microsoft.com...
> Does anyone know if it is possible to remotely alter the entries in the
> HOSTS
> file on users machines, either using scripting or preferably some kind of
> AD
> policy?
>
> Thanks in advance...
!