You deleted a folder from a USB stick, emptied nothing, and now you want the files back exactly as they were, not as “something that opens”. This walkthrough recovers deleted files from an exFAT stick and from a FAT32 stick with Loosha Data Recovery 1.4.3, then proves each result with SHA-256 against the original.

Every step below was run on the two sample images you can download, with the Wizard (Source, Scan, Files, Recover) and with the CLI. Use the images to practise before you touch a real stick: they are ordinary raw disk images, so nothing on your computer is changed.

Download the exFAT stick image Download the FAT32 stick image Download Loosha Data Recovery

Before you start

Stop writing to the stick. Every new file can land on the clusters of a deleted one. Recover to a different physical disk: Loosha opens the source read-only and refuses a destination on the same disk, as you will see in step 4.

Check the download first. The binaries are not code-signed, so compare the SHA-256 with the one on the product page:

Get-FileHash .\LooshaDataRecovery.exe      # Windows PowerShell
sha256sum loosha-data-recovery              # Linux

What is on the sample sticks

Each zip holds one 129 MiB raw image (usb-exfat.img or usb-fat32.img) with an MBR and one partition starting at 1 MiB. Files were copied on, some were deleted, and two new files were written afterwards, the way a real stick gets used.

FileStateSHA-256 (first 16)
Lake Garda – sunset over Sirmione (2026).jpgdeleted (Unicode long name)afc19fa4c5e5f845
Quarterly report Q3 2026 final v2.pdfdeleted68bb8ee384e73386
Project Alpha – client documents/Budget spreadsheet with a very long file name 2026-11.csvdeleted, inside a folder3c852865bae493d7
IMG_2041.JPGdeleted, then overwritten by a new download0f5f1a4a27410857
holiday-2026-08-14-family-picnic-at-the-old-harbour.jpglive181c18fb83356d7d
notes.txt, empty.loglive8d1c441af7e2228f, e3b0c44298fc1c14
Project Alpha – client documents/Signed contract scans.ziplive3b699a47973e3adf
Downloads/new-download.binlive, written after the deletes4782ad491c7cb08c

Three deleted files should come back byte for byte. IMG_2041.JPG should not: its clusters now belong to new-download.bin, and a tool that hands it back is handing you someone else’s bytes.

Step 1 — Source

Unzip the image to any folder. Start LooshaDataRecovery.exe; the Wizard opens on 1 Source. Click Choose image… and pick usb-exfat.img (or type its path). The banner at the top reads “Read-only: the source is never written”. For a real stick you would use Choose disk… in the same step instead. The same page offers a read-only health check, which for a stick you can skip.

Loosha Data Recovery 1.4.3 Wizard, step 1 Source, with the exFAT sample image selected and the read-only banner at the top

Step 2 — Scan

Click Scan this image. Loosha reads the whole image looking for filesystems. In our tests the 129 MiB sample took about a second; a large stick takes about as long as reading it once. Two rows appear: exFAT at byte offset 1048576 (0x100000), which is the partition, and a second exFAT row a few sectors later labelled as the backup boot sector of the volume above. Select the first row.

Wizard step 2 Scan: exFAT found at byte offset 1048576, and its backup boot sector listed below it

Step 3 — Files: find, preview, judge

The listing shows live and deleted entries together. Deleted entries are marked [deleted], and the folder Project Alpha – client documents opens even though one file in it was deleted. Select a file to preview it: JPEGs show a thumbnail, text files show their first lines as UTF-8, anything else falls back to a hex dump.

Wizard step 3 Files: the deleted Lake Garda photo is selected and its preview shows the picture

Each file gets a recoverability rating:

  • Good — every extent lies inside the image and no live file claims those clusters.
  • Partial — some bytes are known, some are not (for example an unreadable block on a failing disk).
  • Poor — the bytes cannot be trusted, typically because live data now owns the clusters.
  • Unknown — Loosha has not been able to decide.

The ratings fill in next to each name a moment after the folder opens; you do not have to select a file first. On the exFAT sample the three recoverable deleted files are Good and IMG_2041.JPG is Poor. The empty empty.log is Good too: there is nothing to lose. The CLI listing (ls -l) gives the same verdicts:

Poor           534799  [deleted] IMG_2041.JPG
Good           682269  [deleted] Lake Garda – sunset over Sirmione (2026).jpg
Good           414864  holiday-2026-08-14-family-picnic-at-the-old-harbour.jpg
Good             3232  [deleted] Quarterly report Q3 2026 final v2.pdf
Good            30000  notes.txt
Good                0  empty.log

Use the search row to narrow a long listing: a name mask such as *.jpg, a type group, or Deleted only. Size, date, sort and reports adds size limits and sorting.

