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

ID: Q239834


The information in this article applies to:
  • Microsoft Windows NT Server versions 4.0, 4.0 SP1, 4.0 SP2, 4.0 SP3, 4.0 SP4, 4.0 SP5
  • Microsoft Windows NT Workstation versions 4.0, 4.0 SP1, 4.0 SP2, 4.0 SP3, 4.0 SP4, 4.0 SP5


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.


  3. 
    %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 = C:\winnt\system32 /T NTN_Infoption = NWWKSTA 
  4. Type the following lines to uninstall the NWLink SPX/IPX protocol.


  5. 
    %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 
  6. To update the bindings, run the Runncpa.exe program from BackOffice SNA Server. For more information about how to use Setup.exe, click the article link below to view the following Microsoft Knowledge Base article:
    Q162771 Installing Network Components Without the Control Panel


Additional query words:

Keywords :
Version : winnt:4.0,4.0 SP1,4.0 SP2,4.0 SP3,4.0 SP4,4.0 SP5
Platform : winnt
Issue type : kbinfo


Last Reviewed: October 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.