Windows 95 ServiceProvider Priority Values Not Applied

Article translations Article translations
Article ID: 170619 - View products that this article applies to.
This article was previously published under Q170619
This article has been archived. It is offered "as is" and will no longer be updated.
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.
Expand all | Collapse all


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.


A ServiceProvider registry key exists (with associated registry values) at the following registry location:
However, the Winsock code incorrectly references the ServiceProvider registry key at the following location:


To workaround this issue, use the following steps: 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:
  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:
  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.


This problem no longer occurs in Windows 98. To resolve this problem, install the current version of Windows. For information about the current version of Windows, visit


For additional information, see the following articles in the Microsoft Knowledge Base:
158474 Windows TCP/IP Registry Entries
139270 How to Change Name Resolution Order on Windows 95 and Windows NT


Article ID: 170619 - Last Review: October 7, 2013 - Revision: 1.1
  • Microsoft Windows 95
  • Microsoft Windows 95
  • Microsoft Windows 95
  • Microsoft Windows 95
kbnosurvey kbarchive kbnetwork kbprb KB170619

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from