Using (Default) registry value fails if it is unset

  • 7011789
  • 15-Feb-2013
  • 28-Oct-2013

Environment

Novell ZENworks Configuration Management 11.2 Bundles
Novell ZENworks Configuration Management 11.2.1 Bundles
Novell ZENworks Configuration Management 11.2.2 Bundles

Situation

Using System Requirements to check the (Default) value of a registry key. If this value is not set (i.e., in regedit it shows as "(value not set)" the test fails.

For example, to check that the (Default) value for HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc is not Word.Document.8, then:
Create a bundle, set requirements to "Registry Key Value", HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc, leave the value name blank (to indicate the "(Default)" value), set "<>", "String Type", and Word.Document.8.

If there's any value (except Word.Document.8) in the "(Default)" value, the test passes. If the value is unset, (i.e., in regedit it shows as "(value not set)" the test fails.

Resolution

This is fixed in version 11.2.4 - see KB 7012027 "ZENworks Configuration Management 11.2.4 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7012027