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

Script uninstallation of the Novell netware client

5 views
Skip to first unread message

SA

unread,
Jun 2, 2004, 4:01:01 PM6/2/04
to
Hi,
I have the Novell client v4.83 sp1 on most of my clients and was in the
process of uninstalling the Novell client on user machines.

Any hints how to uninstall this beast via script.
Thanks,

SA.


Stephen

unread,
Jun 2, 2004, 8:06:37 PM6/2/04
to
The way I did it was to download the latest NW client, and then set its ini
file to uninstall everything, and script running it. You'll have to do some
research at Novell.com to get the right parameters etc. The nice thing about
this solution is that it removes all NW clients, no matter what version.

Basically, I ran acu.exe (included with NW client) with some parameters
(sorry I forget what they are, do an acu.exe /?) to point it to my
visine.txt file. Contents of this file are documented in the client:

visine.txt:
[Novell_Client_Install_Manager]
Novell_Client=NT
[SetupNWInstallOptions]
!UpdateAllIfAny=NO
!InstallNMAS=NO
!InstallNICI=NO
[NovellNetWareClientParameters]
!Protocol=CURRENT
!RemoveIPXIfPresent=YES
!DoInstall=YES
!AskUseNetWareGINA=NO
!UseNetWareGINA=NO
!DoRemove=YES
[WorkstationManagerParameters]
!DoInstall=yes
!IsOptional=NO
!DoRemove=YES
!Enable_Workstation_Manager=OFF
!Enable_Workstation_Manager_Distribute=Always
[NALAgentParameters]
!DoInstall=yes
!IsOptional=NO
!DoRemove=YES
[RemoteManagementParameters]
!DoInstall=yes
!IsOptional=NO
!DoRemove=YES
[NDPSParameters]
!DoInstall=yes
!IsOptional=NO
!DoRemove=YES
[ZISWinParameters]
!DoInstall=yes
!IsOptional=NO
!DoRemove=YES
[Unattended]
!OemPreinstall=YES
[Network]
InstallServices=ServicesList
[Network_2000]
Install2000Services=Services2000List
[ServicesList]
NWFS=NovellNetwareClientParameters, \$OEM$\NET\NTCLIENT\I386
WM=WorkstationManagerParameters, \$OEM$\NET\NTCLIENT\I386
NALNTSRV=NALAgentParameters, \$OEM$\NET\NTCLIENT\I386
WUA=RemoteManagementParameters, \$OEM$\NET\NTCLIENT\I386
NDPS=NDPSParameters, \$OEM$\NET\NTCLIENT\I386
ZISWin=ZISWinParameters, \$OEM$\NET\NTCLIENT\I386
[Services2000List]
NW_NWFS=NovellNetwareClientParameters, \$OEM$\NET\NTCLIENT\I386
NW_WM=WorkstationManagerParameters, \$OEM$\NET\NTCLIENT\I386
NW_NDPS=NDPSParameters, \$OEM$\NET\NTCLIENT\I386
NW_NALNTSRV=NALAgentParameters, \$OEM$\NET\NTCLIENT\I386
NW_WUA=RemoteManagementParameters, \$OEM$\NET\NTCLIENT\I386
NW_ZISWin=ZISWinParameters, \$OEM$\NET\NTCLIENT\I386
[IPXCompatibilityModeParameters]
!IPX_Compatibility_Use_DHCP=NO
!IPX_Compatibility_Use_DHCP_Distribute=Always


If you are sure that you are completely standardized on a specific version,
then there may be another way that's easier.

-StephenB

"SA" <nos...@nospam.nospam> wrote in message
news:OdYdVxNS...@TK2MSFTNGP10.phx.gbl...

Torgeir Bakken (MVP)

unread,
Jun 3, 2004, 10:37:17 AM6/3/04
to
SA 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/community/scriptcenter/default.mspx

SA

unread,
Jun 3, 2004, 11:43:29 AM6/3/04
to
Thanks guys,
I should have asked this before but instead of the Novell client would it be
easier to uninstall the Microsft client for Netware component?

Thanks,
SA.

"Torgeir Bakken (MVP)" <Torgeir.B...@hydro.com> wrote in message
news:%23HdMEiX...@TK2MSFTNGP09.phx.gbl...

Torgeir Bakken (MVP)

unread,
Jun 4, 2004, 9:28:47 PM6/4/04
to
SA wrote:

> Thanks guys,
> I should have asked this before but instead of the Novell client would it be
> easier to uninstall the Microsft client for Netware component?

Hi

If you mean "Microsoft Client Service for Netware", you can use
snetcfg.exe for this as well:

http://groups.google.com/groups?selm=Omjq8tPREHA.1312%40TK2MSFTNGP12.phx.gbl

0 new messages