RegDelete Statement:

The RegDelete statement deletes Keys and Values from the Windows Registry. The required argument regpath is the path to a Key or Value that will be deleted.

RegDelete regpath
Example Usage:

 ' delete from the registry:

dim a

 ' Delete a value : "testvalue"
RegDelete "HKCU\testregwrite\testvalue"

 ' Delete a key : "testkey"
RegDelete "HKCU\testregwrite\testkey\"

ASP Source Code:
Private Sub RegDelete(byVal regpath)
	Dim objShl
	Set objShl = CreateObject("")
	On Error Resume Next
	objShl.RegDelete( regpath )
	If Err Then Err.Clear
	On Error GoTo 0
	Set objShl = Nothing
End Sub