22.5 Uninstalling the Inventory Agent

22.5.1 Uninstalling on NetWare Servers

  1. Execute the following commands at the server console prompt:

    invagentstop.ncf
    
    java -exit
    
  2. Delete the following files from sys:\system:

    • hwinvsrc.ini
    • invaid.nlm
    • invsetup.ini
    • mpkscan.nlm
    • nwapi.bak
    • nwapi.map
    • smile.bak
    • smile.map
    • suppl.bak
    • suppl.map
  3. Delete sys:\java\bin\invnatve.nlm.

  4. Note the value of the ZENWORKSPATH, PDSPATH and the INVAGENTPATH keys from sys:\system\zenworks.properties.

  5. Delete the Inventory Agent installation directory identified in the INVAGENTPATH key.

  6. Delete invagentnw.jar from the PDSPath\smanager\plugins directory.

  7. In PDSPath\zfs.ncf, delete the following entry:

    load sys:\\java\\bin\\invnatve
    

22.5.2 Uninstalling on Windows Servers

  1. To stop the Inventory Agent service, in the Windows 2000/2003 server’s Control Panel, double-click Administrative Tools, double-click Services, right-click ZfS Policies, then click Stop.

  2. Note the value of the INVAGENTPATH and the PDSPATH key in the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry.

    The INVAGENTPATH key contains the Inventory Agent installation directory and the PDSPATH contains the Policy and Distribution Services installation directory.

  3. Delete the Inventory Agent installation directory identified in the INVAGENTPATH key.

  4. Delete invagentnt.jar from the plug-ins directory, which is located in the directory identified in the PDSPATH key.

  5. Delete the INVAGENTPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry.

  6. Delete the Inventory Agent key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS\ZFS entry.