"Unable to initialize Windows Sockets interface, error code 0" error message when you try to use one of the Microsoft TCP/IP-32 command line utilities in Windows for Workgroups

Article translations Article translations
Article ID: 131353 - View products that this article applies to.
This article was previously published under Q131353
Expand all | Collapse all

SYMPTOMS

When using one of the Microsoft TCP/IP-32 command line utilities (PING.EXE, FTP.EXE, etc.), the following error message appears:
Unable to initialize Windows Sockets interface, error code 0

CAUSE

This error occurs when WSOCK.386 is corrupted or not loaded in memory.

RESOLUTION

To correct this problem perform the following steps:

  1. Remove the TCP/IP protocol using the Network Setup icon.
  2. Exit Windows for Workgroups. From the command prompt, change to the Windows System subdirectory.
  3. Rename the file WSOCK.386 by typing the following command:
    REN WSOCK.386 WSOCK.BAD
  4. Restart your computer and start Windows for Workgroups. Re-add the TCP/IP protocol using the Network Setup icon and directing Setup to the location of your TCP/IP-32 files. Remove the TCP/IP protocol from Network Setup and then reinstall it. Answer "Yes to All" to replace existing files.

Properties

Article ID: 131353 - Last Review: October 7, 2004 - Revision: 2.1
APPLIES TO
  • Microsoft Windows for Workgroups 3.2
  • Microsoft TCP/IP-32 for Windows for Workgroups 1.0
Keywords: 
KB131353
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

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