Author: Shavlik
Category: Information
Inputs: The path to the subkey and the key value to be retrieved.
Minimum ITScripts engine version required: 8.0.0.0
Modifies the target machine: No
Name: Get Registry Key Value
Outputs: The script will output results of the scan to a CSV file.
Purpose: This script queries the registry for the given subkey and value. If found, the subkey path, the associated value, and the value's data will be reported.
Script Version: 1.0.0.7
Target Type: Any
Possible Operations Monitor results include:
"WMI connection to the target machine failed. Access is denied."
"WMI connection to the target machine failed. The machine may be offline or firewalled."
"Parameter "subKey" must be a valid non-empty string."
"Parameter "keyValueName" must be a string value. An empty string ("") is acceptable."
"<hiveName> is not a supported registry path (hive)."
"Subkey path "<hiveName><subKeyPath>" does not exist."
"<hiveName><subKeyPath>" default value not set."
"<hiveName><subKeyPath>" does not contain the key value "<keyValue>"."
"Error accessing registry key "<hiveName><subKeyPath>".
"Success"