How to Remove the NWLink IPX/SPX Protocol, CSNW, and GSNW with a Batch File (239834)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Server 4.0 SP1
  • Microsoft Windows NT Server 4.0 SP2
  • Microsoft Windows NT Server 4.0 SP3
  • Microsoft Windows NT Server 4.0 SP4
  • Microsoft Windows NT Server 4.0 SP5
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Workstation 4.0 SP1
  • Microsoft Windows NT Workstation 4.0 SP2
  • Microsoft Windows NT Workstation 4.0 SP3
  • Microsoft Windows NT Workstation 4.0 SP4
  • Microsoft Windows NT Workstation 4.0 SP5

This article was previously published under Q239834

SUMMARY

You can only uninstall the NWLink IPX/SPX protocol, Client Services for NetWare (CSNW), and Gateway Service for NetWare (GSNW) using the graphical user interface (GUI) in Windows NT. However, when you want to to simultaneously uninstall NWLink IPX/SPX, CSNW, and GSNW from a large number of computers, using the GUI may not be an efficient and flexible method. Using Setup.exe, there is a way to automate this uninstall process by running a batch file.

MORE INFORMATION

To uninstall NWLink IPX/SPX Protocol:
  1. Create a batch or script file with the instructions in the following procedure and name it as you like. For example, Unistipx.bat. Each Setup.exe entry and its parameters have to be in one line without any LF and CR characters.
  2. Type the following lines in the batch file to uninstall CSNW and GSNW:

    %SystemRoot%\system32\SETUP.EXE /f /i%SystemRoot%\system32\ncpashel.inf
    /T NTN_InstallMode = DEINSTALL /T NTN_Origination = DEINSTALL
    /T NTN_Infname = %SystemRoot%\system32\oemnsvnw.inf
    /T NTN_SRCPATH = %SystemRoot%\system32 /T NTN_Infoption = NWWKSTA

  3. Type the following lines to uninstall the NWLink SPX/IPX protocol:

    %SystemRoot%\system32\SETUP.EXE /f /i%SystemRoot%\system32\ncpashel.inf
    /T NTN_InstallMode = DEINSTALL /T NTN_Origination = DEINSTALL
    /T NTN_Infname = %SystemRoot%\system32\oemnxpip.inf
    /T NTN_SRCPATH = %SystemRoot%\system32 /T NTN_Infoption = NWLNKIPX

  4. To update the bindings, run the Runncpa.exe program from BackOffice SNA Server.

Modification Type:MinorLast Reviewed:4/3/2004
Keywords:kbinfo KB239834