Forrest logo
back to the reg tool

reg-delete:tldr:9ee4b

reg-delete: Delete a specific registry key.
$ reg delete ${key_name}
try on your machine

The command "reg delete" is used to delete a registry key from the Windows registry. The registry is a hierarchical database that stores configuration settings and options for the operating system and installed applications.

In the command "reg delete ${key_name}", "${key_name}" is a placeholder for the name of the registry key that you want to delete. You need to replace "${key_name}" with the actual name of the registry key you want to remove.

For example, if you want to delete a key named "TestKey" located at "HKEY_CURRENT_USER\SOFTWARE\MyApp", the command would be: reg delete HKEY_CURRENT_USER\SOFTWARE\MyApp\TestKey

Please note that deleting registry keys can have consequences, so it should be done cautiously and only if you are certain about the consequences. It is recommended to create a backup of the registry before making any changes.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the reg tool