How to Recover Deleted Files on a USB Drive: 4 Safe Methods

recover deleted files on usb drive

Files deleted from a USB drive usually bypass the Windows Recycle Bin, but that does not always mean they are gone permanently. If the storage space has not been overwritten, you may still be able to recover deleted files on a USB drive.

Stop using the USB drive immediately. Do not copy new files to it, format it, run CHKDSK, or save recovered files back to the same device. Every new write may overwrite the deleted data and reduce the chance of recovery.

This guide explains four practical recovery methods: checking for hidden files, restoring a backup, using Windows File Recovery, and scanning the USB drive with Magic Data Recovery. Start with the method that matches your situation, or explore our USB flash drive recovery solutions for other USB errors.

Supports Windows 7/8/10/11 and Windows Server

Table of Contents

Can Deleted Files Be Recovered from a USB Drive?

Yes, deleted USB files may be recoverable as long as their storage space has not been overwritten. Windows normally removes the file-system reference and marks the occupied space as available. Recovery software can scan that space and reconstruct files that remain intact.

However, the correct method depends on whether the files were actually deleted, hidden by malware, lost after formatting, or made inaccessible by file-system damage.

USB Data Loss ScenarioRecommended First Action
Files suddenly disappear, but the USB drive still shows used spaceShow hidden files and check for malware
Files were deleted using Delete or Shift + DeleteUse Windows File Recovery or Magic Data Recovery
The USB drive was quick-formattedRun a deep scan with Magic Data Recovery
The USB drive appears as RAW or asks to be formattedRecover the data first; do not run CHKDSK
The USB drive is not detected in Disk ManagementCheck for physical damage or contact a professional recovery service

Method 1: Show Hidden Files on the USB Drive

Use this method only when files have disappeared but the USB drive still shows used storage space. It can reveal files hidden by malware or incorrect attributes, but it cannot restore files that were actually deleted.

  1. Connect the USB drive and note its drive letter.
  2. Open Command Prompt as Administrator.
  3. Enter the following command:

attrib -h -r -s /s /d X:\*.*

Replace X with the USB drive letter and press Enter. Reopen the drive in File Explorer and check whether the files are visible.

Method 2: Restore Deleted USB Files from a Backup

Check whether the deleted USB files also exist in OneDrive, Google Drive, another computer, an external backup drive, or a Windows backup. If the files were originally copied from your computer to the USB drive, search the original folder before running a recovery scan.

File History only helps if the original files were included in a previously configured backup. It does not automatically create a backup of every removable USB drive.

Method 3: Recover Deleted USB Files with Windows File Recovery

Windows File Recovery is a free Microsoft command-line tool for Windows 10 and Windows 11. It supports USB drives formatted with NTFS, FAT, or exFAT, but it does not provide a graphical interface or file preview.

First, install Windows File Recovery from the Microsoft Store. Suppose the affected USB drive is E: and you want to save the recovered files to the computer’s C: drive.

For a recently deleted file on an NTFS USB drive, use:

winfr E: C: /regular /n *.docx

For a FAT32 or exFAT USB drive, or when the files were deleted some time ago, use Extensive mode:

winfr E: C: /extensive /n *.jpg /n *.png /n *.docx

Replace the extensions with the file types you need. When prompted, type Y to begin recovery. Windows will create a recovery folder on the destination drive.

The source and destination must be different drives. Never recover files back to the affected USB drive because doing so may overwrite other deleted data.

Method 4: Recover Deleted Files with Magic Data Recovery

If the files were permanently deleted, the USB drive was formatted, or Windows File Recovery is too difficult to use, Magic Data Recovery provides a graphical recovery process for Windows.

It supports deleted, formatted, RAW, and logically corrupted USB drives, along with more than 5,000 file types. The preview and filtering features help you identify the files you need before saving them.

How to Recover Deleted Files from USB Using Magic Data Recovery

Step 1: Install Magic Data Recovery Safely

Download and install Magic Data Recovery on your computer’s internal drive. Do not install it on the affected USB drive.

Supports Windows 7/8/10/11 and Windows Server

Step 2: Select the USB Drive

Connect the USB drive, launch the software, and select the affected device from the drive list.

Recover deleted files from usb using Magic Data Recovery

Step 3: Scan for Deleted Files

Click “Search for Lost Data.” Allow the scan to finish, especially if the files were permanently deleted or the USB drive was formatted.

