7.5 Uninstalling LeapHeap

To uninstall LeapHeap, run the registry script that was created when LeapHeap was installed. This is named 'UndoRegistryChanges.reg' and will be found in the LeapHeap directory. Then delete the LeapHeap directory including all the files it contains. Use the registry editor to delete the HKEY_CURRENT_USER\Software\LeapHeap key (per account if necessary). Your system is thereby restored to its original configuration, save for the environment variable __MSVCRT_HEAP_SELECT added to early NT versions, which is just a minor performance setting but can be deleted manually if desired.

Don't worry if the registry restoration script has gone missing. The empty state of the ExcludeFromKnownDlls value is easily restored by manual edit of the key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager
When empty, the value (of type REG_MULTI_SZ) should appear like this:
0000 00 00
which is address zero followed by two zero bytes.