LMHOSTS question

C

cbwilli

Hi all,

I'm having the following problem on a Windows 2000 Server.

The problem is that if I use the TCP/IP Properties GUI to import my
LMHOSTS file, the Netbios cache shows my LMHOSTS information and all
seems to work as expected. BUT, if I just put out the same LMHOSTS
file, import "EnableLMHOSTS"=dword:00000001 into the registry and
execute nbtstat -R, the cache is wiped out and not reloaded.

I would like to script this in order to be able to make this change on
other machines without visiting each one. Can someone please help me
understand what goes on under the hood when the "Import LMHOSTS" button
is clicked on the WINS tab?

Thanks in advance
Cory
 
C

cbwilli

No. Attempts at command line install was made on Windows 2000
Professional and Server.

Concerning Adam's answer, I'm pretty sure I tried reboots, but it seems
that the Netbios cache did not contain the lmhosts entries.

I've been diverted to other tasks, but I will try to post when I get a
better solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top