**DONOTDELETE**
(Lurker)
2002-12-05 07:12 AM
Adding WINS

How can I add WINS servers during logon in 9X??
I add them with $result=WriteValue('$HKLM\$SCCSS\VxD\MSTCP',"NameServer1", "168.112.80.99", "REG_SZ")
$result=WriteValue('$HKLM\$SCCSS\VxD\MSTCP',"NameServer2", "10.240.2.41", "REG_SZ") but they do not display in the WINS tab.
Thanks


LonkeroAdministrator
(KiX Master Guru)
2002-12-05 07:16 AM
Re: Adding WINS

well, can you add them after logon?
if yes, check Sequence of events during logon as a start place.

if not, then have to ask, how did you come up with that code?


**DONOTDELETE**
(Lurker)
2002-12-05 07:27 AM
Re: Adding WINS

Creative thinking, as you can see I am green. The problem we have is to change the WINS servers on a large number of 95WS due to a migration of networks and the WINS servers addresses are not going to be available after the move and we do not have the time to visit each station

LonkeroAdministrator
(KiX Master Guru)
2002-12-05 08:56 AM
Re: Adding WINS

so, to get the correct way for the change, dump your registry to file, do the change and dump into another file.
issue:
fc before.reg after.reg

on the commandline to see what has changed.
or, STFW.

I can't help you in anyway with win9x as don't have any in our lan.


Les
(KiX Master)
2002-12-05 02:51 PM
Re: Adding WINS

How about DHCP? I changed all my WINS entries with DHCP.

Sealeopard
(KiX Master)
2002-12-05 03:00 PM
Re: Adding WINS

Swalker: I have to ask you again. What is wrong with using the CheckNICs() UDF? I've referenced this UDF a couple of times already and every time you come back asking more questions. Have you even given this UDF a try to see whether it fits your bill?