Until now, there was no official way to recover deleted files on a Windows 10 computer. Finally, an update to Windows 10 adds the Windows File Recovery tool. Let’s find out how to recover deleted or deleted files on a Windows 10 powered computer using Windows File Recovery Tool.

What do I need to bring back the deleted file?
To recover deleted files using Windows File Recovery Tool, you need to have Windows 10 Build 2004 or higher installed on your computer. In other words, in this case, it is necessary to have any update of Windows 10 installed on May 2020 or later.

Note that Microsoft’s file recovery tool software does not have a graphical interface. This is a command-line utility. This means that the entire process of returning this file to the command line interface (CMD) will be completed.

Whether Microsoft File Recovery Tool will be able to recover a deleted file depends on the type of drive. Deleted files are not immediately deleted from the hard disk drive. However, in the case of SSD storage, the matter is different. Usually after deleting a file in SSD it is permanently deleted from the drive.

How to recover deleted files on Windows PC?
For this you will find many types of tools or software. However, in today’s tutorial, we will show you how to recover deleted files from your computer using Microsoft’s official software.

To do this, first download the Windows File Recovery Tool from the Microsoft Store. Open the Microsoft Store and search by typing ‘Windows File Recovery’ but you will get the desired software. After installing, find ‘Windows File Recovery’ from the Start menu and select ‘Run as Administrator’ from the options.

Then select the drive from which the deleted file will be retrieved and the drive on which it will be saved via winfr command. Example:

winfr source-drive: destination-drive: [/ switches] After running the command, a folder named ‘Recovery_ [date and time]’ will be created on the drive where the recovered file will be saved. Recovered files will be saved in this folder.

Which mode to use?
Before recovering deleted files on Windows PC, it is important to decide which mode you will use to recover the file. There are three types of file recovery modes – default, signature, segment. Default mode is the fastest method. The segment approach is much the same, but a bit slower. Files can be searched on file types in signature mode. It supports ASF, JPEG, MP3, MPEG, PDF, PNG, ZIP etc. files. Office documents such as DOCX, XLSX, and PPTX can also be found by searching the ‘ZIP’ file.

It is important to know which file system is formatting the drive you are going to scan. To find out, go to the ‘General’ section of a drive and find out what type of file system the drive is formatted on. Selecting the data recovery mode on the file system is an advantage. E.g.

Use default mode to recover deleted files from a drive formatted by NTFS file system in Windows 10.
If the drive becomes useless after deleting and formatting a file from the NTFS drive, it is best to use segment mode first and then signature mode.
If you want to recover files from a drive formatted by FAT, exFAT, or reFS file system, use signature mode. Default and segment mode only works on NTFS drives.
If you are unsure about the drive’s file system, you can try default mode at first and other modes later.

Ways to restore Windows files to default mode
To use the default mode, you need to add / n next to the drive letter of the drive you are searching for. To find a file named file.txt you have to type / n file.txt. Also complete file paths and texts, such as / n ঃ users \ John \ Documents \ file.txt

Suppose you want to scan all the files in the Documents folder, then type / n \ Users \ John \ Documents. To find all files with .txt extension, type / n \ Users \ John \ Documents \ *. Txt

In other words, to see the file recovery command, you have to look like this:

winfr C: D: / n * .txt

Here .txt is the file format. If you want to recover a word file, you can enter a word format such as .docx.

After entering, you have to confirm by typing y to continue working.

You must also type to find all the files with a specific name:

winfr C: D: / n * project *

Again, many types of files can be found at the same time E.g.

winfr C: D: / n * .docx / n * .xlsx / n * .pptx

Rules for recovering Windows files in segment mode
Segment mode works just like the default mode. However, only r is used here instead of / n. Suppose you want to recover all deleted mp3 files in segment mode. In this case you have to write:

winfr C: D: / r / n * .mp3

Rules for recovering Windows files in signature mode
The functioning of the signature mode is slightly different than the other two modes. It is more effective to find certain types of files. In this mode, / x specifies the signature mode and / y: specifies the file type or group. The file type and file group as per Microsoft’s documentation are given below:

ASF: wma, wmv, asf
JPEG: jpg, jpeg, jpe, jif, jfif, jfi
MP3: mp3
MPEG: mpeg, mp4, mpg, m4a, m4v, m4b, m4r, mov, 3gp, qt
PDF: pdf
PNG: png
ZIP: zip, docx, xlsx, pptx, odt, ods, odp, odg, odi, odf, odc, odm, ott, otg, otp, ots, otc, oti, otf, oth
You can view this list at any time using the following command:

winfr / #

Suppose you want to save the JPEG file in drive E to drive D. Then you have to write the commandঃ

winfr E: D: / x / y: JPEG

You can also add multiple file groups, e.g.

winfr E: D: / x / y: JPEG, PDF, ZIP

Details about winfr
For more details on Windows File Recovery, visit Microsoft’s Official Documentation Page. You can also see a list of all commands by typing the following commands:

winfr /?

You can also see the advanced options by typing the following command:

winfr /!

The Windows File Recovery Tool is definitely a unique addition. However, the use of SSDs for faster file transfers and performance improvements is currently growing at a significant rate. At the time, it was doubtful how effective the file recovery tool would be for hard drives alone.