Search for lost data from usb drive

Step 4: Filter and Preview the Results

Filter the results by file type, name, size, or original path. Preview important documents, photos, and other supported files to check their condition.

Preview the searched files

Step 5: Recover Files to Another Drive

Select the files you need and click “Recover.” Save them to the computer or another external drive—not to the affected USB device.

Save the recovered files to safe drive
This process is particularly effective when users ask how to recover permanently deleted files, as it goes far beyond what CMD-based methods can achieve.

Comparing Recovery Options: Built-in Tools vs. Professional Software

MethodBest forMain limitation
ATTRIB commandFiles hidden by malware or attributesCannot recover deleted files
Backup restorationFiles with an existing backup copyRequires a backup created before deletion
Windows File RecoveryDeleted files on a readable USB driveCommand-line interface and no preview
Magic Data RecoveryDeleted, formatted, RAW or logically corrupted USB drivesCannot repair physically damaged hardware
Recovery serviceBent, broken or electrically damaged USB drivesUsually expensive and time-consuming

Choose the method based on how the files were lost. For actual deletion without a backup, a recovery scan is usually more relevant than ATTRIB or other file-visibility commands.

What Not to Do Before USB File Recovery

  • Do not copy new files to the USB drive.
  • Do not format the drive, even if Windows prompts you to do so.
  • Do not run CHKDSK before recovering important data.
  • Do not install recovery software on the affected USB drive.
  • Do not save recovered files back to the same device.
  • Stop using software and seek professional help if the USB drive is physically damaged.

Conclusion

You can often recover deleted files on a USB drive if you stop using the device before the deleted data is overwritten. ATTRIB can reveal hidden files, while backups and Windows File Recovery may help in specific situations. For permanently deleted, formatted, or logically inaccessible USB data, Magic Data Recovery provides a more visual scan, preview, and recovery process.

Always save recovered files to another drive. For help with formatting errors, RAW drives, missing files, and USB detection problems, visit our USB flash drive recovery solutions.

Supports Windows 7/8/10/11 and Windows Server

FAQs

Can I recover deleted files from a USB drive?

Yes, recovery is often possible if the deleted data has not been overwritten. Stop using the USB drive immediately, then restore the files from a backup or scan the device with Windows File Recovery or USB recovery software. Recovery becomes less likely after new files are written to the drive.

Where do deleted files from a USB drive go?

Files deleted from a removable USB drive usually bypass the Windows Recycle Bin. Windows removes their file-system references and marks the occupied space as available. The original data may remain on the USB storage until another file overwrites it, which creates an opportunity for recovery.

Can I recover deleted USB files without software?

You can recover the files without recovery software only if another copy or backup exists. The ATTRIB command can reveal hidden files, but it cannot restore data that was actually deleted. Without a backup, deleted files generally require Windows File Recovery or another scanning tool.

Can CMD recover permanently deleted files from a USB drive?

The ATTRIB command cannot recover permanently deleted files; it only removes hidden, system, and read-only attributes. Microsoft’s Windows File Recovery also runs in a command-line window and can recover deleted files, but it is a separate application that must be installed from the Microsoft Store.

Can I recover files after formatting a USB drive?

Files may be recoverable after a quick format if no new data has been written to the USB drive. Do not format it again or copy files to it. Run a deep scan and save any recovered files elsewhere. Recovery after a full overwrite is much less likely.

Why are deleted USB files not in the Recycle Bin?

Windows normally treats removable storage differently from an internal drive. Files deleted directly from a USB flash drive usually bypass the standard Recycle Bin and disappear immediately from File Explorer. They may still remain physically recoverable until their storage space is overwritten.

Can files be recovered from a RAW USB drive?

A RAW status usually indicates that Windows cannot read the USB file system. Do not format the drive or run repair commands before recovering important files. If the device is visible in Disk Management, data recovery software may still be able to scan its storage sectors.

Can software recover files from a physically damaged USB drive?

Recovery software requires the USB device to be detected reliably by the computer. If the connector is broken, the drive repeatedly disconnects, becomes unusually hot, or does not appear in Disk Management, stop using it. Physical damage normally requires a professional hardware recovery service.

Jason has over 15 years of hands-on experience in the computer data security industry. He specializes in data recovery, backup and restoration, and file repair technologies, and has helped millions of users worldwide resolve complex data loss and security issues.