Note that there are some explanatory texts on larger screens.

plurals
  1. POIs there a way to recover registry entries that were deleted using RegDeleteKey?
    text
    copied!<p>[I am aware that this might actually better belong on superuser but I thought the programmer perspective might yield slightly better/faster results.]</p> <p>I have just written a sleek new configuration framework for our apps and everything was working just great. There was only one function left to test and that was deleting a registry key (recursively). As everything else had been working exactly as expected I became inexcusably careless and made what was very probably a fatal mistake: I ran the test not step-by-step in the debugger but live...</p> <p>Seems I made a mistake in the path handling and now <strong>everything</strong> below <code>HKEY_CURRENT_USER\Software</code> that wasn't locked or otherwise inaccessible at the time of the test is gone.</p> <p>I used Delphi 2009's <code>TRegistry.DeleteKey</code> method which in turn recursively calls the <code>RegDeleteKey</code> API. Is there some way to undo this either programmatically or using utilities (preferably freeware)?</p> <p>I am actually rather surprised the system is still running (I am writing this from that machine). I have not logged of or rebooted since this happened. I guess the entries are all cached in memory by the running applications. Can they maybe be brought back from there as well?</p> <p>System Restore reports that no restore points have been created on this machine though I'm sure there were. Could this also be a symptom of the purged registry? Can this be overcome somehow?</p> <p>This is on Windows 7 Enterprise (32bit).</p> <p>HALP!!!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload