4.3. Undeleting a File


You want to attempt to undelete a file that you previously deleted.


Files that you delete with Windows Explorer can be restored using the Recycle Bin:

  1. Double-click the Recycle Bin icon on the desktop.

  2. Right-click the file you want to undelete and select Restore.

This assumes that you didn't use the Shift+Del key combination to delete the file or haven't emptied the Recycle Bin since the file was deleted. One problem with this method is that the Recycle Bin captures only files deleted from Explorer. None of the files that are deleted over the network, via a command prompt, or with a script are sent to the Recycle Bin.

The Sysinternals Fundelete tool can be used as a replacement for the Recycle Bin. It works just like the Recycle Bin except it does more. The Recycle Bin icon on the desktop is replaced with a Fundelete Bin icon. The Fundelete Bin captures any type file deletion that occurs on the computer. And just like the Recycle Bin, you can restore files contained in the Fundelete Bin.

Fundelete hasn't been updated since 2000, so if you are looking for something that is more recently updated, Executive Software makes a product that is similar to Fundelete with even more features called Undelete. Unlike Fundelete, you have to pay for Undelete. For more information, visit: http://www.undelete.com/.

See Also

MS KB 136517 (How the Recycle Bin Stores Files)

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.