Solved

Windows, undelete a file

Posted on 2013-11-06
5
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Recuva portable version is at:

http://www.piriform.com/recuva/features/portable-version >
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

726 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