Hello all,
Is there a way to automate a download of a changed lmhost file so all the
people who log into the network always has the most recent lmhost file so we
don't have to go to all the machines and download a new lmhost file when a
machine name changes?
Thanks,
Gale
Jetro - 23 Sep 2004 16:11 GMT
Distribute it thru the login script, but why don't you use WINS and DHCP
servers?
Gale Coleman - 23 Sep 2004 16:54 GMT
We do have DHCP running, but we have a program that only works if the IP
address is specific.
Gale
xe77 - 25 Sep 2004 05:05 GMT
Add a line into your login script to do this.
You may need to reboot for changes to take effect!
Make sure the logon user has rights to overwrite this file
or run it as the NT System account during startup.
E.g.
XCOPY \\servername\share\lmhosts
%SYSTEMROOT%\system32\drivers\etc\lmhosts /Y /R 2>
%systemroot%\login-errorlog.txt
WINS is a better way of tracking IP to Hostnames
automatically. It's is far more robust that using LMHOSTS.
Make sure you DHCP server informs the clients of the WINS
Server address. If you are using Windows 2000 Server you
can also specify that the Windows NT clients utilize DNS to
resolve host names as well.
>-----Original Message-----
>Hello all,
[quoted text clipped - 9 lines]
>
>.