Remotely alter HOSTS file?

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...
3 answers Last reply
More about remotely alter hosts file
  1. 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...
  2. 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...
  3. 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...
Ask a new question

Read More

Policy Microsoft Active Directory Windows