Recovery of MS Word Content from Temp Files

Home - Word - Excel - Powerpoint

Microsoft Office has extensive AutoSave and Auto Recovery options that allow you to rescue your work in the event that it is lost due to a power failure, system crash or plain human error. However many people don't know how to use these features or that they even exist.

Even if you don't have these features enabled, you can sometimes recover data from the various temporary files that are created by Office while you are working on the document.

Microsoft have changed the way AutoSave and Auto Recover works in different versions of Office. Therefore you may want to experiment before you rely on this information.

Finding the Temporary Files

When a new file is started a temporary file is created. This can be either in the windows temp directory, in "C:\ Documents and Settings\<username>\Application Data\Microsoft". If the file is stored on a network drive then it will be temporarily created there.

This temporary file will have a few different letters after the tilde (or squiggly line “ ~”) . These are good ones to look for to find some lost info. There are others, but these are the ones most likely to contain data that can be recovered.

Finding and using the temporary and auto save files

The default auto save time for word documents is 10 minutes. You can control this time in Options under the "Save" tab. The auto save files are placed in one of the following two locations, which is where you should look to recover the data.

  1. "C:\ Documents and Settings\<username>\Application Data\Microsoft\Word".
  2. "C:\ Documents and Settings\<username>\Local Settings\Temp"

On Windows 7 and Vista, the locations will be

  1. "C:\Users\<username>\AppData\Local\Microsoft\Word"
  2. "C:\Users\<username>\AppData\Local\Temp"

If you are looking for files used by word, then the following file types should be looked for, where "xxxx" is a number.

When you have found a file that looks like it might contain data, you may want to open it in notepad instead of trying to get Word to reassemble it. The easiest way to do this is to open Notepad from the start menu then drag and drop the file in to it. The file will then be opened so that you can view the contents. 

If the document was open when the system failed (power failure or crash) then you could try just opening Word again (not the document, just Word itself from the start menu). Word will then try to recover the lost document.

Other Useful Information

If you have been working on a file for hours and the document was created via copying and pasting or at one point had cut the entire page or document to paste some place and then placed something else on the clip board, the data may not have been lost. This is because when any info is copied it is sent to a temp file with the name ~wrlxxxx.tmp. Therefore you could search your system for files of this name and then use the same "Drag and Drop" technique to view the data in Notepad to recover the data.

Another interesting thing to note is that when a change is made to a document that requires a temp file to be created, when you press the save button all the temp files are merged together into one file and the file is renamed to what you called it. The original document that you created is then deleted.

Further Information

Microsoft Knowledge Base

Description of how Word creates temporary files
http://support.microsoft.com/kb/211632

How to recover a lost file in Word 2007 or in Word 2003
http://support.microsoft.com/kb/827099

How to recover a lost Word document
http://support.microsoft.com/kb/316951

Automatically save and recover Office 2007 files
http://office.microsoft.com/en-us/help/HP101407291033.aspx


Top of the Page - Home Page
Last Page Update: 08/03/2012

© Sembee Ltd. 1998 - 2012.

Reproduction of any content on this web site is prohibited without express written consent. Use of this web site is subject to our terms and conditions.

All trademarks and registered trademarks are property of their respective owners. This site is not endorsed or recommended by any company or organisation mentioned within and is to provide guidance only and as such we cannot be held responsible for any consequences of following the advice given.

Sembee Ltd. is registered in England and Wales at 33 Scrivens Mead, Thatcham, Berkshire, RG19 4FQ.
Registered company number: 4704428. VAT Number GB 904 5603 43.