Share via


RegKey Property

Specifies a registry key to search for on the target computer. If an exact match is not found for the registry key specified in the RegKey property, the registry search will return null.

Settings

The RegKey property takes a string that includes the full path to the registry key. For example, if you want to search for the Start Page key for Internet Explorer, the RegKey property should be set to Software\Microsoft\Internet Explorer\Main\Start Page.

Remarks

The RegKey property value must exactly match the name and path in the registry, including any spaces, or the registry search will fail to find the key.

See Also

Properties for the Launch Conditions Editor