PDA

View Full Version : Enabling WINS



AMIR
12-05-2001, 06:36 PM
Hi,

I have some question about TCP/IP. How can I enable WINS Resolution in registry, for PC running Win95 or Win98?

Thank You,

Ujang Jolobu

POBrien
12-06-2001, 12:10 AM
I went to my nic card tcp/ip stack and enabled Wins. I gave it an ip of 111.112.113.114 saved the changes and was prompted to reboot. I did. I searched the reg and found the ip address and the enable/disable option in...

REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Class\NetTrans\0000]
"DriverDesc"="TCP/IP"
"InfSection"="MSTCP.ndi"
"IPAddress"="63.205.228.76"
"IPMask"="255.255.255.0"
"DeviceVxDs"="vtdi.386,vip.386,vtcp.386,vdhcp.386,vnbt.386"
"InstallVnbt"="0"
"InfPath"="NETTRANS.INF"
"ProviderName"="Microsoft"
"DriverDate"=" 5-11-1998"
"DevLoader"="*ndis"
"NodeType"="8"
"DefaultGateway"="63.205.228.254"
"NameServer1"="111.112.113.114"

Windows by default created the value "NameServer1"="

What enables/disables Wins is the Node type value data.

"NodeType"="8"

8 = Wins enabled
1= Wins disabled

Notice the subkey is 0000. This causes a dilemma because you may have more than one internet connection on the same pc (dun/vpn etc..). Hence you may have additional subkeys named 0001, 0002 and so on. Not all pc's match with the same subkey. So in your login script you could run a reg file with common entries.

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Class\NetTrans\0000]
"NameServer1"="111.112.113.114"
"NodeType"="8"


[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Class\NetTrans\0001]
"NameServer1"="111.112.113.114"
"NodeType"="8"


[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Class\NetTrans\0002]
"NameServer1"="111.112.113.114"
"NodeType"="8"


[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Class\NetTrans\0003]
"NameServer1"="111.112.113.114"
"NodeType"="8"

3 or 4 subkey entries should cover it.

AMIR
12-07-2001, 10:12 AM
Thanks POBrien, I will find it out, tonight...

Ujang Jolobu

POBrien
12-07-2001, 05:03 PM
welcome

AMIR
12-09-2001, 10:32 AM
Yes!, Its work. But for Win95 only. I Try the same method for Win98 but failed. I check if there is any changes in SYSTEM.ini/Win.ini but nothing. Is this what they call Windows System-Wide Architecture??

Thanks Guys,

Ujang Jolobu

AMIR
12-09-2001, 06:23 PM
I got it...
For Windows 98, just add :-

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\VxD\MSTCP]
"ScopeID"=""

Thanks

Ujang Jolobu

POBrien
12-09-2001, 06:31 PM
Hey Ujang,

Thanks for posting back. My posting came from win98. I don't know why you had to add the scope id value. Im glad you figured it out.