Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/170619

From BetaArchive Wiki

Windows 95 ServiceProvider Priority Values Not Applied

Q170619



The information in this article applies to:


  • Microsoft Windows 95
  • Microsoft Windows 95 OEM Service Release, versions 1, 2, 2.1



IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.


SYMPTOMS

When you configure the ServiceProvider Priority values in the registry to modify the DNS search order, the search order may not seem to be changed.



CAUSE

A ServiceProvider registry key exists (with associated registry values) at the following registry location:

   HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP\ 
   ServiceProvider 

However, the Winsock code incorrectly references the ServiceProvider registry key at the following location:

   HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSTCP\ 
   ServiceProvider 



RESOLUTION

To resolve this issue, use either of the following methods:

Method 1

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

NOTE: For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry.

Create the registry key being referenced by Winsock. To do so, use the following steps:

  1. Use Regedit.exe to open the following location:

          HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services 
  2. On the Edit menu, point to New, and then click Key. Name the new key MSTCP.
  3. Click the new MSTCP key, point to New on the Edit menu, and then click Key. Name the new key ServiceProvider. The registry path should look like this:

          HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSTCP\ 
          ServiceProvider 
  4. Click the new ServiceProvider key, point to New on the Edit menu, and then click Binary Value. Create the following new binary values:

        - DnsPriority
        - LocalPriority
        - HostsPriority
        - NetbtPriority. 
  5. Set the priority values as appropriate.

Method 2

This issue is resolved by the following updated file for Windows 95 and OSR2, and later versions of this file:

   WSOCK32.DLL  version 4.00.1112  dated 05/13/1997  66,560 bytes 

A version of this file that resolves this problem is included in the Windows Sockets 2.0 update for Windows 95. For information about obtaining this update, see the following article in the Microsoft Knowledge Base:

Q182108 Availability of Windows Sockets 2.0 for Windows 95



STATUS

Microsoft has confirmed this to be a problem in Microsoft Windows 95 and OEM Service Release 2 (OSR2). An update to address this problem is now available, but is not fully regression tested and should be applied only to computers experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft does not recommend implementing this update at this time. Contact Microsoft Technical Support for additional information about the availability of this update.

This issue is resolved in Microsoft Windows 98.



MORE INFORMATION

For additional information, see the following articles in the Microsoft Knowledge Base:

Q158474 Windows TCP/IP Registry Entries

Q139270 How to Change Name Resolution Order on Windows 95 and Windows NT


For additional information about issues resolved by updates to this component, please see the following articles in the Microsoft Knowledge Base:

Q169035 Windows 95 WinSock Update to Improve Multihoming Support


Q163329 Fatal Exception 0E in WSIPX Using Windows Sockets Program

Q157944 Domain Name Service in DUN Connection Does Not Work

Q157930 Multiple DNS Server Addresses Not Assigned Properly with DHCP

Q141211 Memory Leak with Multithreaded Winsock Programs


For additional information about Windows 95 updates, please see the following article in the Microsoft Knowledge Base:

Q161020 Implementing Windows 95 Updates

Additional query words:

Keywords : kbnetwork osr1 osr2 win95
Issue type : kbprb
Technology : kbWin95search kbOPKSearch kbWin95 kbWin95OPKOSR2 kbWin95OPKOSR1 kbWin95OPKOSR210


Last Reviewed: January 31, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.