Page 1 of 1 1
Topic Options
#33950 - 2002-12-03 02:27 PM Adding WINS in 2000
Anonymous
Unregistered


Hi,
Can any one tell me what is wrong with this line??? After it executes, I check my WINS setting and fine the address, but after the address there is 2-3 line of garbage. I also ge the same results with bothe lines.
$result=writevalue('$HKLM\$SCCSS\NetBT\Parameters\Interfaces\Tcpip_$NicID','NameServerList','10.240.2.34','REG_MULTI_SZ')
$result=writevalue('$HKLM\$SCCSS\Tcpip\Parameters\Interfaces\$NicID2','SubnetMask','255.255.255.0','REG_MULTI_SZ')

Thanks

Top
#33951 - 2002-12-03 02:45 PM Re: Adding WINS in 2000
Addict Offline
Getting the hang of it

Registered: 2002-08-22
Posts: 62
Loc: Ohio, US
Well rather than going about it through the registry...
Have you looked into netsh?
Adding a WINS Entry
NETSH Usage & Switches

Hopefully that will get you in the right direction. The nice part is that it shouldn't require a reboot.

[ 03. December 2002, 14:45: Message edited by: Addict ]

Top
#33952 - 2002-12-03 03:09 PM Re: Adding WINS in 2000
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
swalker4159:

IIRC, I've pointed you to the CheckNICs - Checks a NIC for correct TCP/IP settings UDF on multiple occasions. Please tell me why you are unable to use this UDF. This UDF has been tested under Windows 2000, thus there wouldn't bee a need for you to write your own code.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1226 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.054 seconds in which 0.028 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org