Wizard step 3 with the Size, date, sort and reports section expanded, and the overwritten IMG_2041.JPG selected

Now select IMG_2041.JPG and try to recover it. Loosha refuses, because a live file owns its first cluster. That is the behaviour you want: the alternative is a JPEG that is really half of new-download.bin.

Loosha refuses to export the overwritten IMG_2041.JPG because its cluster is claimed by live metadata

Step 4 — Recover to another disk

Select the deleted Lake Garda photo and go to 4 Recover. First, try a destination next to the image, on the same disk. Loosha says the destination is on the source volume and creates nothing.

Wizard step 4 refusing a destination folder on the same disk as the source image

Choose a new folder on another physical disk (an external drive, or a second internal disk). The status line turns green: “Destination passed the source-device safety check”. Tick Write report.html and report.csv in the destination and click Recover selected file or folder.

For a deleted file Loosha asks once more. A deleted file’s cluster chain is a hypothesis rebuilt from old metadata, not a fact the live filesystem still guarantees, so the output file is named with a HYPOTHESIS- prefix. Click Recover as hypothesis.

Confirmation dialog before exporting a deleted file as a hypothesis

Wizard step 4 after recovery: report.html and report.csv saved in the new destination folder

report.csv lists path, size, rating, status and SHA-256 for what was written, and report.html is the same table for reading in a browser.

Recovering a whole folder

Select a folder instead of a file, for example Project Alpha – client documents, and recover it the same way into a new folder. Loosha copies the live files and writes the report for the whole folder. A deleted file inside the folder is not copied as part of the folder: it is listed as skipped with the reason, and you recover it on its own as a hypothesis, as above.

Wizard step 4 after recovering the Project Alpha folder: report.html and report.csv saved in the destination

report.html for the folder: source image, filesystem exFAT, tool version 1.4.3, the deleted CSV skipped and the live zip recovered with its SHA-256

Both report files name the source and the filesystem. The CLI writes the same reports with batch -report and export -report.

Check every file with SHA-256

A recovered file that opens is not proof. Hash it and compare with the original. For the sample sticks the originals are in the table above. On Windows:

Get-FileHash -Algorithm SHA256 "E:\Recovered\lake-garda\HYPOTHESIS-*.jpg"

On Linux, sha256sum does the same. The sha256 column in report.csv is computed over the bytes Loosha wrote, so it must match too.

Our results on both images:

FileexFATFAT32
3 deleted files (photo, PDF, long-name CSV in a folder)identicalidentical
5 live filesidenticalidentical
IMG_2041.JPG (overwritten)refusedrefused

The FAT32 stick: long names and the lost first letter

Open usb-fat32.img and repeat the steps. Two FAT32 details are worth knowing:

  • Long names come back. FAT32 keeps a long name in separate directory entries with a checksum of the short name. Loosha rebuilds deleted long names only when that checksum matches, so Budget spreadsheet with a very long file name 2026-11.csv returns under its full name.
  • A pure 8.3 name loses its first letter. When FAT deletes a file it overwrites the first byte of the short name. IMG_2041.JPG has no long name, so it shows as _MG_2041.JPG. Rename it after recovery if it is one you can keep.

FAT32 sample listing: the deleted Lake Garda photo keeps its Unicode long name, and the 8.3 name shows as _MG_2041.JPG

The same steps from the command line

The CLI repeats the Wizard for scripts. Paths are examples; the destination must be a new folder on another disk.

LooshaDataRecoveryCLI scan    -image usb-exfat.img
LooshaDataRecoveryCLI ls      -image usb-exfat.img -offset 1048576 -deleted -l
LooshaDataRecoveryCLI preview -image usb-exfat.img -offset 1048576 -file /notes.txt -head 200
LooshaDataRecoveryCLI export  -image usb-exfat.img -offset 1048576 -file /notes.txt -dest E:\Recovered\notes -report

A deleted entry is exported by its ID and parent folder from the ls -deleted JSON, with -undelete-hypothesis, which is the CLI form of the confirmation dialog.

Limits

  • Deleted files come back only while their clusters are free. Once a new file reuses them, Loosha refuses rather than guessing.
  • FAT and exFAT do not keep a deleted file’s fragment list. Loosha assumes the clusters that follow the first one; a deleted file that was fragmented may need carving instead (see recover photos from a formatted SD card).
  • The sample images were built on Linux with mtools and exfatprogs, written the way Windows reuses free clusters. The product page’s byte-exact figures for sticks deleted by Windows itself come from separate tests.

Related: image a failing disk with a ddrescue map before you scan it, and recover photos from a formatted SD card.

Download the exFAT stick image Download the FAT32 stick image Download Loosha Data Recovery