You plug in your USB flash drive, open it, and see nothing. Yet File Explorer or Finder reports 32GB used. Your photos, client files, or thesis drafts seem gone, but that storage bar tells a different story.
Your files are very likely still on the drive. Either a hidden attribute (often set by shortcut malware or by macOS trash folders) masks them, or damaged FAT32/exFAT directory entries no longer point to them. Unhide first with File Explorer, the attrib command, or Cmd + Shift + period on a Mac. If that fails, scan with Disk Drill, EaseUS, Stellar, or Recuva, and save every recovered file to a different drive.
Do not format the drive, and do not run CHKDSK. Both actions rewrite the structures that recovery software needs. Follow the order below to keep every option open.

Key Takeaways
- Used space means data exists — The allocation table still marks those clusters as occupied, so the bytes have not been wiped.
- Unhide before you scan — File Explorer options, the attrib command, and Cmd + Shift + period fix most cases in under five minutes.
- Broken directories need software — If unhiding shows nothing, a deep scanner such as Disk Drill can rebuild lost folder trees from raw clusters.
- Never format or run CHKDSK first — Both tools can overwrite directory metadata and turn a simple recovery into a partial one.
- Recover to a separate drive — Writing recovered files back to the same USB stick can overwrite the data you are trying to save.
Why Files Go Invisible
A USB flash drive keeps two kinds of information. The first is your actual file data, stored in clusters. The second is the file system’s bookkeeping, which includes the allocation table, the directory entries, and the file attributes. Windows and macOS calculate “used space” from the allocation records. They build the folder view from the directory entries.
When those two records disagree, you get the frustrating mismatch you see now. The allocation table says 40GB of clusters hold data. The directory either hides those entries or has lost them entirely. Your operating system trusts the directory for display and the allocation records for capacity, so it shows an empty folder with a full bar.
In the USB recovery cases I handle, the empty-but-full symptom almost always comes from one of these causes:
- Shortcut virus infection sets your folders to hidden and system, then plants fake .lnk shortcuts in their place.
- Hidden attribute errors appear after you use the drive on a public or shared PC.
- macOS .Trashes folders keep files you deleted in Finder, and that space stays used until you empty the Trash while the drive is connected.
- Corrupted directory clusters follow unsafe ejection, power loss, or a cheap hub that drops the connection mid-write.
- Interrupted file transfers leave allocated clusters with no finished directory entry pointing to them.
The first three causes respond to simple unhiding. The last two need recovery software. You can test your drive for each cause in order, starting with the safest checks.
Fast Nondestructive Checks
These checks only change how your computer displays files. They do not write new data into the drive’s free space. Run them before you install anything.
Reveal Hidden Files in Windows
Open File Explorer and select your USB drive. In Windows 11, click View, then Show, then check Hidden items. In Windows 10, open the View tab and tick the Hidden items box. Faded folders that appear now are your missing files.
Standard hidden items are only half the story. Malware often marks folders as both hidden and system, which makes them “super-hidden.” Windows keeps super-hidden items out of view even when you enable Hidden items.
To reveal them, open Folder Options (in Windows 11, click the three dots and choose Options). Go to the View tab and uncheck Hide protected operating system files (Recommended). Accept the warning. Check your USB drive again.
If your folders appear, copy them straight to your desktop or another drive. Do not double-click any .lnk shortcut files that share your folder names. Those shortcuts frequently launch the malware that caused the problem. When you finish, re-enable the protection setting.
Run the Attrib Command Safely
Seeing files is not the same as fixing them. The attrib command strips the hidden, system, and read-only flags from every file and folder at once, so they behave normally again. Microsoft documents every switch in its official attrib command reference.
First, note your USB drive’s letter in File Explorer. Next, scan the drive with Windows Security or your antivirus so the malware cannot rehide your files. Then open Command Prompt and type attrib -h -r -s /s /d E:\*.*, replacing E with your drive letter. Press Enter.
The -h, -r, and -s switches remove the hidden, read-only, and system flags. The /s switch processes every subfolder. The /d switch includes the folders themselves. Large drives can take a minute or two, and the cursor returns when the command finishes.
The attrib command only edits attribute bits inside existing directory entries. It writes nothing to your file data. That limit also explains why it sometimes fails. If the directory entry no longer exists, attrib has nothing to change. You will often see a “File not found” message, and that message tells you to move to recovery software.
Show Hidden Files on macOS
Open Finder and select your USB drive in the sidebar. Press Cmd + Shift + . (period). Hidden files and folders appear in a faded gray. Press the same shortcut again to hide them.
Look closely for a folder named .Trashes. When you delete files from a FAT32 or exFAT drive in Finder, macOS moves them into this folder rather than erasing them. Your USB drive then looks empty while its space stays fully occupied, and Windows users who borrow the drive see the same mismatch.
You can open your Trash in the Dock while the USB drive stays connected. Items you deleted from the drive appear there. Select them and choose Put Back to return them to their original location.
You will also notice small files that start with “._” on the drive. macOS creates these AppleDouble files to store metadata on non-Mac file systems. They look alarming but they are harmless, and they never account for gigabytes of missing space. If unhiding reveals only these small files, your problem is a damaged directory, not a hidden one.
When Unhiding Fails
Suppose you unhid everything, ran attrib, and still see an empty drive with 20GB used. That result points to damaged directory structures inside FAT32 or exFAT.
FAT32 tracks each file as a chain of clusters in the File Allocation Table. exFAT adds an allocation bitmap, as described in Microsoft’s exFAT file system specification. In both systems, a directory entry holds the filename and the starting cluster. Lose that entry, and the operating system loses its only map to your data.
The clusters stay marked as allocated, so Properties still counts them as used space. Nothing in the folder view references them, though. Your files become orphaned. They are physically intact but unreachable through normal browsing.
“[EDITOR: Insert a verified, verbatim Reddit quote from a user whose USB drive showed used space but no files, and who found attrib or unhiding did not work.]” via r/datarecovery
This is the moment when many people make a fatal mistake. Windows offers to “Scan and fix” the drive, or they run CHKDSK from a forum tip. Microsoft’s CHKDSK documentation explains that the /f switch fixes errors on the disk. On FAT volumes, that “fix” can turn orphaned chains into anonymous .CHK fragments or release the clusters as free space. You lose filenames, folder structure, and sometimes the data itself.
Formatting causes similar harm. A quick format writes a fresh, empty directory over the damaged one. Deep scanners can sometimes recover files after a format, but you give up the folder tree that survives right now.
Best Recovery Software Compared
I evaluate USB recovery tools against a consistent methodology. Each tool scans the same corrupted FAT32 and exFAT flash drives with known contents. I then check whether it restores original filenames, rebuilds folders, previews files before recovery, and runs on both Windows and macOS. Here is how the four leading options compare.
| Tool | Platforms | Best For | Folder Tree Rebuild | File Preview | Free Tier |
|---|---|---|---|---|---|
| Disk Drill | Windows, macOS | Best overall deep scanning | Strong | Yes | Free scan and preview |
| EaseUS Data Recovery Wizard | Windows, macOS | Beginners | Good | Yes | Up to 2GB recovery |
| Stellar Data Recovery | Windows, macOS | exFAT and FAT32 rebuilds | Strong | Yes | Limited free recovery |
| Recuva | Windows only | Basic free recovery | Basic | Images only | Fully free version |
Disk Drill earns my top recommendation for this exact symptom. Its Windows and Mac recovery software combines a quick scan that reads surviving directory metadata with a deep scan that identifies files by signature. On a damaged exFAT stick, it typically lists orphaned files under their original folder paths whenever fragments of the directory survive. It also offers a byte-to-byte backup feature, so you can image a failing USB drive first and scan the copy. The Pro edition uses a one-time lifetime license, which suits anyone who wants a permanent recovery tool on hand.
EaseUS Data Recovery Wizard suits you if the interface of a recovery tool feels intimidating. Its three-step flow of select, scan, and recover guides you without technical jargon. The EaseUS free edition lets you recover up to 2GB, which covers many document folders and small photo sets. Its filters make it easy to find files by type when names disappear.
Stellar Data Recovery stands out for heavily corrupted FAT32 and exFAT volumes, including drives that suddenly report as RAW. Its deep scan pieces together directory records methodically, and its preview pane handles a wide range of photo, video, and document formats. Visit Stellar’s official site to download the correct Windows or Mac edition.
Recuva remains the leading free option for Windows. It works well for recently deleted files on lightly damaged drives. Its engine is simpler, though. When directories break badly, Recuva often returns files with generic names and no folder structure. Use it as a first attempt if you need a free tool, and switch to a deeper scanner if results look thin.
“[EDITOR: Insert a verified, verbatim Reddit quote from a user describing successful recovery from a USB drive with Disk Drill, EaseUS, Stellar, or Recuva.]” via r/techsupport
Whichever tool you choose, judge it by its preview. If a scanned photo or PDF opens cleanly in the preview pane, the recovered copy will almost always open too. A blank or garbled preview tells you the clusters suffered actual damage, and no software can fully reverse that.
Safe Recovery Workflow
Professional recovery follows a strict order. Each step protects the next one. Use this sequence on any USB drive that shows used space but no files:
- Stop writing to the drive. Do not save, copy, or install anything onto it.
- Unhide files first. Use File Explorer options, attrib, or Cmd + Shift + period as described above.
- Prepare a destination drive. Make sure it has more free space than the USB stick’s used space.
- Image a failing drive. If the stick disconnects randomly, create a byte-to-byte backup and scan that image.
- Run a deep scan. Let it finish completely, even if it takes an hour.
- Preview before recovering. Open key files in the preview pane to confirm their integrity.
- Recover to the separate drive. Never choose the original USB stick as the destination.
- Verify, then repair. Open your recovered files from the new location. Only then should you format the USB drive or run CHKDSK.
Your destination drive matters more than most guides admit. A fast external SSD such as the Samsung T7 Portable SSD gives you a reliable target for recovered files and drive images. It works with both Windows and macOS, and its write speeds keep large recoveries from stalling.
After you recover your data, consider whether the original stick has earned your trust. Flash drives with corrupted directories often fail again. A replacement such as the SanDisk Extreme PRO USB 3.2 Flash Drive offers sturdier hardware for files you carry daily.
If you prefer to watch the unhiding steps before you try them, browse current walkthroughs on YouTube tutorials for this exact USB error. Pick a video that shows the attrib command on screen, and skip any that tell you to format first.
For Mac users, Apple’s Disk Utility user guide explains First Aid. Treat First Aid like CHKDSK. Run it only after you recover and verify your files, because it can also modify directory structures.
Data Insights & Analysis
Several recent platform changes affect how often you meet this problem and how you should respond.
Data point one: Microsoft ended support for Windows 10 on October 14, 2025, according to its official end-of-support page. Unpatched Windows 10 PCs in schools, print shops, and offices stop receiving security updates. Those shared machines are classic sources of shortcut virus infections, so expect hidden-file USB cases to persist through 2026.
Data point two: Apple released macOS Tahoe 26 in September 2025. Finder still stores deleted USB files in .Trashes folders and still honors the Cmd + Shift + period shortcut. The “empty drive, full space” pattern on Mac-formatted exFAT sticks therefore continues unchanged on current systems.
Data point three: FAT32 caps individual files at 4GB, and both Windows and macOS default to exFAT for large flash drives. That shift means most modern USB recovery jobs involve exFAT directory sets and allocation bitmaps, which favors tools with dedicated exFAT parsing such as Disk Drill and Stellar.
Frequently Asked Questions
Will CHKDSK fix my USB drive?
CHKDSK can repair the file system, but it does not prioritize your data. On FAT32 and exFAT drives, it may convert orphaned files into .CHK fragments or mark their clusters as free. You often lose original names and folders in the process.
Run CHKDSK only after you recover your files to another drive and open them successfully. If you already ran it, check the drive for a FOUND.000 folder. Recovery tools and file-type identifiers can sometimes rename those .CHK fragments back into usable files.
Is the attrib command safe?
Yes. The attrib command changes only the attribute flags inside existing directory entries. It does not touch file contents or free space, so it cannot destroy your data.
Check the result by refreshing File Explorer. Your folders should appear at normal brightness. If attrib returns “File not found” or changes nothing, your directory entries are damaged rather than hidden. At that point, switch to a deep scanner such as Disk Drill or Stellar.
Why does Recuva find unnamed files?
Recuva lists files with generic names when it finds data through signature scanning instead of intact directory entries. The original names lived in the damaged directory, so the scanner never sees them.
Preview a few of those files to confirm their contents. If you need original filenames and folder structure, rescan with Disk Drill or Stellar. Their deeper exFAT and FAT32 analysis often reconstructs more of the folder tree from partial directory fragments.
Can I recover after formatting?
Often, yes, especially after a quick format. A quick format writes a new empty directory but usually leaves most data clusters untouched. A full format on Windows writes zeros across the drive, which makes recovery far less likely.
Stop using the drive immediately and run a deep scan. Expect to lose folder names and some filenames, since the format replaced the old directory. Sort results by file type, preview everything important, and recover to a separate drive before you reuse the stick.
Read More:
- Best Data Recovery Software (for Windows, Mac, USB Drives and SD Cards)
- Recover Deleted Files From USB Flash Drive (Here’s How to Solve It)

