Windows File Recovery

Many people have had the experience of deleting important files by mistake. If you have not done a good job of file backup, in such a situation, you must start all over again, or you have to use expensive file recovery tools to retrieve it.

But friends who have a little understanding of computer principles may know that deleting a file is actually just the operating system marking the disk block corresponding to the file as "new data can be written", not actually erasing the data from the disk. Therefore, if the corresponding block does not continue to be written repeatedly after the accidental deletion occurs, it is not difficult to restore the original accidentally deleted file.

Therefore, in addition to resorting to various file recovery services and recovery tools on the market after accidentally deleting files, Microsoft's recently launched free file recovery tool Windows File Recovery (hereinafter referred to as WFR) is also a good new choice.

Although WFR is packaged as an application on the Microsoft Store, it is not difficult to find after installation that it is actually a command-line tool packaged as an application. In actual use, it also needs to be executed through a command-line script-this is the same as most current file recovery The visual interface of the tool is naturally not comparable.

Fortunately, the entire command is not complicated. As long as we figure out the command structure and write the command, we can use WFR to recover files that were accidentally deleted. Let's talk about the method below:

WFR In fact, based on winfrthis tool, open WFR actually open CMD as an administrator, and restore the file is actually execute the following command:

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

Which source-driverefers to the need to restore files reside letter, destination-drivereferring to the disk is used to store the files to recover. The latter [/switches]is a variety of recovery parameters. When executing the script, WFR will automatically create a new recovery folder under the disk where the recovery files are stored.

WFR has three file recovery modes: default, segmentation and signature mode. The three modes correspond to different recovery parameters and different file systems .

For example, for removable drives or U disks, if the file system format is FAT or exFAT, the signature mode is required. As for the NTFS format, the default mode is preferred. If the file to be recovered has been deleted long ago, you need to try the segment mode or signature mode. For example, I want to regain my place U disk (F :) drive letter suffix to the .jpgimage file, the drive letter for storing recovered files to the D drive, then simply executed after WFR start:

winfr F: D: /x /n *.jpg

Wherein /xrepresents employed signature pattern , /nthe back name suffix corresponding wild specifies a file type . After this command is executed, it will remind you whether to restore, enter y and wait for the scan; after the scan is completed, enter y to confirm, and WFR will copy the restored files to your restore folder.

It is obvious from the recovered files folder, the Windows File Recovery recovery effect is still quite good, not only to restore a file folder deleted from .jpgthe file, some of the pictures had been shrink-wrapped retrieval can also be scanned. The biggest problem of WFR is also encountered here-because there is no time parameter and visual interface, WFR will restore all the files that can be restored and meet the retrieval conditions.

Since WFR gives quite a lot of parameters to restore, if we do not consider the entire disk restore, we can restore a single file or a folder. For example, if I want to restore a folder 123that was once on the D drive and the drive whose file system is NTFS , and copy the recovered files to the C drive, the command is:

winfr D: C: /r /n D:\123\ 

Which /rrepresents the use of sub-mode, /nthen scan a specific file name, file directory and restore it to the target disk.

Examples of the above-mentioned some basic parameters of specific practical operation, of course, you can also add a range of advanced parameters to perform some of the more delicate operations.

For ordinary users, although WFR is free, its operation completely relies on command-line tools, and the degree of intuition is limited; but for users with computer operation and maintenance or with certain hands-on capabilities, the complete command-line operation is efficient and simple.

Considering that it is provided by Microsoft for free, you may wish to use it as a backup, lightweight file recovery solution.

You can download Windows File Recovery for free from the Microsoft Store .

Guess you like

Origin blog.csdn.net/xp178171640/article/details/115002308