Fix Unspecified Error When Copying Files in Windows 10
In this article
The "Unspecified error" message when copying files in Windows 10 usually appears because of a corrupted thumbnail cache, a failing drive, or a permissions problem. You can fix it by clearing the cache, running a disk check, or copying with a different method, depending on the exact situation.
What Causes the Unspecified Error?
The error is frustrating because Windows gives no code or detail, just a generic message. It commonly occurs in these scenarios:
- Copying photos or videos from a camera, phone, or SD card
- Moving files between two internal drives or a USB drive
- Copying a large folder with many subfolders
- Right-clicking and selecting "Copy" then "Paste" in File Explorer
The most frequent cause is a corrupted thumbnail cache. Windows builds thumbnail images for photos and videos, and when that cache gets damaged, it can trigger the unspecified error during a copy. Other causes include a file system error on the source or destination drive, a failing hard drive, or a permissions issue where the target folder denies write access.
Fix 1: Clear the Thumbnail Cache
If the error happens with image or video files, clearing the thumbnail cache is the first thing to try. This is safe and does not delete your actual files.
- Open File Explorer and go to This PC.
- Right-click the drive where the files are (usually C:) and select Properties.
- Click Disk Cleanup.
- Wait for the scan, then click Clean up system files.
- Check the box next to Thumbnails (and optionally Recycle Bin).
- Click OK and confirm deletion.
After that, try copying the files again. Windows will rebuild the thumbnails as needed. If Disk Cleanup does not work, you can also delete the cache manually by opening %localappdata%\Microsoft\Windows\Explorer in the Run dialog (Win+R), then deleting the thumbcache_*.db files. You may need to restart Explorer (right-click the taskbar and select Task Manager, then restart Windows Explorer) to release them.
Fix 2: Run a Disk Check on Both Drives
File system corruption on either the source or destination drive can cause the unspecified error. Running a disk check scans for and repairs these issues.
- Open Command Prompt as administrator (right-click Start and select "Command Prompt (Admin)" or "Windows PowerShell (Admin)").
- Type
chkdsk C: /f /rand press Enter. ReplaceC:with the drive letter you want to check. - If the drive is in use, you will be prompted to schedule the check for the next restart. Type
Yand reboot. - Repeat for the other drive (e.g.,
chkdsk D: /f /r).
This process can take a long time on large or failing drives. It is best to run it on both the source and destination drives to rule out corruption on either side. After the check completes, attempt the copy again.
Fix 3: Copy with a Different Method
Sometimes the File Explorer copy engine itself fails. Using a different method can bypass the problem entirely.
- Use robocopy (Robust File Copy) from Command Prompt. The command
robocopy "source folder" "destination folder" /E /COPY:DATcopies all subfolders, including empty ones, and retries on errors. - Use a third-party file manager like Total Commander or FreeCommander, which use their own copy routines.
- Copy in smaller batches – instead of copying a huge folder, copy subfolders one at a time. This isolates which file triggers the error.
- Try a different USB port if copying from an external drive, as a loose connection can cause intermittent errors.
If robocopy reports a specific file name, that file may be corrupted or have a permission issue. You can then decide to skip it or repair it.
Fix 4: Check Permissions and Ownership
If the destination folder has restricted permissions, the copy will fail with a generic error. This often happens when copying to a folder owned by another user or a system folder like Program Files.
- Right-click the destination folder and select Properties.
- Go to the Security tab and click Advanced.
- Next to Owner, click Change, type your username, and click Check Names then OK.
- Check the box Replace owner on subcontainers and objects and click OK.
- Back in the Security tab, click Edit, select your user, and check Full control under Allow.
If you are copying to an external drive formatted as FAT32, note that FAT32 cannot handle files larger than 4 GB. For larger files, you need NTFS or exFAT.
Fix 5: Disable the Problematic File Preview
In some cases, the error is triggered by Windows trying to generate a preview or thumbnail for a specific file during the copy. Disabling thumbnail previews can help identify if that is the cause.
- Open File Explorer Options (search for it in the Start menu).
- In the View tab, check Always show icons, never thumbnails.
- Click Apply and OK.
If the copy then succeeds, the issue is with the thumbnail generation, and you can re-enable thumbnails after copying. This is a temporary workaround, not a permanent fix.
When to Suspect a Failing Drive
If none of the above fixes work, the error may indicate a hardware problem. A drive that is about to fail often produces read errors during copy operations. Look for these signs:
- The copy always fails at the same percentage or on the same file.
- You hear clicking or grinding noises from the drive.
- The drive disappears from File Explorer or takes a long time to respond.
- You see other errors like "The I/O device has reported an error" or "The parameter is incorrect."
If you suspect a failing drive, stop using it immediately and back up your important data to another drive while you still can. Then run a SMART health check using tools like CrystalDiskInfo (free) to see the drive's status. If the drive is failing, replace it.
Frequently Asked Questions
Why does the error say "unspecified" instead of a real message?
Windows often returns a generic error when the underlying cause is not one of the standard error codes. It is a catch-all that means "something went wrong, but I don't know exactly what." That is why the fixes focus on the most common causes: cache corruption, file system issues, permissions, and hardware.
Can I recover files from a drive that gives this error?
Yes, in most cases the files themselves are fine. Try copying them one at a time or in small batches. If that fails, use a recovery tool like Recuva or Photorec, which read the raw data and can often bypass the error. Do not write new data to the failing drive until you have recovered what you need.
Does this error happen on Windows 11 too?
Yes, the same error appears on Windows 11 because the underlying copy engine is similar. The fixes in this article also apply to Windows 11, though the menu names may be slightly different (e.g., "Properties" is the same, but the Settings app has changed).
What if the error only happens with one specific file?
If only one file fails, that file is likely corrupted or has a permission attribute that prevents copying. Try copying it with robocopy to see the exact error. If the file is not critical, you may need to delete it or restore it from a backup.
Is it safe to use robocopy to copy files?
Yes, robocopy is a built-in Windows tool. It is safe as long as you specify the correct source and destination. The /E flag copies all subdirectories including empty ones. It will not overwrite existing files unless you add the /IS or /IT flags. Always test with a small folder first to understand its behavior.
Should I disable antivirus to fix this error?
Sometimes third-party antivirus software can interfere with file copying by locking files or scanning them during the operation. Temporarily disabling your antivirus (not Windows Defender) can help diagnose the issue. If it fixes it, add an exclusion for the source and destination folders. Do not leave your antivirus disabled for long.