Как восстанавливать файлы в Microsoft Windows File Recovery
Windows File Recovery — это официальный инструмент для восстановления удаленных файлов с жестких дисков, SD-карт, USB-накопителей и других носителей. Это подробное пошаговое руководство по использованию этой утилиты командной строки.
Про Windows File Recovery
Средство восстановления файлов Microsoft Windows не имеет графического интерфейса — это всего лишь утилита командной строки. Мы покажем вам, как его использовать, но это более сложный процесс, чем вы могли бы ожидать от официальной утилиты Microsoft, доступной в Магазине Windows 10.
Для этого инструмента требуется установленное майское обновление 2020 года для Windows 10 или более новая версия Windows 10. Он не работает в старых версиях Windows.
Может ли инструмент Microsoft действительно найти и восстановить удаленный файл, зависит от диска? Удаленные файлы не удаляются сразу с жестких дисков, но часто они сразу удаляются с твердотельных дисков. Если вы удалили много данных на устройстве, таком как SD-карта, то после удаления файла, вероятно, данные файла могли быть перезаписаны. Даже если вам удастся восстановить файл, вы можете получить только некоторые данные файла — файл может быть поврежден. Вы можете получить только те данные, которые еще находятся на диске. Здесь нет никаких гарантий, и поэтому резервные копии так важны.
Утилита также имеет несколько режимов, предназначенных для разных ситуаций и файловых систем. Мы как их использовать.
Как установить Windows File Recovery
Для начала установите Windows File Recovery из Магазина Microsoft, чтобы начать. Вы можете открыть Магазин и выполнить поиск «Windows File Recovery» или просто щелкнуть эту ссылку, чтобы открыть Магазин.
После установки откройте меню «Пуск» и выполните поиск и запустите ярлык Windows File Recovery один раз и нажмите «Да» для запроса UAC.
Вы увидите окно командной строки с доступом администратора. Здесь вы будете запускать команды восстановления файлов.
Вы можете использовать другие среды командной строки, такие как Windows Terminal и PowerShell , но не забудьте запустить их с правами администратора. (В меню «Пуск» щелкните правой кнопкой мыши тот файл, который хотите использовать, и выберите «Запуск от имени администратора».)
Как восстановить удаленные файлы в Windows 10
Чтобы использовать этот инструмент, вы запустите команду winfr, указав диск, на котором вы хотите найти удаленный файл, место назначения, куда вы хотите сохранить его, и различные ключи, которые управляют тем, что инструмент ищет и как он ищет. Вы должны сохранить удаленный файл на другой диск.
Вот формат команды:
winfr source-drive: destination-drive: /switches
После выполнения команды инструмент автоматически создаст каталог с именем Recovery_ [дата и время] на указанном целевом диске.
Какой режим использовать?
Прежде чем продолжить, вы должны определить режим, в котором вы хотите выполнить поиск удаленного файла. Существует три режима: Default , Segment и Signature . Default это самый быстрый режим, Segment похож на него, но медленнее и тщательнее. Режим Signature может искать файлы по типу — он поддерживает файлы ASF, JPEG, MP3, MPEG, PDF, PNG и ZIP. (При поиске файлов «ZIP» также будут найдены документы Office, хранящиеся в таких форматах, как DOCX, XLSX и PPTX.)
Вам нужно знать, в какой файловой системе отсканирован диск, который вы будете сканировать. Чтобы найти это, откройте проводник, щелкните правой кнопкой мыши диск в разделе «Этот компьютер» и выберите «Свойства». Вы увидите файловую систему, отображаемую на вкладке «Общие».
Вот когда вы должны использовать разные режимы:
- Вы пытаетесь найти файл, который вы недавно удалили, на диске, отформатированном в NTFS , которая является файловой системой Windows 10 по умолчанию? Используйте режим Default.
- Если вы сканируете диск NTFS в другой ситуации — например, если вы удалили файл некоторое время назад, отформатировали диск или имеете дело с поврежденным диском — сначала попробуйте режим Segment, а затем — режим Signature.
- Вы пытаетесь найти файл, сохраненный на диске FAT , exFAT или ReFS ? Используйте режим Signature. Режимы Default и Segment работают только в файловых системах NTFS .
Если у вас есть сомнения, просто начните с режима Default. Затем вы можете попробовать Segment, а затем Signature, если режим по умолчанию не работает.
Как восстановить файл в режиме Default
Чтобы использовать режим Default, нужно написать /n, а затем путь поиска:
- Для поиска файла с именем document.docx вы должны использовать /n document.docx. Вы также можете указать полный путь к файлу, например /n \Users\Alex\Documents\ document.docx
- Чтобы найти все файлы, которые были в папке «Документы», если ваше имя пользователя — Alex, вы должны использовать /n \Users\Alex\Documents.
- Для поиска с wildcard используйте звездочку *. Например, /n \Users\Alex\Documents\*.docx найдет все файлы DOCX, которые были в папке «Документы».
Давайте соединим все это сейчас в примере. Чтобы найти все файлы DOCX на диске C: и скопировать их на диск D:, вы должны выполнить следующую команду:
Вам нужно будет набрать y, чтобы продолжить.
Как мы упоминали выше, вы найдете восстановленные файлы в каталоге с именем Recovery_ [дата и время] на целевом диске, который вы указали в командной строке.
Чтобы найти все файлы со определенным словом в названии, используйте wildcard. Итак, чтобы найти все документы со словом «project» в любом месте в их имени, вы должны выполнить:
winfr C: D: /n *project*
Вы можете указать несколько поисков за раз с помощью нескольких ключей /n. Итак, чтобы найти все файлы Word, Excel и PowerPoint, вы должны выполнить следующее:
winfr C: D: /n *.docx /n *.xlsx /n *.pptx
Чтобы найти определенный файл с именем important_document.pdf, находящийся в папке \Users\Alex\Documents на диске C:, а затем сохранить его на диске D: вы должны использовать:
winfr C: D: /n \Users\Alex\Documents\important_document.pdf
Как восстановить файл в режиме Segment
Режим Segment работает почти так же, как режим Default. Чтобы использовать режим Segment, который проверяет сегменты записи файла, нужно использовать /r в дополнение к /n.
Другими словами, вы можете создавать команды восстановления в режиме Segment так же, как вы строите команды режима Default — просто добавьте /r.
Например, чтобы восстановить все удаленные файлы MP3 с вашего диска C: и сохранить их на диске D: вы должны выполнить:
Поэтому, если поиск в режиме Default не находит того, что вы ищете, добавьте /r и попробуйте снова.
Как восстановить файл в режиме Signature
Режим Signature работает немного по-другому. Он проверяет типы файлов, поэтому он может найти только удаленные файлы определенных типов файлов. Чтобы использовать режим Signature, вам нужно использовать /x, чтобы указать режим Signature, и /y: чтобы указать список групп типов файлов, которые вы хотите найти.
Вот список поддерживаемых типов файлов и групп, в которые они отсортированы, взяты из документации Microsoft:
- 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
Обратите внимание, что группа «ZIP» включает ZIP-файлы в дополнение к документам Microsoft Office и OpenDocument.
Вы можете открыть этот список в любое время, выполнив следующую команду:
Допустим, вы хотите найти на диске E: изображения в формате JPEG и сохранить их на диске D:. Вам нужно запустить следующую команду:
Вы можете указать несколько групп файлов, разделяя их запятой. Итак, если вы хотите найти файлы JPEG, PDF и Word, вы должны выполнить:
winfr E: D: /x /y:JPEG,PDF,ZIP
Больше помощи с winfr
Более подробная информация доступна на официальной странице документации Microsoft winfr . На этой странице вы также найдете подробный список всех параметров командной строки winfr.
Для того чтобы изучить основы, просто запустите winfr или winfr /?.
Есть также дополнительные параметры, которые вы можете увидеть, запустив winfr /! .
В Microsoft Store появилось фирменное приложение для восстановления данных
При удалении фалов в операционной системе Windows, они сначала попадают в корзину, поэтому пользователи могут легко их восстановить. Если корзина переполнена, система удаляет файлы безвозвратно — в таком случае вернуть их можно с помощью специальных утилит от сторонних разработчиков. Ранее Microsoft подтвердила, что работает над собственным решением для восстановления данных на основе командной строки, и такой инструмент уже появился в магазине приложений софтверного гиганта.
Приложение называется Windows File Recovery, в описании к нему говорится, что инструментом можно воспользоваться для восстановления удалённых или повреждённых данных на жёстком диске, флеш-накопителе или карте памяти. Поддерживаются множество типов файлов, включая JPEG, PDF, PNG, MPEG, MP3, MP4, ZIP, файлы пакета Microsoft Office, а также файловые системы NTFS, FAT, exFAT и ReFS. Стоит отметить, что эта утилита не поддерживает работу с сетевыми и облачными хранилищами.
Приложение на текущий момент предназначено для продвинутых пользователей, использовать его должным образом получится лишь у тех, кто имеет опыт работы с классической командной строкой или PowerShell. Чтобы воспользоваться утилитой, необходимо открыть окно командной строки и ввести команду в таком формате:
- winfr исходный диск: целевой диск: [/команды]
Исходный диск, где находился удалённый файл, и целевой диск, куда он будет восстановлен, должны отличаться. Также есть возможность использовать фильтр и указать конкретное местоположение файла. Например, чтобы восстановить файл Example.jpeg, находившийся по пути C:\Downloads, в папку на диске E, необходимо ввести следующую команду:
- winfr C: E: / n \ Users \ \Downloads\Example.jpeg
Windows File Recovery автоматически создаёт папку с восстановленными файлами на целевом диске. Примечательно, что Microsoft ещё официально не объявила о выпуске этого инструмента, но приложение доступно совершенно бесплатно всем пользователям устройств под управлением Windows 10 (сборки 19041 и выше).
22 Best Free Data Recovery Software Tools
Reviews of the best free file recovery and undelete software for Windows
Many free data recovery programs exist that can help recover your accidentally deleted files. These file recovery programs can help you recover, or «undelete» files on your computer.
Files you have deleted are often still present on your hard drive (or USB drive, media card, smartphone, etc.) and can be recovered using free data recovery software.
Data recovery software is just one way to go. See How to Recover Deleted Files for a complete tutorial, including how to avoid common pitfalls during the file recovery process.
Undelete files you thought were gone forever with any one of these freeware data recovery tools. Recover documents, videos, images, music/audio files, and more.
Recuva
Portable option is available
Lots of advanced options
A wizard walkthrough makes it easy to use
Works on most Windows operating systems
Last updated in 2016
Recuva is the very best free data recovery software tool available, hands down. It’s very easy to use but has many optional advanced features as well.
Recuva can recover files from hard drives, external drives (USB drives, etc.), BD/DVD/CD discs, and memory cards. Recuva can even undelete files from your iPod!
Undeleting a file with Recuva is as easy as deleting one! We highly recommend that you try Recuva first if you need to recover a file.
Recuva will undelete files in Windows 10, Windows 8 & 8.1, 7, Vista, XP, Server 2008/2003, and older Windows versions like 2000, NT, ME and 98. 64-bit Windows versions are also supported. There is also a 64-bit version Recuva available.
Piriform provides both an installable and a portable version of Recuva. We tested file recovery with Recuva v1.53.1087 using their portable version on Windows 8.1.
Download For:
EaseUS Data Recovery Wizard
You can back up the scan results to restore files later without having to rescan the whole drive
Works on Windows and macOS
Lets you sort files by file type, date it was removed, and name
File recovery is easy because you can browse the folders like you would in Explorer
Supports previewing files prior to restoration
Only 2 GB of data can be recovered
No portable version
EaseUS Data Recovery Wizard is another great file undelete program. Recovering files is very easy to do with just a few clicks.
Our favorite aspect of EaseUS Data Recovery Wizard is that the user interface is structured much like Windows Explorer. While that may not be everyone’s ideal way to display files, it’s a very familiar interface that most people are comfortable with.
EaseUS Data Recovery Wizard will undelete files from hard drives, optical drives, memory cards, iOS devices, cameras, and pretty much anything else that Windows sees as a storage device. It also does partition recovery!
Please know that Data Recovery Wizard will only recover a total of 500 MB of data before you’ll need to upgrade (or up to 2 GB if you use the share button in the program to post about the software on Facebook, Twitter, or Google+).
We almost didn’t include this program because of that limitation but since most situations call for undeleting much less than that, we’ll let it slide.
Data Recovery Wizard supports macOS 10.15–10.9 and Windows XP–10, as well as Windows Server 2012, 2008, and 2003.
Download For:
Puran File Recovery
Two ways to view the list of deleted files
Supports running as a portable version
Scans NTFS and FAT12/16/32 file systems
It’s easy to see whether the file can be recovered well
Free for home use only, not commercial/business
Hasn’t been updated since 2016
Puran File Recovery is one of the better free data recovery programs we’ve seen. It’s very easy to use, will scan any drive that Windows sees, and has a lot of advanced options if you need them.
One particular thing to note is that Puran File Recovery identified more files on our test machine than most other tools, so be sure to give this one a shot in addition to Recuva if it didn’t find what you were looking for.
Puran File Recovery will even recover lost partitions if they haven’t been overwritten yet.
Puran File Recovery works with Windows 10, 8, 7, Vista, and XP. It’s also available in a portable form for both 32-bit and 64-bit versions of Windows, so it doesn’t require installation.
Download For:
Disk Drill
Organizes deleted files by category for easier viewing
Lets you filter the results by size and/or date
Supports a quick scan and a deep scan mode
Works with several different file systems
Lets you recover only 500 MB of data
Has to be installed to the HDD (no portable version)
You can’t see how recoverable a file is before restoration
Disk Drill is an excellent free data recovery program not only because of its features but also due to the very simple design, making it almost impossible to get confused.
According to their website, Disk Drill can recover data (up to 500 MB) from «virtually any storage device,» such as internal and external hard drives, USB devices, memory cards, and iPods.
Disk Drill can also preview files before recovering them, pause scans and resume them later, perform partition recovery, back up an entire drive, filter files by date or size, run a quick scan versus a full scan for faster results, and save scan results so you can easily import them again to recovery deleted files at a later time.
Disk Drill works with Windows 7 and newer, and macOS 10.8.5 and newer.
Pandora Recovery was another file recovery program but it now exists as Disk Drill.
Download For:
Glary Undelete
Explains very clearly whether the file will recover fully
The download file is small
Viewing the list of deleted files is easy and user friendly
The program hasn’t updated in a long time
Can’t be used portably, so you have to install it
Setup attempts to install another program with Glary Undelete
Glary Undelete is an excellent free file recovery program. It’s very easy to use and has one of the better user interfaces that we’ve seen.
The biggest advantages in Glary Undelete include the easy «Folders» view, an Explorer-style view of recoverable files, and a prominent «State» indication for each file, suggesting how likely a successful file recovery will be.
One disadvantage of Glary Undelete is that installation is required before you can use it. Another is that you’re asked to install a toolbar, but you can, of course, decline if you don’t want it. Aside from those facts, Glary Undelete is top-notch.
Glary Undelete can recover files from hard drives and any removable media you might have including memory cards, USB drives, etc.
Glary Undelete is said to work in Windows 7, Vista, and XP, but it also works fine in Windows 10, Windows 8, and versions older than Windows XP. We tested Glary Undelete v5.0 in Windows 7.
Download For:
SoftPerfect File Recovery
It’s really easy to use
Works from any portable location like a flash drive
You can search for deleted files by file extension and file name
Lets you restore more than one file simultaneously
Supports only two file systems (however, they are the most popular)
You can’t preview an image file before restoring it
Unlike most file recovery tools, this one doesn’t let you see how successful the file recovery will be
SoftPerfect File Recovery is another superb file undelete program. It’s very easy to search for recoverable files. Anyone should be able to use this program with very little trouble.
SoftPerfect File Recovery will undelete files from hard drives, memory cards, etc. Any device on your PC that stores data (except for your CD/DVD drive) should be supported.
SoftPerfect File Recovery is a small, 500 KB, standalone file, making the program very portable. Feel free to run File Recovery from a USB drive or floppy disk. Scroll down a bit on the download page to find it.
Windows 8, 7, Vista, XP, Server 2008 & 2003, 2000, NT, ME, 98, and 95 are all supported. According to SoftPerfect, 64-bit versions of Windows operating systems are also supported.
We tested SoftPerfect File Recovery v1.2 in Windows 10 without any issues.
Download For:
Wise Data Recovery
Scans for deleted files quickly
There’s a portable option
Works with Windows 10 through XP
When undeleting files, the original folder structure isn’t retained
Doesn’t work on Mac or Linux
Can’t know a file’s chance of usability before undeleting it
Wise Data Recovery is a free undelete program that’s really simple to use.
The program installed very quickly and scanned our test PC in record time. Wise Data Recovery can scan various USB devices like memory cards and other removal devices.
An instant search function makes it really quick and easy to search for deleted files that Wise Data Recovery has found, and there’s both a quick and a full scan option depending on how deep of a scan you want to perform.
Wise Data Recovery works with Windows 10, 8, 7, Vista, and XP. There’s also a portable version available.
Download For:
Restoration
Really easy to use
Several ways to sort the results
Can search for empty deleted files
Lets you overwrite the deleted data
Supports up to Windows XP (officially; but still works on some newer OSs)
Can’t restore a whole folder at once, just single files
Doesn’t say how recoverable the file is before you restore it
The Restoration data recovery program is similar to the other free undelete apps on this list.
The thing we like most about Restoration is how incredibly simple it is to recover files. There are no cryptic buttons or complicated file recovery procedures — everything you need is on one, easy to understand program window.
Restoration can recover files from hard drives, memory cards, USB drives, and other external drives.
Like some of the other popular data recovery tools on this list, Restoration is small and does not need to be installed, giving it the flexibility to be run from a floppy disk or USB drive.
Restoration is said to support Windows Vista, XP, 2000, NT, ME, 98, and 95. We successfully tested it with Windows 7, and didn’t run into any problems. However, v3.2.13 didn’t work for us in Windows 10 or 8.
Download For:
FreeUndelete
Can undelete files from a variety of storage devices
Simple user interface that isn’t hard to understand
There’s a portable option
Helpful filtering and sorting options
Restores entire folders at once, as well as single or multiple files
Lets you know how successful the recovery will be before starting
Works for home users only, not business/commercial settings
FreeUndelete is self-explanatory — it’s free and it undeletes files! It’s very similar to other undelete utilities around this rank on our list.
The major advantage of FreeUndelete is it’s easy to use interface and «folder drill down» functionality (i.e., files available for recovery are not shown in a big, unmanageable listing).
FreeUndelete will recover files from hard drives, memory cards, and other similar storage devices in, or connected to, your PC.
FreeUndelete works on Windows 10, 8, 7, Vista, and XP.
Download For:
iCare Data Recovery Free
Portable version is available
Lets you preview files
Search through the results list
Supports lots of file types
Can’t pause a scan and resume it later
Runs on Windows only
iCare Data Recovery Free has two scan options, so you can pick between a quicker scan type that might not catch everything, and a deeper scan that takes longer to complete but will likely locate more deleted files.
One of this program’s best features is the ability to preview text and image files. You can even browse deleted folders in thumbnail view to quickly see which files you want to undelete.
Several hundred file types are supported, so you can bet that iCare Data Recovery Free can probably recover anything you’ve deleted.
Windows users can download this program as a portable tool or a normal, installable program.
Download For:
Windows File Recovery
Works with internal and external drives, including SD cards.
Requires Windows 10.
Works over the command line.
Must restore to a different drive.
Even Microsoft has a tool for data recovery, but it’s not as easy to use as most of these other programs. This one runs over the command line, so you have to type out everything you want to do. It’s still pretty easy to use, though.
To undelete files this way, download and install Windows File Recovery and then search for it in the Start menu to open in. Once you’re on a screen like you see above, you could enter a command like this to recover PNG images from your C drive’s Downloads folder and copy them to the Images folder on a drive called E:
Since this is a bit more of a process than using a standard application where you can point and click on buttons and menus, check out Microsoft’s help page for other examples and more information. It explains how to recover single files or multiple file types at once, how to use wildcards, and more.
Only Windows 10 users can download this tool.
Download For:
ADRC Data Recovery Tools
Extremely small file size
Works from any portable location (doesn’t need to be installed)
Really simple user interface that’s easy to grasp
Doesn’t work in Windows 10 or Windows 8
Hasn’t been updated since 2008
ADRC Data Recovery Tools is another great, free file recovery program. File recovery with this program is uncomplicated and could probably be accomplished by the average computer user without any kind of documentation.
ADRC Data Recovery Tools should be able to undelete files from any non-CD/DVD storage device like memory cards and USB drives, as well as hard drives, of course.
ADRC Data Recovery Tools is a standalone, 132 KB program making it a very portable data recovery tool that will easily fit on any removable media you might have.
Data Recovery Tools officially supports Windows XP, 2000, and 95 but we successfully tested data recovery with this program on Windows Vista and Windows 7.
We also tested ADRC Data Recovery Tools v1.1 in Windows 8 and 10 but was unable to get it to work.
Download For:
CD Recovery Toolbox
Designed specifically to undelete files from discs
Program is simple to use
Supports several Windows operating systems
Won’t recover files from hard drives (because it isn’t built for that purpose)
CD Recovery Toolbox is a completely free and very unique file recovery program. CD Recovery Toolbox is designed to recover files from damaged or corrupted optical drive discs — CD, DVD, Blu-Ray, HD DVD, etc.
According to the publisher, CD Recovery Toolbox should help recover files from discs that have been scratched, chipped, or have surface spotting.
One obvious con is the inability of CD Recovery Toolbox to recover files from hard drives or portable media drives. However, the program isn’t designed to do that so we haven’t held that fact against it.
CD Recovery Toolbox works in Windows 10, 8, 7, Vista, XP, Server 2003, 2000, NT, ME and 98. We tested CD Recovery Toolbox successfully in Windows 7.
Download For:
UndeleteMyFiles Pro
Walks you through a short wizard to undelete files
Includes a unique feature that lets you restore deleted files from a system backup
Lets you browse the deleted files in two view modes
The search tool supports searching for deleted files by attribute, size, etc.
Also lets you delete files permanently
Doesn’t work as advertised in Windows 10
The recoverability state of the file isn’t shown, so you don’t know whether it will be usable upon recovery
UndeleteMyFiles Pro is another free file recovery program. Don’t let the name fool you — it’s entirely free even though it says «Pro.»
Tree View and Detailed View are the two viewing perspectives you can choose from. You can also preview files, which sounds nice, but all it does is restores the data to a temporary folder and then opens it.
Emergency Disk Image is one of the included tools in UndeleteMyFiles Pro. This tool takes a snapshot of your entire computer, places all the data in one file, and then lets you work through that file to find deleted data that you want to restore. This is very handy because after the image file has been made, you don’t need to worry that new data written to your hard drive will replace any important deleted files.
There’s a nice search option in UndeleteMyFiles Pro that lets you search by file location, type, size, and attributes.
Something we really didn’t like about UndeleteMyFiles Pro is that the recovery process doesn’t tell you if a file is in a good state of being recoverable like most of the other software in this list.
We tested UndeleteMyFiles Pro in Windows 8 and XP, and it worked as advertised, so it should also work in other versions of Windows. However, we also tested v3.1 in Windows 10 and found that it didn’t work as it should.