Use CFREGISTRY with the Delete action to delete a registry key or value.
<CFREGISTRY ACTION="Delete"
BRANCH="branch"
ENTRY="keyorvalue">
Required. Specifies one of the following:
Required for value deletion. The value to be deleted.
If you delete a key, CFREGISTRY also deletes values and subkeys defined beneath the key.
<!--- This example uses CFREGISTRY with the Delete Action to remove
a key from the registry --->
<HTML>
<HEAD>
<TITLE>CFREGISTRY ACTION="Delete"</TITLE>
</HEAD>
<BODY>
<CFREGISTRY ACTION="Delete"
BRANCH="HKEY_LOCAL_MACHINE\Software\cflangref\tempkey"
ENTRY="LastCFM01">
<H1>CFREGISTRY ACTION="Delete"</H1>
</BODY>
</HTML>