Previous Topic: RestartRequiredNext Topic: return


RetrieveValue

RetrieveValue

Retrieves a registry key value either from the source computer or from the destination computer. It can take three parameters: the key path, the value name, and a Boolean. The first two parameters are required and are string values. The third parameter is optional. If the third parameter is True, the CA DMM looks on the source computer, otherwise it looks on the destination computer. The default value is False. The command returns False if the value could not be retrieved.

Note: The third Boolean parameter can only be used during the General and Apply functions. If used otherwise, the third Boolean parameter causes a syntax or runtime error.

First parameter:

The Key Path (string value)

Second parameter:

The Value Name (string value)

Third parameter:

The system (Boolean value)

Usage:
Value = RetrieveValue(<Key Path>, <Value Name>, [Boolean]);
Example:
RetrieveValue( "HKCU\\Software\\Microsoft\\Office\\8.0\\Common\\Toolbar", "Tooltips", SOURCE);
RetrieveValue( "HKCU\\Software\\Microsoft\\Office\\8.0\\Common\", "Tooltips", DESTINATION);