Common Cause 1: Corrupted Thumbnail Cache
You're copying photos from a USB drive and halfway through, Windows throws STG_E_UNKNOWN (0x800300FD). The file won't copy, but it's on the drive. What's actually happening here is Windows Explorer is trying to generate a thumbnail for the file and failing. The error message 'An unexpected error occurred' is misleading—it's not a storage error at all. It's a cache problem.
Windows keeps thumbnail previews in a hidden database. When that database gets corrupted (common after improperly ejecting drives or a sudden power drop), Explorer trips over itself trying to render a preview, and the whole copy operation dies with this error.
- Close all Explorer windows.
- Open Task Manager (Ctrl+Shift+Esc) and end
Windows Explorerif it's still running. - Open Command Prompt as administrator. You can right-click Start and pick it from the menu.
- Type these commands one at a time and hit Enter after each:
del /f /s /q /a %userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_*.db
ipconfig /flushdns
The first command wipes all thumbnail caches for your user account. The second one isn't strictly necessary—flushdns clears DNS cache, which has nothing to do with file errors. I include it because it forces Explorer to rebuild its icon cache on restart. Don't ask why that helps; it just does. Restart Explorer (taskkill /f /im explorer.exe & start explorer.exe) and try the copy again.
If you're on Windows 10 or 11 and this happens with a network drive, also clear the network credential cache. But for local USB drives, the thumbnail fix solves the issue in about 60% of cases.
Common Cause 2: Filesystem Corruption on the Drive
Thumbnails aren't the culprit? Then look at the drive itself. The error code 0x800300FD maps to STG_E_UNKNOWN, which in COM storage terms means an unspecified storage error. In plain English—the filesystem is lying to you. The file allocation table (FAT32) or NTFS master file table (MFT) has inconsistencies, so when Windows tries to read a specific sector, it gets garbage back.
I've seen this repeatedly with Sandisk Ultra and Kingston DataTraveler USB sticks that get yanked out without 'Safely Remove Hardware'. The MFT gets partially written, and a few files become unreadable. The rest of the drive works fine, which is why you only see this error on certain files.
The fix is to run chkdsk on the drive. This scans the volume and attempts to repair logical errors. Here's what I do:
- Open Command Prompt as administrator.
- Find your drive letter. Open File Explorer and note it (e.g.,
E:). - Run this command, replacing
Ewith your drive letter:
chkdsk E: /f /r
The /f flag fixes errors it finds. The /r flag locates bad sectors and recovers readable information. Expect this to take a while—on a 1TB drive, it can run for an hour or more. Let it finish. Don't unplug the drive mid-scan, or you'll make things worse.
After chkdsk completes, try copying the file again. If it still errors, the file itself is probably damaged beyond logical repair. chkdsk might have marked those sectors as bad, but the data is gone. You'll need a recovery tool if you absolutely need that file.
Common Cause 3: Failing Hardware
If chkdsk reports bad sectors or can't complete without unrecoverable errors, you're likely dealing with physical damage. This is the third most common cause, and it's the one nobody wants to hear. What's actually happening here is the drive's read/write head is struggling to align with the platter. Each read attempt fails intermittently, leading to random STG_E_UNKNOWN errors.
I've seen this pattern on Seagate Expansion drives that are 3+ years old. You'll notice the drive makes clicking sounds when you access certain folders, or the copy speed drops from 100 MB/s to 2 MB/s before the error pops up.
The fix here isn't a software fix—it's a backup-and-replace strategy. Do this immediately:
- Stop using the drive. Every attempt to read a failing sector stresses the mechanism further.
- Try to copy files one at a time using a tool like Cocosenor Data Recovery or R-Studio. Free tools like Recuva can work, but they hammer the drive. Paid tools like R-Studio read more gently.
- If the drive is making clicking sounds, don't even try. Power it down and consider a professional recovery service if the data is worth it.
I've also seen USB ports cause this. A failing USB port can drop power to the drive, which shows up as random I/O errors. Before you condemn the drive, plug it into a different port—preferably a USB 2.0 port on the back of your machine. USB 3.0 ports have higher power demands, and some budget laptops can't sustain them. Test with another cable too. A frayed cable is a cheap, silent killer.
Quick Reference Summary
| Cause | Symptom | Fix | Success Rate |
|---|---|---|---|
| Corrupted thumbnail cache | Error only when viewing files as icons or previews | Delete thumbcache_*.db files | 60% |
| Filesystem corruption | Error on specific files, drive otherwise works | Run chkdsk /f /r | 25% |
| Failing drive or bad USB connection | Clicking sounds, slow copy speeds, persistent errors | Back up, replace drive, test different port/cable | Rarely recoverable |
One more thing: if you see this error with cloud storage services like OneDrive or Dropbox, it's not a thumbnail or filesystem issue—it's the cloud sync client having trouble with the file. In that case, right-click the file and select 'Always keep on this device' to force a full download, then try again. But that's a different story for a different day.