NAM 4.2 uninstall fails on Windows 2k12 - have to manually remove registry settings, files, etc to complete uninstall

  • 7017530
  • 25-Apr-2016
  • 25-Apr-2016

Environment

NetIQ Access Manager 4.2
NetIQ Access Manager Administration Console on Windows 2012 R2

Situation

Access Manager 4.2 Admin Console and Identity Servers setup and working well on Windows 2012 R2 platform. To upgrade the Windows systems from 4.2 to 4.2 SP1, the administrator followed the procedure defined at https://www.netiq.com/documentation/access-manager-42/install_upgrade/data/b4gzy75.html#bjrx1kg.

When doing this, errors were reported

- unable to remove certain directories eg. c:\Program Files (x86)\Novell\..
- unable to remove registry keys

After these messages, the install prompts the admin to restart the system to complete the uninstall. After the reboot,

·         NDS server, Tomcat7, SLP services still present
·
         In control panel, iManager, eDir patch, NICI products still present.

Clearly the Admin Console uninstall from "Programs and Features" fails to remove everything. Manually removing the eDirectory would return a warning ("An error was encountered while deleting the eDirectory SNMP objects) although the service was removed. The NICI removal worked fine although the iManager removal would also throw a warning ("Windows error 2 occured while loading the java VM").

Resolution

After running the uninstall procedure on Windows and restarting the system, execute the following:

- Uninstalled NICI 32 and 64bit programs
- Uninstall eDirectory and ignore the error returned
- Stopped SLP service
.    Backed up registry
.    Removed HKLM>Wow6432Node>Apache Software Foundation
.    Removed HKLM>Software>Novell
.    Removed HKLM>Wow6432Node>Microsoft>Windows>CurrentVersion\Uninstall>NetIQ iManager
.    Removed HKLM>SOFTWARE>Microsoft>Windows>CurrentVersion>App Paths>java.exe
.    Removed HKLM>SOFTWARE>Microsoft>Windows>CurrentVersion>Uninstall>NDSonNT (that got rid of eDir patch entry in Programs and Features)
.    Removed HKLM>SOFTWARE>Wow6432Node>JavaSoft
.    Removed HKLM>SYSTEM>ControlSet001>Services>EventLog>Application>NDS Server
.    Removed HKLM>SYSTEM>ControlSet001>Services>NDS Server0
.    Removed HKLM>SYSTEM>ControlSet001>Services>slpd
.    Removed HKLM>SYSTEM>ControlSet001>Services>SNMP>Parameters>ExtensionAgents>Novell.eDir-Snmp.1  (I guess this is NAM registering with the existing SNMP and why the SNMP process keeps files open?)
.    Removed HKLM>SYSTEM>ControlSet001>Services>Tomcat7
.    Removed HKLM>SYSTEM>ControlSet002>Services>EventLog>Application>NDS Server
.    Removed HKLM>SYSTEM>ControlSet002>Services>NDS Server0
.    Removed HKLM>SYSTEM>ControlSet002>Services>slpd
.    Removed HKLM>SYSTEM>ControlSet002>Services>SNMP>Parameters>ExtensionAgents>Novell.eDir-Snmp.1 
.    Removed HKLM>SYSTEM>ControlSet002>Services>Tomcat7
.    Removed from file system:
o    C:\Program Files (x86)\Novell
o    C:\Program Files\Common Files\Novell
o    C:\Novell\NDS

.    Rebooted

After this, all references to the Admin Console should be gone and a clean install can be performed.