DeleteRegistryKey
SystemTools
Security Level 2 - Delete
Description
Clean up your registry thoroughly and automatically! Delete entire keys with all subkeys and values - ideal for uninstall routines, cleanup tasks, and removing obsolete configurations.
With smart feedback: find out whether the key was removed successfully or did not exist in the first place. Perfect for idempotent deployment scripts!
Caution: Deleting registry keys can cause serious system problems. Always create a backup before deleting keys.
Why This Tool Stands Out
- Complete Cleanup - key + subentries
- Safe Feedback if the key does not exist
- Idempotent - can be run repeatedly
- Perfect for Uninstalls
Perfect for:
Software packagers, system cleaners, uninstaller developers, and administrators. Indispensable for clean software uninstalls and the removal of obsolete registry entries.
Workflow support; time savings depend on the task
No manually searching the registry, no risk of overlooking entries. Automate the complete removal of software leftovers with a single API call.
Example Applications
Typical Use Cases
- "Delete the registry key
HKCU\Software\OldAppincluding all subkeys" - "Clean up obsolete software entries from the registry"
- "Remove all registry entries of the uninstalled application"
JSON Parameters
- keyPath (String, Required)The full path of the key to delete. Example: "HKCU\Software\MyApp\OldSettings"
Example Call
{
"tool": "DeleteRegistryKey",
"params": {
"keyPath": "HKCU\Software\ForgeLocal\TempConfig"
}
}
Return Values
- success (Boolean)
true if the key was deleted successfully - message (String)
Status message - keyPath (String)
The deleted key path - didNotExist (Boolean)
Whether the key did not exist
Related Tools
Download SindByte
Use all SystemTools locally on your system - fast, secure and without cloud dependency.
Download Now for Free