Novell is now a part of Micro Focus

Keeping Users from Uninstalling the Management Agents

Novell Cool Solutions: Tip
By Donna Rogers

Digg This - Slashdot This

Posted: 8 Apr 2005

I needed to prevent the users from uninstalling the ZENworks management agents. The users unfortunately had to be administrators of their workstations, which let them remove anything they wanted. Here's what I did.

After installing the management agents, I created a group policy to lock users out of the registry editors. I then created a simple application object that creates under HKLM\Software\Microsoft\Current Version\Uninstall\{product code for zen agents} the DWORDs NoRemove, NoModify and NoRepair with a value of 1. This greys out the change/remove options for the ZENworks agents in the control panel/add remove programs page. Since my users were not yet using NAL, I used the user policy package to run a scheduled action on login that executes "nalwin32.exe : /H /U /A=app object name". Works like a charm every time!

If you have any questions you may contact Donna at

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

© Copyright Micro Focus or one of its affiliates