Microsoft KB Archive/181599

From BetaArchive Wiki
Knowledge Base


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

Article ID: 181599

Article Last Modified on 1/22/2007



APPLIES TO

  • Microsoft Windows 95
  • Microsoft Windows 98 Standard Edition



This article was previously published under Q181599

NOTE: The steps in this article do NOT apply to Microsoft Windows Millennium Edition (Me) and should not be performed on a Windows Me computer.

SUMMARY

This article describes how to remove and reinstall Dial-Up Networking and Transport Control Protocol/Internet Protocol (TCP/IP). These steps may be necessary under the following conditions:

  • You are unable to connect to a remote computer, remote network, or the Internet using TCP/IP bound to a dial-up adapter.
  • You have verified the accuracy of your TCP/IP settings.
  • You have verified your modem is functioning correctly.


MORE INFORMATION

To remove and reinstall Dial-Up Networking and TCP/IP, use the following steps:

NOTE: You should have your original Windows CD-ROM or disks available before beginning these steps. Also, if the Rna.inf file is not re-extracted correctly, the option to reinstall DUN is not available in Windows Setup. Because of this, you must re-extract the Rna.inf file to the INF folder.

  1. Record the configuration information for each connection in the Dial-Up Networking folder. To do so, use the following steps:
    1. Double-click My Computer, and then double-click Dial-Up Networking.
    2. Right-click a connection, click Properties, and then record all of the settings including the TCP/IP information. Repeat this process with another connection until you have recorded all of your connection's configuration information.
  2. If the Dial-Up Networking 1.2 or 1.3 Update is installed, uninstall it. If it is not installed, continue to the next step. To uninstall the Dial-Up Networking 1.2 or 1.3 Update, use the following steps:
    1. Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.
    2. On the Install/Uninstall tab, click Dial-Up Networking Upgrade 1.2 (or 1.3), and then click Add/Remove.
    3. When you are prompted to remove the update, click Yes, and then click OK.
  3. Delete all of your connections from the Dial-Up Networking folder. To do so, right-click a connection, and then click Delete. Repeat this process with another connection until you have deleted all of your connections, and then close the Dial-Up Networking folder.
  4. In Network properties, record each component and its configuration information:
    1. Click Start, point to Settings, click Control Panel, and then double-click Network.
    2. Click a component on the Configuration tab, click Properties, and then record all of the component's settings. Repeat this process with another component until you have recorded all of your component's configuration information.

    NOTE: Make sure that you have the required disks to reinstall any third-party items before you remove them in Network properties.

  5. Remove all of the network components from Network properties. To do so, click a component on the Configuration tab, and then click Remove. Repeat this process until you have deleted all of the network components from Network properties, click OK, and then click Yes when you are prompted to restart your computer.
  6. Uninstall Dial-Up Networking. To do so, follow these steps:
    1. Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.
    2. Click the Windows Setup tab, click Communications (the word Communications, not the checkbox), click Details, and then click the Dial-Up Networking check box to clear it.
    3. Click OK, click Apply, click OK, and then click Yes when you are prompted to restart your computer.
  7. Restart your computer to a command prompt. To do so, click Start, click Shut Down, click Restart, and then click OK. Press F8 for Windows 95 (or CTRL key for Windows 98), choose Command Prompt Only, and then press ENTER.
  8. At the command prompt, type the following commands, pressing ENTER after each command:NOTE: You can create a batch (.bat) file by copying and pasting all of the following commands into Notepad, saving it as "tcp.bat" (for example ) and then run this file at the command prompt to help automate this step.

    cd\windows
    ren winsock.dll winsock.old
    cd\windows\system
    ren rnaapp.exe rnaapp.eex
    ren splitter.vxd splitter.dxv
    ren vgateway.vxd vgateway.dxv
    ren pppmac.vxd pppmac.dxv
    ren wsock.vxd wsock.dxv
    ren spap.vxd spap.dxv
    ren rnasetup.dll rnasetup.lld
    ren rnathunk.dll rnathunk.lld
    ren rasapi16.dll rasapi16.lld
    ren rasapi32.dll rasapi32.lld
    ren smmscrpt.dll smmscrpt.lld
    ren smmsetup.dll smmsetup.lld
    ren rnaserv.dll rnaserv.lld
    ren wsock32.dll wsock32.lld
    ren rnaui.dll rnaui.lld
    ren rnanp.dll rnanp.lld
    ren rnaph.dll rnaph.lld
    ren vdhcp.386 vdhcp.683
    ren vnbt.386 vnbt.683
    ren vtcp.386 vtcp.683
    ren vtdi.386 vtdi.683
    ren vudp.386 vudp.683
    ren vip.386 vip.683
    cd\
    cd progra~1\access~1
    ren slipmenu.scp slipmenu.old
    ren slip.scp slip.old
    cd\
    cd windows\inf
    ren netcli.inf netcli.fni
    ren netservr.inf netservr.fni
    ren net.inf net.fni
    ren nettrans.inf nettrans.fni
    ren netppp.inf netppp.fni
    ren rna.inf rna.fni
    ren drvdata.bin drvdata.old
    ren drvidx.bin drvidx.old



    For Windows 98 only, include the renaming of these additional Winsock2 files:

    cd\windows\system
    ren msafd.dll msafd.lld
    ren mswsock.dll mswsock.lld
    ren mswsosp.dll mswsosp.lld
    ren ws2help.dll ws2help.lld
    ren ws2thk.dll ws2thk.lld
    ren rnr20.dll rnr20.lld
    ren ws2_32.dll ws2_32.lld
    ren wsasrv.exe wsasrv.eex
    ren afvxd.vxd afvxd.dxv
    ren ndis.vxd ndis.dxv
    ren wshtcp.vxd wshtcp.dxv
    ren wsipx.vxd wsipx.dxv
    ren wsock2.vxd wsock2.dxv

    NOTE: Some of these files may not be present.

  9. Restart your computer to a command prompt, and then extract the files in the following table from your original Windows disks or CD-ROM to the following folders.

    File Folder
    Rasapi32.dll Windows\System
    Wsock32.dll Windows\System
    Rnasetup.dll Windows\System
    Netcli.inf Windows\Inf
    Netservr.inf Windows\Inf
    Net.inf Windows\Inf
    Nettrans.inf Windows\Inf
    Netppp.inf Windows\Inf
    Rna.inf Windows\Inf
    Winsock.dll Windows

    For information about how to extract a file, see the following article in the Microsoft Knowledge Base:

    129605 How to Extract Original Compressed Windows Files

    For information about which cabinet files contain the files you want to extract, please see the following articles in the Microsoft Knowledge Base:

    135540 Windows 95 CD-ROM Directory Listing (1 of 5)

    135537 Windows 95 CD-ROM Directory Listing (2 of 5)

    135538 Windows 95 CD-ROM Directory Listing (3 of 5)

    135539 Windows 95 CD-ROM Directory Listing (4 of 5)

    135541 Windows 95 CD-ROM Directory Listing (5 of 5)

    188428 Windows 98 CD-ROM Directory Listing (1 of 14)

    188429 Windows 98 CD-ROM Directory Listing (2 of 14)

    188430 Windows 98 CD-ROM Directory Listing (3 of 14)

    188431 Windows 98 CD-ROM Directory Listing (4 of 14)

    188432 Windows 98 CD-ROM Directory Listing (5 of 14)

    188433 Windows 98 CD-ROM Directory Listing (6 of 14)

    188434 Windows 98 CD-ROM Directory Listing (7 of 14)

    188435 Windows 98 CD-ROM Directory Listing (8 of 14)

    188436 Windows 98 CD-ROM Directory Listing (9 of 14)

    188437 Windows 98 CD-ROM Directory Listing (10 of 14)

    188438 Windows 98 CD-ROM Directory Listing (11 of 14)

    188439 Windows 98 CD-ROM Directory Listing (12 of 14)

    188440 Windows 98 CD-ROM Directory Listing (13 of 14)

    189503 Windows 98 CD-ROM Directory Listing (14 of 14)

    238664 Windows 98 Second Edition CD-ROM Directory Listing (1 of 14)

    238666 Windows 98 Second Edition CD-ROM Directory Listing (2 of 14)

    238668 Windows 98 Second Edition CD-ROM Directory Listing (3 of 14)

    238728 Windows 98 Second Edition CD-ROM Directory Listing (4 of 14)

    238729 Windows 98 Second Edition CD-ROM Directory Listing (5 of 14)

    238730 Windows 98 Second Edition CD-ROM Directory Listing (6 of 14)

    238749 Windows 98 Second Edition CD-ROM Directory Listing (7 of 14)

    238767 Windows 98 Second Edition CD-ROM Directory Listing (8 of 14)

    238771 Windows 98 Second Edition CD-ROM Directory Listing (9 of 14)

    238775 Windows 98 Second Edition CD-ROM Directory Listing (10 of 14)

    238809 Windows 98 Second Edition CD-ROM Directory Listing (11 of 14)

    238811 Windows 98 Second Edition CD-ROM Directory Listing (12 of 14)

    238813 Windows 98 Second Edition CD-ROM Directory Listing (13 of 14)

    239011 Windows 98 Second Edition CD-ROM Directory Listing (14 of 14)


    NOTE: The following table displays the location of several files.

       +-------------------------------+--------------------------------------
       | File Name    | Folder         | File Location                       |
       +-------------------------------+--------------------------------------
       | Rasapi32.dll | Windows\System | In the standard cab files           |
       +-------------------------------+--------------------------------------
       | Wsock32.dll  | Windows\System | precopy1.cab                        |
       +-------------------------------+--------------------------------------
       | Rnasetup.dll | Windows\System | precopy1.cab                        |
       +-------------------------------+--------------------------------------
       | Netcli.inf   | Windows\Inf    | precopy2.cab                        |
       +-------------------------------+--------------------------------------
       | Netservr.inf | Windows\Inf    | precopy2.cab                        |
       +-------------------------------+--------------------------------------
       | Net.inf      | Windows\Inf    | precopy2.cab                        |
       +-------------------------------+--------------------------------------
       | Nettrans.inf | Windows\Inf    | precopy2.cab                        |
       +-------------------------------+--------------------------------------
       | Netppp.inf   | Windows\Inf    | precopy2.cab                        |
       +-------------------------------+--------------------------------------
       | Rna.inf      | Windows\Inf    | precopy2.cab                        |
       +-------------------------------+--------------------------------------
       | Winsock.dll  | Windows        | precopy1.cab                        |
       +-------------------------------+--------------------------------------

    Standard cab files in Windows 95 are in the Win95_10.cab file. In Windows 95 OSR2 the location is the Win95_16.cab file. In Windows 98 the location is the Win98_37.cab file, and in Windows 98 Second Edition it is the Win98_40.cab file. Note that these files are in the actual .cab files of the operating system as opposed to the precopy .cab files.

  10. Restart your computer.
  11. Reinstall Dial-Up Networking. To do so, use the following steps:
    1. Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.
    2. On the Windows Setup tab, click Communications (the word Communications, not the check box), click Details, and then click to select the Dial-Up Networking check box.
    3. Click OK, click Apply, click OK, and then click Yes when you are prompted to restart your computer.NOTE: You may receive version conflict error messages during this process. If this happens, click Yes when you are prompted to keep a newer version of the Secur32.dll and Rpc*.dll files. Click No for all other files.

  12. Reinstall and configure the network components (listed in step 5). To do so, use the following steps:
    1. If you have a network adapter installed, install the software for the adapter according to the manufacturer's instructions.
    2. Click Start, point to Settings, click Control Panel, and then double-click Network.
    3. On the Configuration tab, click Add, click Adapter, click Add, click Microsoft in the Manufacturers box, click Dial-Up Adapter, and then click OK.
    4. Click Protocol, click Add, click Microsoft in the Manufacturers box, click TCP/IP, and then click OK.NOTE: You may receive version conflict error messages during this process. If this happens, click No when you are prompted to keep a newer version of each file.

    5. : You may receive version conflict error messages during this process. If this happens, click No when you are prompted to keep a newer version of each file.If needed, add a network client. To do so, click Client, click Add, click the appropriate manufacturer, click the client you want to install, and then click OK.NOTE: You may need to reconfigure the network components that have been reinstalled. To do so, click the network component, click Properties, add any appropriate settings, and then click OK. If needed, refer to the configuration information you recorded in step 4.

  13. Restart your computer.
  14. Re-create your Dial-Up Networking connections. To do so, use the following steps:
    1. Double-click My Computer, double-click Dial-Up Networking, and then follow the instructions on the screen in the Make New Connection Wizard.
    2. Right-click the connection that you created, click Properties, and then verify that the settings are the same as the configuration information you recorded in step 2. Repeat steps a and b until you have re-created all of your Dial-Up Networking connections.

NOTE: If after you perform the steps listed in this article you receive the following error message:

Error 745: An essential file is missing. Re-install Dial-Up Networking.

Refer to the following article in the Microsoft Knowledge Base to resolve the issue:

174579 Error Message: Error 745: An Essential File Is Missing


NOTE: The Arabic and Hebrew localized versions of the Dial-Up Networking 1.3 update cannot be uninstalled from Windows 95. For additional information about how to determine which folder Windows is installed in, click the article number below to view the article in the Microsoft Knowledge Base:

305792 How to Determine Which Folder Windows Is Installed In



Additional query words: manually uninstall manual dun

Keywords: dun kbdialup kbhowto kbnetwork kbwin98 win95 win98 KB181599