How To Recover Deleted Files In Windows



Did you accidentally delete an important file? Did you also empty the Recycle Bin? Don't worry, this guide will show you how to recover deleted files on Windows.

Delete a file in Windows, and you can often recover it even if it’s no longer in the Recycle Bin. 

Microsoft offers a command-line utility called Windows File Recovery that restores deleted files.

Windows File Recovery can revive photos, documents, videos, and other types of files on a mechanical hard drive, SSD, USB drive, or memory card. 

Install and Open Windows File Recovery


Open the Microsoft Store and browse to the Windows File Recovery page. Click the Get button to download the program.

A command prompt window opens to show you the right syntax to use with the command as well as a few examples. The basic syntax for the command is as follows:


winfr source-drive: destination-drive: [/mode] [/switches]

Run a Search in Regular Mode

As an example, let’s say you wanted to find a recently deleted file named myresume.docx stored in your Documents folder on the C drive and save the recovered version on a USB stick set up as your E drive. If you used Regular Mode, you would type the following command, substituting <username> with your actual username: 

winfr C: E: /regular /n users\<username>\documents\myresume.docx

Before you run such a command, there are a few conditions. The source and destination drives must be different. If your PC isn’t outfitted with two drives, just plug in a USB drive and use that as the destination. The tool automatically creates a folder called Recovery_<date and time> on the destination drive, which it uses to store the recovered file. 

You can specify a different folder for the file, but let’s stick with the default option. Also, if the folder or filename contains spaces, you’ll need to enclose the entire path in quotes, as in:

winfr C: E: /regular /n "\users\<username>\documents\my resume.docx.”

After you type the command, the tool prompts you to continue. Type Y, and Windows File Recovery scans your drive for the deleted file. If the file is located, the app tries to recover it. If successful, the app places it in the Recovery_<date and time> folder on the destination drive. The command ends by asking if you want to view recovered files. Type Y.
You’ll then see the Recovery folder and a RecoveryLog.txt file on the destination drive. Drill through the folders under Recovery until you find the recovered file. Open the file to make sure that it’s intact and readable.

If the file fails to turn up in the Recovery folder, you have a few options. You can try again, and this time specify the location without a filename, as in:

winfr C: E: /regular /n users\<username>\documents\

This option will also turn up any other deleted files in that folder. Just make sure to add a backslash at the end of the folder name.

Run a Search in Extensive Mode

If you’re still unable to find or recover the file, then it’s time to try extensive mode. Here, you simply replace the /regular switch with /extensive but still use the other options for location and filename, as in:

winfr C: E: /extensive /n users\<username>\documents\myresume.docx

After typing the command, follow the same steps you used with regular mode to recover your file. For more information and details on using the app and its different switches, refer to Microsoft’s support page on recovering lost files with Windows.



Comments

Popular posts from this blog

Easiest Way To Turn Your Android Phone Into A PC Game Pad

How To Detect Unsafe Apps On Android

How To Secure Your Google Account 2021