Group Policies randomly fail with error "Got an exception while deleting Key"

  • 7006895
  • 23-Sep-2010
  • 06-Jul-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 3 - 10.3

Situation

Group Policies randomly may fail to apply due to specific error.
 
ERROR (from zmd-messages.log in debug and higher mode):
 
[ZenworksWindowsService]
[24] [] [grouppolicy] [] [ZEN GP Handler -  - Got an exception while deleting
Key: {0}System.ArgumentException: Cannot delete a subkey tree because the
subkey does not exist.   at
System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)   at
Microsoft.Win32.RegistryKey.DeleteSubKeyTree(String subkey)   at
Novell.Zenworks.PolicyHandlers.WindowsGroupPolicyPlural.PostDesktopRefresh.clearIfFlagPresent(Session
session)] [] []

Resolution

This is fixed in version 10.3.2 - see KB 7007237 "ZENworks Configuration Management 10.3.2 - update information and list of fixes" which can be found at https://www.novell.com/support

A fix for this issue is included in ZENworks 11, see KB 7006995 "ZENworks 11 - information and updates" which can be found at https://www.novell.com/support