Unable to remove registry key <name>.

You are calling the method RegDelete() on an unrecognized registry key.

This error generally occurs when using the RegDelete method on an invalid registry key.

To correct this error

  • Check the Windows registry and make sure the registry key exists and is spelled correctly.

See Also

Reference

RegDelete Method

RegRead Method

RegWrite Method