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

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 Scenario | Recommended First Action |
|---|---|
| Files suddenly disappear, but the USB drive still shows used space | Show hidden files and check for malware |
| Files were deleted using Delete or Shift + Delete | 使用 Windows 檔案還原或 Magic Data Recovery |
| The USB drive was quick-formatted | Run a deep scan with Magic Data Recovery |
| The USB drive appears as RAW or asks to be formatted | Recover the data first; do not run CHKDSK |
| The USB drive is not detected in Disk Management | Check 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.
- 連接 USB 隨身碟,並記下其磁碟機代號。.
- 以管理員身份開啟 Command Prompt。.
- 輸入以下指令:
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.

步驟 3:掃描刪除的檔案
Click “Search for Lost Data.” Allow the scan to finish, especially if the files were permanently deleted or the USB drive was formatted.

步驟 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.

比較復原選項:內建工具與專業軟體
| 方法 | 最適合 | 主要限制 |
|---|---|---|
| ATTRIB 指令 | Files hidden by malware or attributes | 無法復原刪除的檔案 |
| 備份還原 | Files with an existing backup copy | Requires a backup created before deletion |
| Windows 檔案復原 | Deleted files on a readable USB drive | Command-line interface and no preview |
| Magic Data Recovery | Deleted, formatted, RAW or logically corrupted USB drives | 無法修復物理損壞的硬體 |
| 救援服務 | Bent, broken or electrically damaged USB drives | Usually 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 隨身碟中恢復已刪除的檔案嗎?
Where do deleted files from a USB drive go?
我可以在不使用軟體的情況下恢復已刪除的 USB 檔案嗎?
CMD 能否從 USB 隨身碟中恢復已永久刪除的檔案?
格式化 USB 磁碟機後可以復原檔案嗎?
為什麼刪除的 USB 檔案不會出現在「資源回收筒」裡?
Can files be recovered from a RAW USB drive?
Can software recover files from a physically damaged USB drive?
Jason 在電腦資料安全產業擁有超過 15 年的實務經驗。他專精於資料復原、備份與還原,以及檔案修復技術,已協助全球數百萬使用者解決複雜的資料遺失與安全問題。.
