Batch file to remove protocol, NWLINK
Hey guys,
The person who can come through on this for me, I owe big time.
At my job, we just moved to active directory, I wrote a script to Unattend the process of removing the Novell Client from over 1000 workstation. However, they want the Nwlink for IPX/SPX gone to, here lies my problem. The network has a mix of Win2000 and NT4 station. I can successfully remove the Nwlink from all the NT4stations but not the win2000 stations. Ill tell you how I did it for the NT stations, I know it would be near the same, but I just can find the answer. If you simply run this Batch file on an NT station, it removes the Nwlink completely, I got it from Microsoft Knowledge Base Article - 239834
%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
this runs setup.exe in the winnt\system32 folder, with some options. It uses ncpashel.inf to tell it what to do in ncpa.cpl “This is the Network applet in control panel”. I cannot run this in win2000 because ncpashel.inf is not even on a 2k box, I copied it over and put it in the system32 dir, and it said “Nwlink is being used by another service”. I tried closing services and process but no help, that doesn’t matter anyway, I have to run this on 1000 systems, I cant go closing services etc. on every system, I need it to run irregardless, no errors. This batch file work fine for NT, but Please help me fine a solution for 2000, I know it on the Net somewhere, I just cant find er.., thanks,
Adam