Full path of the key to rename. <Result> will return False if this key does not exist.

<Name of Value to Rename>: Character string (with quotes)

Name of the value to rename in the registry for the specified key. <Result> will return False if this value does not exist.

<New Key Name>: Character string (with quotes)

New path and name of the key. If this parameter corresponds to an empty string (""), the name of the key is not modified. <Result> will return False if this key already exists.

<New Value Name>: Character string (with quotes)

New name of the value in the registry for the specified key.

Remarks

RegistryRename performs a recursive copy then a recursive deletion.

From Windows Vista and later, the operations linked to the renaming are performed in a transaction. If an operation fails, all the previous operations are canceled.

In the earlier versions of Windows, the operations linked to the renaming are not performed in transaction. If an operation fails (deletion of a key for example), the previous operations (copy of the key for example) are not canceled.