Microsoft KB Archive/288133

= Error Message: Unable to Initialize Windows Sockets Interface =

Article ID: 288133

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows 98 Second Edition
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q288133



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
After you upgrade from Windows 95 to Windows 98, you may receive the following error message when you try to use the Ping utility:

Unable to Initialize Windows Sockets Interface



CAUSE
This behavior can occur when the Winsock2 files have been damaged or replaced by third-party programs.



RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this behavior:  Locate the following files: Winsock.dll

Wsock32.dll

Wsock32n.dll

Then:  For each file, right-click it, and then click Rename. Type a file name with the .old extension, for example, winsock.old, and then press ENTER.  Extract the preceding files using the System File Checker (SFC) tool from the Windows 98 CD-ROM:  Click Start, and then click Run.</li> In the Open box, type: sfc .</li> Select the Extract one file from the installation disk option.</li> Type in the name of the file (for example, winsock.dll) that you want to extract, and then click Start.</li> Specify the location of the installation files if it is not automatically selected. You may also need to specify the folder to which the file needs to be copied. The Winsock.dll file is placed in the Windows folder. Both the Wsock32.dll and Wsock32n.dll files are placed in the Windows\System folder.</li></ol> </li> By means of Regedit, locate and click the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2

Then:  Click Start, and then click Run.</li> In the Open box, type: regedit .</li> In the left pane, locate the previously mentioned key.</li> Left-click the key to select it.</li> Click Registry from the menu, and then select the Export Registry Key option. You must specify a location to store and a name for the key that is to be exported.</li> With the key still selected, press DELETE to delete the selected registry key.</li> Close Registry Editor.</li></ol> </li> Remove the Transmission Control Protocol (TCP/IP) and Dial-up Networking (DUN) files by using the following article:

181599 How to Remove and Reinstall Dial-Up Networking and TCP/IP Files

</li> Restart the system.</li> <li>Reinstall the DUN and TCP/IP files.</li></ol>

Additional query words: ping inet winsock kberrmsg sockets

Keywords: kbprb kbwinsock KB288133

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.