Article
7077
After deploying the ZENworks Adaptive Agent on a workstation, a user having administrator privileges can access and uninstall the product by using the Windows Add or Remove Programs. This Cool Solution helps ZENworks Administrators to restrict the workstation users from uninstalling or modifying the ZENworks software.
Steps
- On a managed device, export the ZENworks Folder registry key from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows\CurrentVersion\Uninstall\ZENworks to a local file. A sample registry file is shown in Figure 1.
Figure 1 Sample registry file for a ZCM workstation. - Edit the registry file to add the following line:
"NoRemove"=dword:00000001 - A sample updated file is shown in Figure 2.
Figure 2 Updated Registry file - Log in to ZENworks Control Center.
- Create a new Directive Bundle.
Please refer to this section of the documentation Novell ZENworks 10 Configuration Management Documentation for help in creating a Directive Bundle creation. - Add Registry Edit Action to the bundle.

Click to enlarge.
Figure 3 Add Actions window - Registry Edit Action selection
Get more information on adding the Registry Edit Action.
- Browse and import the updated registry file.
- Assign the Bundle to ZENworks Configuration Management Devices/Users.
For more information on assigning Bundle to the devices and users please refer to this page, and this page.
- Configure the Bundle Distribution Schedule as “Event” and select “User Login” as trigger.
- Select “Install Immediately after Distribution” and “Launch Immediately after Installation” options in Distribution schedule.
For more details on Bundle Schedules, please refer to this page.
- After the bundle is distributed to the managed device, the ZENworks application will not be listed in the Windows Add or Remove Programs.
Note: If the registry tree structure differs for different Windows Operating Systems, then the administrator must create separate bundle for each operating system.I would like to thank Lakshmi R and Harshad Sovani for reviewing this Cool Solution and providing valuable feedback.
Related Articles
- Time Synchronization Solution for ZCM Zone using Bundles Feature
- Custom Inventory Attributes in ZENworks 10 Configuration Management
- Launching application installations through ZENworks 10 Configuration Management Bundles
- Installing SNMP Service Using ZCM Directive Bundle
- Configure Multiple and Multilevel Inventory Scan Schedules Using the Bundles Feature
User Comments
Why not use the msi mechanism?
Submitted by rpfenninger on 11 February 2008 - 1:26am.
I'd always recommend to do tasks like described above using the original msi mechanism.
To keep users from modifying or even uninstalling the ZENworks Adaptive Agent create a transform file (.mst) and add the following properties to the Property table:
ARPNOREMOVE = 1
ARPNOMODIFY = 1
That way, the agent still appears within the Control Panel applet which seems useful for the support personnel.
To totally hide the agent within that applet, you can delete the following actions from the InstallExecuteSequence and AdvtExecuteSequence tables (in the .mst as well). This keeps the setup from registering:
RegisterProduct
RegisterUser
PublishProduct
PublishFeatures
For further information check the msi.chm file that comes with the Windows Server 2003 Platform SDK.
http://www.microsoft.com/downloads/details.aspx?Fa...
- Login to post comments
© 2009 Novell, Inc. All Rights Reserved.








1