Microsoft has released an app to recover files on discs, flash drives or memory cards. The app runs through the command line interface.
Accidentally deleted an important file? Wiped hard drive? Don’t know what to do with corrupt data? Restore Windows files that can help restore your personal data.
You can use the utility to restore the following file formats: JPEG, PDF, PNG, MPEG, Office files, MP3, MP4, ZIP archives and other.
Microsoft Windows File Recovery Tool supports three modes: “default”, “Segment” and “Signature”.
Each of these modes trying to recover deleted files from storage devices on their own, as described below.
- The default mode: this uses a master file table (MFT) to find lost files. The default mode works well when there are MFT and file segments called segments of the file records (FRS).
- Mode segment: this mode does not require MFT, but requires segments. Segments — this is a summary file of information that stores the MFT in NTFS, for example, name, date, size, type, and the index of the cluster / allocation unit.
- Signature mode: this mode requires only the availability of data and search files of a certain type. It doesn’t work for small files. To restore a file on an external storage device, e.g. USB drive, you can only use the signature mode.
To use Windows File Recoveryfirst you must install it
You can then enter winfrto see a list of available commands.
Winfr also includes advanced options, which you can view by typing
These advanced options shown below allow you to fine-tune the repair process by specifying which sectors to scan, how to run the restore, and disabling certain file extensions.
Windows File Recovery ---------------------------------------------------------- USAGE: winfr source-drive: destination-folder [/switches] /p:[folder] - Specify recovery log destination (default: destination folder) /a - Accepts all user prompts /u - Recover non-deleted files (default/segment mode only) /k - Recover system files (default/segment mode only) /o:[a|n|b] - Overwrite (a)lways, (n)ever or keep (b)oth always (default/segment mode only) /g - Recover files without primary data stream (default: false, default/segment mode only) /e - Disable extension exclusion list (default/segment mode only) /e:[extension] - Disable specific extension(s) (default extension list no longer applies) (default/segment mode only) /s:[sectors] - Number of sectors in volume (segment/signature mode only) /b:[bytes] - Number of bytes in cluster (segment/signature mode only) /f:[sector] - First sector to scan (segment/signature mode only)
When you use the restore files Windows 10, you must specify the source drive, the files will be restored, and all the filters that fine-tune which files to recover and recovery mode files.
For example, to use the “default” to restore all deleted files .JPG on drive D: and restore them on the E: drive you must use the following command:
winfr D: F: /n *.JPG
To use the “default” to restore all deleted files in the folder E: temp, you must use the command:
winfr E: F: /n temp*.PNG
To use the “segment” to search on the C: drive of deleted files the file name containing the string “operator”, and restore them on the E: drive you must use the following command.
winfr C: E: /r /n *statement*
For example, to use the “signature” to restore all Word documents (.docx) from drive C, you should use the following
winfr C: D:RecoveryDestination /x /y:DOCX
It should be noted that when using filters that correspond to the folder name, you must specify the drive letter.
For example, if you installed as the source of the C: drive and want to recover files from C: test, you would use the filter
New Microsoft utility to restore deleted files
Tool Windows File Recovery does not support recovery to cloud storage and network shared folders. The program is available only for personal computers. You will need a Windows operating system version 10 or above 19041.0.
Regardless of the range of third-party software, the availability of utilities in the store and work in console mode is very convenient, especially for remote assistance. Unlike third-party tools, Windows File Recovery is not a General utility. This program is designed for more experienced users.