you can back the registry key up before deleting it.
In the registry editor, select the key you are about to delete, then go to file and select Export. This will create a .reg file that can be used to re import the deleted registry key by double clicking it if something goes wrong.