deleteRegistryKey() / delete64BitRegistryKey()

IMPORTANT  Certain registry locations require 64-Bit Commands for 64-bit Windows machines.

Deletes the specified registry key and all its sub-keys.

Example - Core.1 Windows Procedures.Desktops.Maintenance.Common Maintenance Tasks.Disk Cleanup.Windows Disk Cleanup

deleteRegistryKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files", "All Operating Systems", "Halt on Fail")