To rename a registry key, right-click or tap-and-hold on the key and choose Rename. Give the registry key a new name and then press Enter. To rename a registry value, right-click or tap-and-hold on the value on the right and choose Rename.