Press "Enter" to skip to content

Windows File Recovery — бесплатная программа Microsoft для восстановления данных

Let’s try to recover a recently deleted file on Windows 10 using the Windows File Recovery.

Using Windows File Recovery Tool (WINFR) on Windows 10

Windows File Recovery ( winfr.exe ) is a new free Microsoft tool to recover deleted files on different types of media. The tool is available since Windows 10 2004 (May 2020 Update) and works only in the console mode of the command prompt. You can install WINFR on Windows 10 from the Microsoft Store. The tool allows you to scan a file system and find deleted files. Several scan modes are supported (MFT tables, known file type signatures or segment mode). Windows File Recovery supports NTFS, ReFS, FAT, exFAT and can recover deleted files from locally connected devices: USB flash drives, HDDs, SSDs (you have to note some aspects when you try to recover deleted files from a Trim-enabled SSD).

In this article we’ll show you how to use Windows File Recovery in Windows 10 to restore accidentally (or deliberately) deleted files.

Open Microsoft Store (or go to https://www.microsoft.com/en-us/p/windows-file-recovery/9n26s50ln705?rtc=1) and install the Windows File Recovery (you can find it in Utilities & tools -> File managers).

Open the command prompt or the PowerShell console and run this command:

The main Windows File Recovery options are available in the console.

Here is the typical syntax:

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

As with any other tool able to recover deleted files, always restore the found files find to a separate target drive. This prevents accidental overwriting of disk sectors containing deleted file blocks and your chance to recover the information will be higher.

Let’s try to learn how to use Windows File Recovery on Windows 10 based on some examples.

winfr.exe can work in 3 modes:

  • Standard mode uses an MFT table to search deleted files. It is effective if file record segments (FRS) still exist on a disk;
  • Segment mode is used to search different NTFS segments on a disk instead of searching the MFT table. Segments are different file attributes on a disk, like name, size, type, date, etc;
  • Signature mode – the tool searches the disk for signatures of different file types (winfr has several built-in signatures for popular file types). This mode is not suitable to find small files. It is the only mode supporting drives with file systems other than NTFS.

Let’s try to recover a recently deleted file on Windows 10 using the Windows File Recovery.

Suppose, you know an exact name of the deleted file and the directory it was located in. The following command will search deleted files on drive C: using the \PS\test.txt filter and recover the files it finds to a separate drive K: (I removed the file permanently using shift+delete). This command is run in the standard winfr mode, wildcards (*) are allowed (the file path is specified without the disk name, it is supposed you have already specified the source-drive):

winfr C: K: /n \PS\test.txt

The tool scans the disk ( Pass 1: Scanning and processing disk ) and recovers the files it finds to the specified directory ( Pass 2: Recovering files ).

In this example, 2 deleted files with the same name appeared in the specified directory. The tool asked what to do with the files it had found:

File K:\Recovery_20210316_105053\PS\test.txt exists: (o)verwrite, (s)kip, (a)lways overwrite, (n)ever overwrite, (k)eep both once, keep (b)oth always

After you have made your choice, press Y . A directory with the recovery log and restored files will open automatically.

If you know only the name of the folder in which the deleted files are stored, use this command:

Put a backslash ( \ ) at the end of the folder name.

After scanning for the removed files, all found elements will be recovered to a target folder. The tool will automatically order the files by their names and types.

The commands shown above are effective if a file has been deleted recently. If the file was a long time ago, or the source drive was formatted, it is recommended to use a segment mode with /r option (for NTFS drives only).

For example, you want to deeply scan a directory to find files with the specific extensions (Excel files: xls and xlsx). Use this command:

winfr C: P: /r /n \Sales\*.xls /n \Sales\*.xlsx

You can specify a part of a file name:

winfr C: P: /r /n *annual*

A signature mode is used to find deleted files on a disk with a file system other than NTFS. Typically, it is used to search removed files on USB flash drives, SD cards of phones or cameras. The /x option is used to perform a signature scan.

For example, you want to find deleted files on an SD card by JPEG or PNG signatures.

winfr E: K: /x /y:JPG,PNG /n \DCIM\

The table below shows the list of signatures available in Windows File Recovery and file types that belong to each signature.

Signature Name File Types
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 get some help on the advanced Windows File Recovery options as follows:

/p: - 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: - 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: - Disable specific extension(s) (default extension list no longer applies) (default/segment mode only) /s: - Number of sectors in volume (segment/signature mode only) /b: - Number of bytes in cluster (segment/signature mode only) /f: - First sector to scan (segment/signature mode only)

The built-in Windows File Recovery is quite a simple and effective tool to find and recover deleted files in Windows 10. If you have accidentally deleted an important file, now you don’t need to look for and install a third-party software (commercial as a rule) to scan your drive. Just install the tool winfr.exe from Windows Store or add it into your deployment Windows 10 image.

Windows File Recovery — бесплатная программа Microsoft для восстановления данных

Microsoft выпустила собственную программу Windows File Recovery для восстановления удаленных файлов, включая фото, документы и архивы с жесткого диска, флешки или карты памяти. Утилита доступна в магазине Microsoft Store и требует последней версии системы.

Использование Windows File Recovery для восстановления удаленных файлов

После установки бесплатной программы Windows File Recovery (используем поиск в магазине приложений Windows Store, установка возможна только в последней версии Windows 10) и её запуска вы увидите окно консоли с базовой информацией о том, как именно пользоваться утилитой. В настоящий момент доступен только текстовый интерфейс и только английский язык, возможно, в будущем это поменяется.

В общих чертах для восстановления данных с какого-то диска вам требуется ввести следующую команду:

winfr БУКВА_ДИСКА: ПУТЬ_К_ПАПКЕ_ДЛЯ_ВОССТАНОВЛЕНИЯ

например, winfr E: D:\Recovered — в этом примере будет выполнен поиск всех потерянных файлов на диске E и они будут восстановлены в папку D:\Recovered (восстанавливать файлы на тот же диск, с которого производится восстановление нельзя). Указываемую папку следует создать заранее.

Однако, есть и дополнительные возможности управления восстановлением с помощью передаваемых параметров:

    Параметр /x включает поиск по сигнатурам файлов и позволяет выполнять восстановление не только с NTFS, но и с разделов FAT32/ExFAT/ReFS. Это может пригодиться, например, для восстановления фото и других файлов с флешки или карты памяти. Пример:

winfr E: D:\Recovered /x
winfr E: D:\Recovered /x /y:JPEG,PNG
winfr E: D:\Recovered /n re*.doc*

Тест восстановления файлов

winfr E: D:/remontka.pro/ /x

то есть восстановление файлов по сигнатурам.

Как итог, результат оказался не хуже чем у многих других проверявшихся до этого как бесплатных, так и платных программ: все файлы JPG были восстановлены и исправно читаются, файл PSD не найден (но не исключено, что в будущем добавят сигнатуры и для него; сразу отмечу, что и из сторонних программ его обнаружили лишь единицы).

Отмечу, что за время тестов мне несколько раз попадались утилиты восстановления файлов, которые после форматирования в другую файловую систему и вовсе не могли ничего найти, в Windows File Recovery с этим порядок.

Видео с восстановлением данных в Windows File Recovery

А вдруг и это будет интересно:

  • Лучшие бесплатные программы для Windows
  • Компьютер не видит микрофон от наушников — варианты решения
  • Как скачать dinput8.dll для игр и программ
  • Как переименовать устройство в диспетчере устройств Windows
  • Внутренняя ошибка CallSpawnServer: Unexpected response — варианты решения
  • Как сканировать QR код на компьютере
  • Windows 11
  • Windows 10
  • Android
  • Загрузочная флешка
  • Лечение вирусов
  • Восстановление данных
  • Установка с флешки
  • Настройка роутера
  • Всё про Windows
  • В контакте
  • Одноклассники

    Лидия 30.06.2020 в 10:52

Comments are closed, but trackbacks and pingbacks are open.