Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows NT / Setup / September 2004

Tip: Looking for answers? Try searching our database.

Automate an LMhost file download

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gale Coleman - 23 Sep 2004 15:56 GMT
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]
>
>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.