Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Remove Novell Client

6 views
Skip to first unread message

Vikram

unread,
Jan 21, 2004, 6:24:04 PM1/21/04
to
At our organization we are migrating to AD so i have to
get rid of the 'Novell Client' from a lot of PC's. I have
unistalled software's using WMI Script before but have no
idea how to go about removing Novell Client. Can someone
please give me some suggestions. PLEASE! im running short
of time.
Thank you all

David H. Lipman

unread,
Jan 21, 2004, 6:29:54 PM1/21/04
to
You have to use Novell's un-install program which is in the same installation directory of
the Novell client Setup.exe program.

Dave

"Vikram" <anon...@discussions.microsoft.com> wrote in message
news:21a201c3e075$a8a75580$a401...@phx.gbl...

Torgeir Bakken (MVP)

unread,
Jan 21, 2004, 7:23:24 PM1/21/04
to
Vikram wrote:

Hi

We do that with snetcfg.exe (from MS) and the inf file from the
Netware Client (iwclient.inf), more about snetcfg.exe here:

From: Torgeir Bakken (MVP)
Subject: Re: Script to disable or uninstall the IPX protocol
http://groups.google.com/groups?selm=3F8065D1.634ED9E2%40hydro.com

Snetcfg.exe comes in one version for Win2k and one for WinXP. The code in the
above code also shows how do differentiate that in a script.

A script something like this should work (it first removes the Novell Netware
client and then the IPX protocol):


'--------------------8<----------------------
Option Explicit

Dim oShell, oFSO
Set oShell = CreateObject("WScript.Shell")
Set oFSO = CreateObject("Scripting.FileSystemObject")

RemoveNWClient


Sub RemoveNWClient()

' Function that removes Novell NW Client 4.x unattended
' on a Windows 2000 computer.
' Tested on NW Client version 4.8 and Win2000 SP2

Dim sInfPath, sGina, bSetMSGina, sNWUninstCmd, sIPXUninstCmd
Dim sSnetcfgPath, iRC

' path to onf file that comes with the NW client.
sInfPath = "\\server\share\NWClnt\WNT\English\i386\NLS\ENGLISH\iwclient.inf"
sSnetcfgPath = "some path\snetcfg.exe"
If Not oFSO.FileExists(sInfPath) Then
MsgBox "Could not find INF file necessary to remove the Netware client"
Exit Sub
End If

On Error Resume Next
sGina = "" ' init value
sGina = LCase(oShell.Regread( _
"HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\GinaDLL"))
On Error Goto 0
If sGina = "nwgina.dll" Then
oShell.RegWrite _
"HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\GinaDLL", _
"MSGINA.DLL"
End If

'Removing Novell Netware Client
'snetcfg.exe -v -l <some path>\iwclient.inf -u nw_nwfs
sNWUninstCmd = Chr(34) & sSnetcfgPath & Chr(34) & " -l " _
& Chr(34) & sInfPath & Chr(34) & " -u nw_nwfs"

iRC = oShell.Run(sNWUninstCmd, 0, True)

'iRC = 303136 is OK
If iRC = 1 Then
MsgBox "Uninstall of Netware Client failed!" & vbCrLf & vbCrLf _
& "Please contact support personnel.", _
vbExclamation, "NW Client removal"
Exit Sub
End If

' Removing IPX/SPX Protocol, you will loose the network contact
' that is based on IPX.
'snetcfg.exe -v -l c:\winnt\inf\netnwlnk.inf -u ms_nwipx
sIPXUninstCmd = Chr(34) & sSnetcfgPath & Chr(34) & " -l " _
& "%windir%\inf\netnwlnk.inf -u ms_nwipx"

iRC = oShell.Run(sIPXUninstCmd, 0, True)

End Sub

'--------------------8<----------------------


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


Jeremy

unread,
Jan 22, 2004, 5:43:06 PM1/22/04
to
>.
>
Are you talking about the client services for netware from
Microsoft? You can use snetcfg. I am doing it right now.
I wrote a batch file to copy snetcfg to each machine as
well as shutdown.exe to each machine and then I used a
login script to run snetcfg_wxp -u ms_nwclient, then I
added a line with shutdown /l /r /T:0 to reboot their
machine. I believe you can get it from the resource kit or
e-mail me and I will send you the files and batch files.

Torgeir Bakken (MVP)

unread,
Jan 22, 2004, 8:24:30 PM1/22/04
to
Jeremy wrote:

> Are you talking about the client services for netware from
> Microsoft? You can use snetcfg. I am doing it right now.
> I wrote a batch file to copy snetcfg to each machine as
> well as shutdown.exe to each machine and then I used a
> login script to run snetcfg_wxp -u ms_nwclient, then I
> added a line with shutdown /l /r /T:0 to reboot their
> machine. I believe you can get it from the resource kit or
> e-mail me and I will send you the files and batch files.

Hi

Snetcfg is a sample tool in the MS Driver Development Kit
(...\src\network\config\netcfg) that must be compiled into an exe from the
source (C/C++?) before it can be used.

Fortunately, you can download a compiled version of Snetcfg.exe (thanks goes
to Dagfinn for that :-) at http://www.jsiinc.com/reghack.htm, tip 4705

Note the different versions depending on OS.

Torgeir Bakken (MVP)

unread,
Jan 22, 2004, 8:28:30 PM1/22/04
to
Jeremy wrote:

> Are you talking about the client services for netware from
> Microsoft? You can use snetcfg. I am doing it right now.
> I wrote a batch file to copy snetcfg to each machine as
> well as shutdown.exe to each machine and then I used a
> login script to run snetcfg_wxp -u ms_nwclient

Hi

For a VBScript version that also uses snetcfg to remove Microsoft's
Client Services for Netware:

http://groups.google.com/groups?selm=3F5F4FEE.6A619B0%40hydro.com

0 new messages