如何恢復 USB 隨身碟上的已刪除檔案:4 種安全方法

復原 USB 磁碟機上刪除的檔案

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 隨身碟資料恢復解決方案 for other USB errors.

支援 Windows 7/8/10/11 和 Windows Server

目錄

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 + Delete使用 Windows 檔案還原或 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. 連接 USB 隨身碟,並記下其磁碟機代號。.
  2. 以管理員身份開啟 Command Prompt。.
  3. 輸入以下指令:

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

更換 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: 開車。.

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.

如何使用 Magic Data Recovery 復原 USB 中已刪除的檔案

步驟 1:安全安裝 Magic Data Recovery

下載並安裝 Magic Data Recovery on your computer’s internal drive. Do not install it on the affected USB drive.

支援 Windows 7/8/10/11 和 Windows Server

Step 2: Select the USB Drive

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

使用 Magic Data Recovery 復原 USB 中已刪除的檔案

步驟 3:掃描刪除的檔案

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

搜尋 USB 磁碟機中遺失的資料

步驟 4:篩選並預覽結果

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

預覽搜尋到的檔案

步驟 5:將檔案復原至另一個磁碟機

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

將已復原的檔案儲存至安全磁碟機
當使用者詢問 如何復原永久刪除的檔案, ,因為它遠遠超出了基於 CMD 的方法所能達到的效果。.

比較復原選項:內建工具與專業軟體

方法最適合主要限制
ATTRIB 指令Files hidden by malware or attributes無法復原刪除的檔案
備份還原Files with an existing backup copyRequires a backup created before deletion
Windows 檔案復原Deleted files on a readable USB driveCommand-line interface and no preview
Magic Data RecoveryDeleted, formatted, RAW or logically corrupted USB drives無法修復物理損壞的硬體
救援服務Bent, 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.
  • 在恢復重要資料之前,請勿執行 CHKDSK。.
  • 請勿在受影響的 USB 隨身碟上安裝資料恢復軟體。.
  • 請勿將恢復的檔案儲存回同一台裝置。.
  • Stop using software and seek professional help if the USB drive is physically damaged.

總結

您經常可以 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 隨身碟資料恢復解決方案.

支援 Windows 7/8/10/11 和 Windows Server

常見問題

我可以從 USB 隨身碟中恢復已刪除的檔案嗎?

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.

我可以在不使用軟體的情況下恢復已刪除的 USB 檔案嗎?

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.

CMD 能否從 USB 隨身碟中恢復已永久刪除的檔案?

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.

格式化 USB 磁碟機後可以復原檔案嗎?

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.

為什麼刪除的 USB 檔案不會出現在「資源回收筒」裡?

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 在電腦資料安全產業擁有超過 15 年的實務經驗。他專精於資料復原、備份與還原,以及檔案修復技術,已協助全球數百萬使用者解決複雜的資料遺失與安全問題。.