Microsoft KB Archive/239834

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

Article ID: 239834

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT 4.0 Service Pack 1
 * Microsoft Windows NT 4.0 Service Pack 2
 * Microsoft Windows NT 4.0 Service Pack 3
 * Microsoft Windows NT 4.0 Service Pack 4
 * Microsoft Windows NT 4.0 Service Pack 5
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0

-



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:  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. 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

 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

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

Keywords: kbinfo KB239834

-

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

© Microsoft Corporation. All rights reserved.