NTFS Deleted File Recovery (Windows, from a Disk Image)
Undelete files from an image of a Windows-formatted drive, with their names and folders.
Free preview.
- Free preview: every file found with its name, folder, size and condition, small watermarked thumbnails and the first half of each video (up to 10 seconds), marked.
- Locked until you unlock it: download and saving to your device.
- Unlock: Ultimate pass, ₹1,199 for 30 days, a one-time payment that never renews.
Ways to unlock shows how to get the full result.
Printing this result is locked in the free preview.
Before you scan
- Stop using the card or drive now. Deleted data is still there only until something new is written over it: every photo, file or update saved to it now can land on the space a deleted file used.
- Save the image and the recovered files on a different drive. Writing to the card or drive you are recovering overwrites the very data you want back.
- Is it an SSD inside a computer? Windows (7 and later) and Macs with Apple SSDs send a TRIM command as soon as a file is deleted, and the SSD then erases those blocks, so files deleted from an internal SSD are almost always gone. Over USB, TRIM support is newer and patchier, so an external SSD has a fair chance. R-Studio: data recovery from SSDs · DiskDigger: TRIM over USB
- Was it a full format? A full format (for example Windows format /P, or a “zeroing” or secure erase) writes over every sector, so nothing is left. A quick format replaces only the file system’s tables and usually leaves the files’ data in place. Microsoft: the format command
- Is it encrypted (BitLocker, FileVault, or a card that its device encrypted)? An encrypted volume is unreadable without its key, and this page does not decrypt volumes.
- Is the card or drive failing (clicking, read errors, disconnecting)? Apple’s Disk Utility guide says not to make a disk image of a disk you believe to be failing. Use GNU ddrescue, which copies the good parts first and keeps a mapfile so it can resume, or a data recovery lab. Apple: create a disk image with Disk Utility
- Nothing is uploaded. The image is read on your device, a few megabytes at a time, by code that runs in this page. No file data leaves it.
- Use it only on cards and drives you own or may examine. Deleted files can be private: recover them only from your own cards and drives, or with their owner’s permission. This page never cracks passwords and never unlocks devices.
A web page cannot read a card, USB stick or disk directly, so you first make an image of it: a single file with every sector, made with a disk-imaging program. The Data Recovery Assistant shows how, step by step, and lists the routes worth trying before that (the Recycle Bin, cloud trash folders, backups).
What this page works on
- External hard disks and USB drives formatted with NTFS (how Windows formats them), as a disk image. Imaging the running C: drive of a computer is hard and its SSD has usually erased deleted files already, so it is not a good candidate.
- The image needs room: a drive of 1 TB makes an image of 1 TB, saved on another drive.
- Windows reuses the records of deleted files. A file whose record was reused for a new file has lost its name and place; the deep scan can still find photos, videos and documents by their content.
- If Windows still opens the drive, try the Recycle Bin and Microsoft’s own Windows File Recovery first, which need no image: the Data Recovery Assistant builds its command.
Choose the disk image
For a memory card or a USB stick formatted with FAT or exFAT, open SD Card & USB Drive Recovery; for any other drive, the deep scan reads every sector, whatever the file system.
Find the deleted files
Not what you were looking for? The deep scan searches every sector of the image for photos, videos and documents by their content, also where the file table no longer lists them.
Files found
No file matches these filters.
Save the selected files
Pick a folder on a different drive from the one you are recovering, so nothing is written over the data you want back. The browser cannot tell which drive a folder is on.
Saving to a folder needs a browser that can write into a folder you choose (Chrome or Edge); the ZIP works in every browser and keeps the files’ original dates.
Locked in the free preview. Opens the ways to unlock this result.
Locked in the free preview. Batch runs unlock with a pass.
Locked in the free preview. Query results unlock with a pass.
About the NTFS Deleted File Recovery (Windows, from a Disk Image)
First make a disk image of the drive: one file that holds every sector of it, made with a disk-imaging program and kept on another drive with room for it (the Data Recovery Assistant shows the steps for Windows, macOS and Linux). Then open the image here. The page reads the drive’s NTFS file table (the $MFT) the way Microsoft documents its structures and lists the files that were deleted, with their names, folders, sizes and dates, and how likely each one is to be whole.
On NTFS a deleted file keeps its record in the file table until Windows needs the record for a new file, and that record still says exactly which clusters held the file, also when it was stored in many fragments. Files emptied from the Recycle Bin get their original names and folders back. Then each photo, video, PDF, ZIP archive and Office file (.docx, .xlsx, .pptx) found is checked by its own content (a photo is read to its end, a video’s index is read, an Office file is opened) and marked Opens fully, Partly damaged or Can’t be opened; kinds of file the page cannot check, such as plain text, are marked Not checked. Nothing is uploaded: the image is read on your device, a few megabytes at a time.
How to use it
- Stop using the drive, and make an image of it on a different drive (the Data Recovery Assistant gives the exact steps). If Windows still opens the drive, try its Recycle Bin and Microsoft’s Windows File Recovery first: they need no image.
- Read the checklist above the scanner (SSD, full format, BitLocker, a failing drive): it says when there is nothing left to find.
- Choose the image file (.img, .dd, .bin, .raw, or an image saved in parts, .001, .002 …, chosen together). The page shows the partitions it found, with each NTFS volume’s name, size and cluster size.
- Press Find deleted files. Tick Also search the whole volume for file records a quick format left behind if the drive was formatted: that reads every sector and takes longer.
- Filter the list by kind or condition, look at the thumbnails, play the first seconds of the videos, and select the files you want.
- With an Ultimate pass, save them to a folder on another drive (Chrome or Edge on a computer) or as a ZIP; without one, the list, the checks and the watermarked previews are the free preview.
Examples
backup.img (an image of a 1 TB external disk), the folder Photos/2023 deleted without the Recycle Bin
Photos/2023/IMG_4012.JPG · 4.1 MB · Opens fully: its data checks out from start to end
Deleting a folder frees the records of the folder and of every file in it, but the records still name each other, so the files come back in their folders.
The Recycle Bin of drive E: emptied; its items $R4QK2ZB.docx and $I4QK2ZB.docx are deleted records
Documents/Quarterly report.docx (emptied from the Recycle Bin; was E:\Documents\Quarterly report.docx, deleted 2024-06-02 09:30)
Windows renames a file it moves to the Recycle Bin and keeps its original path in a small $I file beside it. The page reads that file, also after the bin was emptied, and puts the original name and folder back.
usb-disk.img, formatted as NTFS again by mistake
Lost folders/Projects/plan.xlsx · Opens fully · from a lost folder (with the whole-volume search ticked)
A quick format writes a new, small file table over the start of the old one; the old records beyond it are still on the disk, with the clusters of their files.
Common uses
- Getting back photos, videos and documents deleted from an external hard disk or a large USB drive used with Windows.
- Restoring files after the Recycle Bin was emptied, under their original names and folders.
- Rescuing the files of a drive Windows says needs formatting, when its file table can still be read (tick “Also list files that were not deleted”).
- Checking which deleted files are still whole before deciding what to save.
Why you need an image first
A web page cannot read a disk or USB drive sector by sector, and no browser setting changes that: the WebUSB standard does not let a page claim USB mass-storage devices, and the File System Access API gives pages files and folders, never raw devices. A disk image (a file with every sector of the drive, deleted areas included) is what recovery needs, and imaging is also the safe way to work: the drive is read once and never written to, and every later step works on the copy.
The image needs space on another drive at least as large as the drive itself: a 1 TB disk makes a 1 TB image. Large disks take hours to image.
How deleted files are found on NTFS
Every file and folder on an NTFS volume has a record in the master file table ($MFT), usually 1 KB long, with its names, times, size and data runs: the list of cluster ranges that hold its data. Deleting a file clears the record’s in-use flag and marks its clusters as available again, so, as Microsoft puts it, “the file data can still exist and be recovered” until something new is written there (Windows File Recovery). The record’s sequence number goes up by one when it is freed (FILE_RECORD_SEGMENT_HEADER), which lets the page tell a folder that was deleted from one whose record now belongs to something else.
The page reads every record, restores the two bytes at the end of each 512-byte stride from the record’s update sequence array (MULTI_SECTOR_HEADER), decodes the data runs (ATTRIBUTE_RECORD_HEADER), and rebuilds each file’s folders from the parent references in its names (FILE_NAME). Small files are stored inside their record and are read from it exactly. Files with very many fragments, whose runs continue in a second record, are joined in order.
What the conditions mean
- Opens fully: the file’s own structure checks out from its first byte to its last (a JPEG to its end marker, every PNG chunk checksum, a video’s index and data, every file inside a DOCX or ZIP).
- Partly damaged: it starts correctly, but part of it is missing or was written over; or some of its clusters now belong to other files.
- Can’t be opened: its first cluster now belongs to another file, so what is there is someone else’s data, or its data cannot be saved here (NTFS compression, EFS encryption).
- Not checked: a kind of file whose content the page cannot check (text files, for example). The note says whether another file uses its clusters now.
The volume’s cluster map ($Bitmap) says which clusters are in use today. When two deleted files claim the same clusters, the one that wrote last is taken to have written over the other, by the later of the time it was created on this drive and the time it was last modified (a copy is new on the drive but keeps the original’s modified time; an older file that grew later wrote its new clusters when it was modified).
Measured on test images
NIST’s CFReDS deleted-file-recovery test images include 24 NTFS volumes made with Windows, with NIST’s record of every file deleted from them and the sectors it used. On 20 of them NIST deleted 1,257 files to test recovery; 698 of those still had their record in the file table, and the page lists all 698 in their folders:
- 663 came back with every block in place (NIST tags each 512-byte block with its file and position): a file of 512 MB, files in up to five fragments, files stored inside their record, 260 files deleted from one folder, names in Devanagari, Arabic, Hebrew, Cyrillic, Korean, Japanese and Chinese characters, and one emptied from the Recycle Bin under its original path;
- 31 were marked as written over by later files, which they were, also where an older file had grown into the space of a newer one;
- 3 were marked as NTFS-compressed, which this page does not save;
- 1 had been written over by a file whose own record was later reused too: nothing on the volume records that, so the page listed it as whole.
The other 559 had lost their records to newer files, so the file table no longer says where their data was. Another image, dfr-14, tests links and extra streams: of its 15 deleted names, the page lists the 10 files they belonged to that are still in the file table (one file had two names), 8 of them whole and 2 symbolic links, which hold no data; extra data streams attached to a file are not listed, and two of the names had been removed from files that are still on the drive under another name. On the three images without deleted files the page lists nothing, and with “Also list files that were not deleted” ticked it lists every file, also 1,022 files in nine folders and folders nested nine deep. These images and checks are part of the page’s automated tests (as small extracts; for the 512 MB file, its sectors and its first and last blocks), together with volumes built in code (quick-formatted, Recycle Bin versions 1 and 2, damaged boot sectors, interrupted record writes, drives with 4 KB sectors).
Microsoft and Windows are trademarks of the Microsoft group of companies; MySmartCoPilot is not affiliated with Microsoft.
Limitations
- Works on disk images only, not on drives directly (browsers do not allow it). Raw images (.img, .dd, .bin, .raw, .iso), raw images saved in parts (.001, .002 …) and fixed-size VHD files open directly; E01, VHDX, dynamic VHD and other formats must be converted to raw first (the page says how).
- NTFS only. Memory cards and USB sticks formatted with FAT or exFAT are undeleted by SD Card & USB Drive Recovery; Mac and Linux drives, and NTFS files whose records were reused, by the deep scan, which finds photos, videos and documents by their content.
- Windows reuses the records of deleted files for new ones. A file whose record was reused has lost its name and the list of its clusters, so it is not listed here.
- A file written and deleted after another one may have used its clusters; when that file’s record was reused too, nothing on the volume records it. The content check catches this for photos, videos and documents, not for plain text.
- Data that has been written over cannot be recovered by any software. A full format (format /P), a secure erase, or TRIM on an SSD inside a computer leave nothing to find: for deleted files on internal SSDs, recovery is “almost always impossible” (R-Studio on SSD recovery).
- BitLocker volumes cannot be read without their key, and this page does not decrypt them. Unlock the drive in Windows, then image the unlocked volume (by its drive letter), not the physical disk, whose sectors stay encrypted; or run Windows File Recovery on the unlocked drive.
- Files that NTFS compressed (“Compress contents to save disk space”) or encrypted with EFS are listed but cannot be saved here.
- The search of the whole volume skips file records inside files the drive holds now, such as the virtual disk of a system image backup: their cluster numbers belong to that virtual disk, not to the drive. Copy or save the virtual disk itself and open it here as an image (a fixed-size .vhd opens directly; a .vhdx must be converted first).
- Extra data streams that NTFS lets programs attach to a file (alternate data streams, such as the mark Windows adds to downloaded files) are not listed: the file’s own content is. Symbolic links and other reparse points are listed with their names only, as they hold no data of their own.
- A web page cannot set a file’s date: files saved to a folder carry the day they were saved. The ZIP keeps the original dates, shown in this computer’s time zone.
Privacy
The image is read by your browser on your device, a few megabytes at a time, in background workers; no part of it or of the files in it is sent anywhere.
Frequently asked questions
What do I get without a pass?
Without a pass, NTFS Deleted File Recovery (Windows, from a Disk Image) shows every file found with its name, folder, size and condition, small watermarked thumbnails and the first half of each video (up to 10 seconds), marked. Until you unlock it, the result can’t be downloaded or saved to your device. An Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.
Can this page scan my external hard drive directly?
No. Browsers do not let web pages read storage devices sector by sector (the WebUSB standard blocks USB mass-storage devices), so you make an image of the drive first and open that. The Data Recovery Assistant shows how on Windows, macOS and Linux, with the commands to copy.
Should I try Windows File Recovery first?
If Windows still opens the drive, yes: Microsoft’s Windows File Recovery is a command-line program that searches the drive itself, so you need no image and no room for one. Recover to a different drive. The Data Recovery Assistant builds the command. Use this page when you have an image, when Windows cannot open the drive, or when you want to see each file’s condition before saving.
Can it get back files I emptied from the Recycle Bin?
Often, yes. Emptying the bin deletes the renamed file ($R…) and the small $I… file that holds its original path. Both records usually stay in the file table for a while, so the page lists the file under its original name and folder, with the time it was deleted, until Windows reuses the records or the clusters.
What does “Lost folders/Folder 1234” mean?
The file’s folder was deleted too, and the folder’s record has since been reused for something else, so its name is gone. The files that were in it are kept together under the number of that old record, so you can still tell which files belonged together.
Does it work after a quick format?
Tick Also search the whole volume for file records a quick format left behind. A quick format writes a new, small file table; records of the old one beyond it are still on the disk with their files’ cluster lists, and the page reads every sector to find them. Their files are listed under Lost folders. After a full format (format /P writes zeros over every sector) nothing is left.
Why are files from an internal SSD missing or empty?
Windows sends the TRIM command to an SSD as soon as files are deleted, and the SSD then clears those blocks: reading them gives “garbage or zeros” (R-Studio on SSD recovery), even when the files’ records are still in the file table. External hard disks do not do this, and over USB TRIM is newer and not supported by every connection, so a file deleted from an external SSD has a fair chance (DiskDigger on TRIM).
Where should I save the recovered files?
On a different drive from the one you are recovering: saving onto the same drive could overwrite the deleted data you are trying to get back.
Is anything uploaded?
No. The image never leaves your device: the page reads it in pieces with your browser and processes it in background workers. It works offline once the page has loaded.