Solved

Windows, undelete a file

Posted on 2013-11-06
5
209 Views
Last Modified: 2013-11-14
I am using Windows 7

I deleted a file from the command console

How can I UN-delete a file from the command console ?

Thanks
0
Comment
Question by:Los Angeles1
  • 3
5 Comments
 
LVL 24

Assisted Solution

by:aadih
aadih earned 250 total points
ID: 39627573
Download, preferably using another computer, Recuva from:

< http://www.piriform.com/recuva >

and without using your computer to do any other thing, install and run it.

You could also try Wise Data Recovery 3.42 (portable) from:

< http://www.wisecleaner.com/download.html >
0
 
LVL 19

Assisted Solution

by:Miguel Angel Perez Muñoz
Miguel Angel Perez Muñoz earned 125 total points
ID: 39627574
You can try with recover, or installing third party recovering tool.

Recover usage is: recover drive:path\filename
0
 
LVL 24

Assisted Solution

by:aadih
aadih earned 250 total points
ID: 39627579
0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 125 total points
ID: 39628105
There is no built-in way I've ever seen or heard of that can allow you to undelete a file from the command line.  There are possibly third party utilities, but I don't know them since I don't use them and never had a need to - in General, GUI works best.

Unlike GUI deleted files (assuming no special action was taken at the time of deletion) that go to the Recycle Bin, command line deleted files are PERMANENTLY deleted when you delete them (in the sense that the file system is told to destroy record of them instead of moving them to a recovery area that requires one more step to permanently remove.

If you've deleted from the command line and want to recover the file, there are three options I see:
1. Check if Volume Shadow Copy is enabled (it should be and if it isn't enable it for the future).  Then restore a "previous version"
2. Go to your backups
3. Use a third party utility - BE CAREFUL - the mere act of installing the third party utility could permanently delete the file in an unrecoverable way.  For this reason, you generally want to install the recovery software to a different drive and/or, if neither of the other two options are possible, POWER OFF (do NOT shut down, push the power button and hold it in or pull the power cord) the machine with the deleted file and then boot to a boot disk with recovery software software or remove the drive and install it in another system with recovery software already installed.  EVERY SECOND THE PC IS ON, other background services are potentially writing data and COULD end up writing data to the deleted file's location on disk making in unrecoverable.  Even a shutdown (especially a shutdown) flushes out data and causes many writes which is why a hard power off is preferable in this circumstance only.  It allows a greater chance at recovery.  But understand, once deleted, recovery is NOT GUARANTEED!
0
 
LVL 24

Expert Comment

by:aadih
ID: 39628135
Great information, leew. Much thanks.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Introduction: I have always been a big fan of Windows but my liking towards it is slowly being eroded by the variety of other Applications that I encounter, when I browse the Web. Most of the software available is free and maybe Open Source too. …
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now