Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Duplicate: How do I recover a form in Firefox without installing a plugin?

I have a notepad.exe process running that is unresponsive. I would like to save the contents. Can I somehow dump the process' current state and copy my text content from it?

Recover text data (non text binary would be a different solution) from hanging unresponsive process memory.

share|improve this question

The short answer is no. If the program is completely unresponsive, then you will have to kill the process.

If you think about it, if it were easy to recover data from an unresponsive program, operating systems would have such functionality built in.

share|improve this answer
I suspect the main reason operating systems don't have this functionality is that the application would immediately become unresponsive again once you restore its state. That doesn't necessarily mean the document is unsalvageable. – Marcks Thomas Jan 29 '13 at 11:59
The short answer is yes, but it's hard to do. – Jet May 2 '15 at 20:57
I think this answer is incorrect. Consider removing it. – user193661 Nov 6 '15 at 7:34

A long answer is that in principle you could save the whole process (including the open file) to a file, and by use of forensic tools (and a detailed knowledge of how it represents data in memory) piece together what the program was doing. Only that is is probably much faster to just write the d*mn text again. I believe this will give you a taste of what is available.

share|improve this answer
Helpful. Thank you – user193661 Feb 6 '13 at 8:40
I think this answer is incorrect. Consider removing it. – user193661 Nov 6 '15 at 7:34
up vote 1 down vote accepted

I've since taken a brief look at process dumps and found this problem to be very easy to solve, at least for notepad.

  1. Create dump file for the process (you can use Task Manager)
  2. Download the SysInternals tool, strings
  3. Use strings.exe [input file path] > [output file path] in command line
  4. There will be a bunch of other nonsense text in there as well and the file will be a few megabytes so you'll have to search for your text but it will be in there.
  5. Don't use notepad
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.