This project is read-only.
Registry Task
The Registry Task is used to check for the existence of a given registry key and, optionally, a value.

General Format
<Task name="RegistryTask" description="" baseKey="" key="" valueName="" value="" expandVariables="" failAsWarning="" />

Attributes
  • name: specifies the task name - "RegistryTask".
  • description: (optional) specifies the text to be displayed in the Task column within the user interface (UI). If you ommit this attribute the tasks name will be used.
  • baseKey: specifies the base registry key that contains the key listed below. Valid values include:
Base Key
HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKEY_CURRENT_USER
HKEY_DYN_DATA
HKEY_LOCAL_MACHINE
HKEY_PERFORMANCE_DATA
HKEY_USERS
  • key: specifies the registry key to be verified.
  • valueName: (optional) if specified, the name of a value stored within the above key to be compared to the value attribute listed below.
  • value: (optional) if specified, this is the expected value to be compared against the value within valueName listed above.
  • expandVariables: (optional) specifies whether or not any variables within a registry value should be expanded prior to verification. If set to "yes", "true", or "1", variables will be expanded; otherwise, they will not be expanded.
  • failAsWarning: (optional) if specified, and has a value of "true", "yes", or "1", then any errors caught by this task will be treated as warnings. NOTE: This attribute can be applied to any task.
  • disabled: (optional - not shown) if specified, and has a value of "true", "yes", or "1", then this task will not be loaded and will be ignored. NOTE: This attribute can be applied to any task.
NOTE: The user account running NDiagnostics must have the required permissions to check the specified registry key/value.

Last edited Nov 27, 2007 at 4:37 AM by jbramwell, version 5

Comments

No comments yet.