Novell is now a part of Micro Focus

ZENworks Cleanup Utility

Novell Cool Solutions: Trench
By Matt Anderson

Digg This - Slashdot This

Posted: 30 Dec 2002

This program will search the registry for any evidence of applications installed through Novell's Application Launcher and allow you to clean them up so they may be redistributed. It will work in both ZEN3 and ZEN4 modes as well as multi-tree environments. Please see the readme file for more information.


Upon startup, ZenCleanup will search the registry for treenames, the current username and any applications installed on the computer. It will display them in the list on the left showing only the applications installed in the currently selected tree.

After selecting an application and verifying the treename, username and user context, use the Cleanup button to remove the registry keys associated with the application guid as well as the c:\NALCache files. Below the About button, it will indicate whether it has detected ZEN3 or ZEN4.

It was developed for our Windows 2000/ZENworks 3.0 environment and only tested in Windows 2000. It should work fine in WinNT and WinXP as long as the user has rights to the registry keys listed below. It might also work in Win95 and Win98, but hasn't been tested.

I provide no guarantee with this program. Use it at your own risk. I have been developing/using this for the past year without any problems.

Registry keys

The following registry keys are deleted during the clean up process:

HKLM\SOFTWARE\NetWare\NAL\1.0\Distribute\ <treename>\<guid>

HKLM\SOFTWARE\NetWare\NAL\1.0\Distribute\ <treename>\<userobject>\<guid>

HKLM\SOFTWARE\NetWare\NAL\2.X\Distribute\ <treename>\<userobject>\<guid>

HKLM\SOFTWARE\NetWare\NAL\2.X\Macros\ <treename>\<guid>

HKCU\SOFTWARE\NetWare\NAL\1.0\Distribute\ <treename>\<guid>

HKCU\SOFTWARE\NetWare\NAL\1.0\SACache\ <treename>\Apps\<guid> *

HKCU\SOFTWARE\NetWare\NAL\1.0\Static\ <treename>\<guid>

HKCU\SOFTWARE\NetWare\NAL\2.X\Session\ <treename>\<guid>

* ZEN4 only

NALCache files

The contents of the following folder is deleted recursively: c:\nalcache\<treename>\<appobject>

UPDATE: I have been receiving questions from users in ZENworks 3.2 environments. I only have ZENworks 3.0 (with patches) in production and ZENworks 4.0 in a test lab. There are apparently some registry differences that cause errors. If anyone is interested, I can supply source code that can be used to troubleshoot these problems in ZEN 3.2. Please let me know.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates