To show hidden files on a USB drive or SD card, you can adjust folder options in File Explorer or use the Attrib command in Command Prompt. To recover hidden files that you cannot unhide, data recovery software may be required. To prevent the issue from recurring, scan the drive for malware, check for file system errors, and format the drive.

Why Files Become Hidden on USB Drive or SD Card

  • Hidden attribute
  • Virus/malware infection
  • File system errors

Files on USB drives or SD cards can become hidden for several reasons. The most common cause is a change in file attributes, where the system marks files as “hidden” or “system protected”.

Another frequent cause is malware infection. Some viruses intentionally hide original files and replace them with shortcuts or empty folders.

In other cases, file system corruption or incomplete writes during transfer can also make files temporarily invisible or permanently lost.

Understanding the cause helps determine whether you should simply unhide files or perform deeper recovery steps.

How to Show Hidden Files and Folders in a USB Flash Drive or SD Card

The 3 methods introduced below can help you show hidden files and folders in a USB flash drive. As for how to find hidden files on an SD card, you can use the same three ways since they also apply to revealing hidden files on a memory card.

Method 1. Show Hidden Files in USB Using the Attrib Command

The Attrib command is one of the most reliable approaches to restoring hidden files, especially when malware has modified file attributes.

Step 1. Connect your USB drive or SD card to the computer.

Step 2. Type cmd in the Windows search box, right-click Command Prompt, and choose Run as administrator.

Step 3. In Command Prompt, type the following command and press Enter:

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

Replace X: with your USB or SD card drive letter.

  • attrib: changes file attributes
  • -h: removes hidden attribute
  • -r: removes read-only attribute
  • -s: removes system attribute
  • /s: applies to all files in the current folder and subfolders
  • /d: includes folders as well
  • X:*.*: targets all files and folders on drive X:
Command Prompt interface with the attrib command running on the H: drive to show hidden files.

Method 2: Unhide Files in USB or SD Card with File Explorer

The second way you can try to view hidden files in USB or SD card is to use Windows File Explorer. Check the detailed steps below.

Step 1. Open File Explorer and open the USB drive or SD card.

Step 2. Go to the View tab at the top and select the Hidden items option. The hidden files should show up.

Alternatively, you can show hidden files by changing folder options.

Step 1. Click the Options button on the menu bar.

Step 2. Go to the View tab and select Show hidden files, folders, and drives.

Step 3. Click Apply > OK.

File Explorer interface showing the options to show hidden files, folders, and drives.

Method 3: Show Hidden Files in USB through Control Panel

The third way to unveil hidden files in USB or SD card is using the Control Panel. You can follow the steps below.

Step 1. Press Windows + R to open Windows Run, type control panel in the Run box, and press Enter to open the Control Panel.

Step 2. In the Control Panel window, click Appearance and Personalization > Show hidden files and folders.

Step 3. Find Show hidden files, folders, and drives and enable this option.

How to Recover Hidden Files from USB or SD Card on Windows

If files still do not appear after enabling hidden items, the files may have been lost rather than hidden. In such cases, data recovery tools become necessary.

Data recovery software can scan the drive at a low level to locate lost or deleted data. These tools usually support:

  • Scanning USB drives, SD cards, HDDs, SSDs, external hard drives, CDs/DVDs
  • Recovering lost, deleted, or inaccessible documents, photos, videos, audio, emails, archives, and more
  • Recovering data lost due to accidental deletion, virus infection, disk formatting, and file system corruption

For example, MiniTool Power Data Recovery Free is such a tool that supports previewing files and recovering 1 GB of data for free.

MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe

Step 1. Scan the USB Drive or SD Card

Connect the USB drive or SD card to your computer and open the data recovery tool. The first step is selecting the drive and clicking Scan.

The software reads the storage device sector by sector and recovers lost folder structures or files that no longer appear in File Explorer.

During scanning, do not interrupt the process to get the best scan results.

MiniTool Power Data Recovery main interface showing available storage devices ready to be scanned.

Step 2. Locate and Preview Your Files

After scanning, find the files you want to recover according to file path or type. You can search for a specific file by using its file name.

Do not rely on file names alone. Some files may still open and be recoverable if the file names are corrupted. Double-click them to preview.

MiniTool Power Data Recovery interface showing scan results, with Path, Type, and Search highlighted.

Step 3. Save Required Files

Once you confirm the files are usable, select them and save them. The most important rule here is: never save recovered files back to the same USB drive or SD card.

Always choose a separate location on your computer, such as a dedicated folder on the desktop or another internal drive.

MiniTool Power Data Recovery interface showing available paths to store recovered files.

How to Fix Files Being Hidden on USB Drive or SD Card

After recovering hidden files, the next steps focus on actual repair methods that can restore access to the drive itself.

This prevents files stored on the drive from being automatically missing or hidden.

Fix 1. Remove Viruses

Applicable case: files hidden or replaced by shortcuts, or files reappear and disappear again

If your USB drive suddenly shows shortcut files or empty folders, malware is often the cause. Some viruses modify file attributes and continuously re-hide files even after you restore them manually.

Fix it by running a full virus scan using Windows Defender:

Step 1. Open Settings and select Update & Security.

Step 2. Click Windows Security > Virus & threat protection > Scan options. Select Custom scan, click Scan now, and choose the target USB drive or SD card to scan.

Windows Security interface showing the Custom scan option.

Fix 2. Run CHKDSK to Repair File System Errors

Applicable case: files not visible after unhide attempts, drive shows errors, or slow response

If the USB or SD card has file system corruption, Windows may fail to display existing files correctly. In this case, you can open Command Prompt as an administrator and run CHKDSK to repair logical errors:

chkdsk X: /f /r

Replace X: with your drive letter.

Command Prompt interface showing the CHKDSK command to repair file system errors on the H: drive.

Fix 3. Format the USB Drive or SD Card

Applicable case: files keep being hidden or deleted

Formatting is the last option which restore the drive to a usable state when other methods fail.

Before formatting, confirm whether important data has already been recovered. If yes, format the USB drive:

Step 1. Right-click the USB drive or SD card in File Explorer and select Format.

Step 2. Set up the volume label and file system, and start the formatting process.

Disk formatting window showing the file system and volume label options.

Conclusion

In this post, we provide 3 methods to help you show hidden files and folders in USB and SD cards, introduce how to recover hidden files on USB or SD card with MiniTool Power Data Recovery, as well as give some possible fixes to help you solve SD card files not showing up.

Should you have other problems about how to recover data with MiniTool Power Data Recovery, please contact [email protected].

Show/Recover Hidden Files on USB FAQ

How to view hidden files on an external drive?
To view hidden files on an external drive, open File Explorer and enable Hidden items under the View tab. If files still do not appear, use the Command Prompt command attrib -h -r -s /s /d drive letter:\*.* to remove hidden attributes from all files on the drive.
How do I make hidden files visible again?
To unhide a hidden file, right-click it and choose Properties. Then uncheck the Hidden attribute and apply the change. Alternatively, you can run the attrib -h -r -s /s /d drive letter:\*.* command to remove the hidden attribute.
Why can’t I see the files on my USB drive?
Files may not be visible for three main reasons: they are marked as hidden, they were deleted, or there are issues with the drive.
If the drive shows shortcut files or empty folders, it often indicates that files are still present but have been hidden by malware.
If the drive fails to open properly or shows errors, it is more likely that the issue is related to file system problems.
How to be able to view hidden files?
To view hidden files, start by enabling hidden items under the View tab in File Explorer. To make them unhidden, right-click them, choose Properties, and uncheck the Hidden attribute.
  • linkedin
  • reddit