Unhide Files in USB: How to Show Hidden Files on USB Drive

Profile Jordan J. Profile Yevgeniy T.
 and 

Last update:

5043

Staring blankly at your screen and trying to figure out where your USB files have gone? You’re not the first person. Your files can become hidden for a bunch of reasons. But, it’s not always easy to unhide them, and some of them may actually be lost.

Don’t stress. We’ll show you various ways to show hidden files in your USB drive, and how to recover any files that have become lost.

Why Your USB Drive Might Have Hidden Files

Files become hidden when they’re marked with the hidden attribute. While they are still on the USB drive, hidden files on a USB will not appear like normal when you access the device in File Explorer. Likewise, files can disappear completely as a result of damage. Here are some common reasons why your files may have been marked as hidden or otherwise disappeared:

  • 🤷‍♂️ Files were hidden accidentally – Even though it’s not easy to do, it is possible that you or someone else accidentally marked the files as hidden as a result of being in a rush or clicking the wrong option by mistake.
  • 🦠 Malware has hidden your files – It’s possible for malware to be created that can hide and delete your files. Additionally, malware can actually attack your files can cause them to become lost.
  • USB drive has become corrupted – If your USB becomes corrupted, it could result in data loss, causing your files to disappear. Continued use of the USB drive can be dangerous. Therefore, in this case, recovering files from the corrupted USB as soon as possible is paramount.

Thankfully, there are ways to get your hidden or lost files back. Next, we’ll show you how to recover hidden files from your USB that you can’t unhide.

How to Recover Hidden Files from USB that You Can’t Unhide

First, we’re going to show you how to recover hidden files from a USB using data recovery software. This will also work for recovering any hidden files that have been deleted from your USB. Because your files may have disappeared due to some form of damage to your USB, it’s best to start with flash drive data recovery before anything else as further use of the USB drive may result in the data becoming permanently lost.

For this, you will need a capable data recovery tool. The ideal data recovery tool will be able to do the following:

  • 🔍 Locate and hidden files – Looking for lost data is important, but it’s even more important that the software is able to find and display any of your data that is marked as hidden, including those that were deleted.
  • 🗃️ Support multiple file systems – USB drives typically use FAT16, FAT32, or exFAT file systems, so it’s important that the software is able to scan these file systems for lost data, and essential if you want to recover your data with the original file names and folder structure.
  • 💻 Find lost partitions – A USB with a corrupted file system may have lost one of its partitions, causing the data to become inaccessible or disappear. This is why the ability to search for entire lost partitions is always helpful.
  • Scan RAW USB drives – RAW USB drives have no file system, so software that can scan a USB without a working file system greatly helps your chances of recovering more data.

With all this considered, our top recommendation is Disk Drill. After extensive testing, Disk Drill was able to demonstrate that it’s more than capable of finding our hidden data and recovering it with ease, even if it was deleted. In addition to other file systems, it displayed great efficiency in recovering files from FAT16/FAT32/exFAT file systems. Furthermore, during our review of Disk Drill, it was able to find our lost partitions that still contained some data.

sd
At Pandora Recovery, we’re dedicated to helping you recover your data. We’re aware that there are numerous recovery tools out there that try to rope you in with false promises. By reading our data recovery reviews and comparing data recovery solutions, you’re directly contributing to our efforts of being the number one trusted source of data recovery information. Thank you.

Follow these steps to retrieve hidden files in a USB using Disk Drill:

  1. Download and install Disk Drill.
  2. Select the USB that contains the hidden or deleted files and click Search for lost data. If you only want to search a specific partition, click the dropdown next to your USB and select the partition manually.Scanning the USB drive for hidden or lost data.
  3. Click Review found items when the scan is finished. You can also click on the colored file type icons to filter the results or recover everything by clicking Recover all.Reviewing the USB data.
  4. Select the hidden or deleted data you would like to recover. Disk Drill displays all of your hidden files, as well as any files that are lost or deleted. If you’re only looking for existing hidden data, browse the Existing dropdown, or click Show > Existing. When ready, click Recover.Recovering the hidden or deleted USB files.
  5. Select a safe location for recovery. Make sure you don’t choose a location on the same USB drive you’re recovering from, as it could corrupt your data. Click Next.Choosing a recovery location for the hidden USB files.

Once recovered, your data will be visible and you can view it at the recovery location you specified in the final step.

If you’re interested in other data recovery options, check out our list of the best data recovery software currently available online. Or, for a more tailored solution, check out our software picker.

How to Unhide Files on USB Flash Drive

Let’s look at the various ways you can show hidden files in your pen drive. The below methods are shown on Windows 11, but they will also work fine on Windows 10 (with some slight variation in the steps).

Method 1: Scan With Antivirus Software

To make sure it wasn’t a virus that caused your files to become hidden, you should scan your USB drive with an antivirus solution. Microsoft Defender Antivirus is included with copies of Windows 10 and 11. It’s a great tool to find and remove any malicious software that could have infected your USB drive.

This is how you perform a virus scan using Microsoft Defender Antivirus:

  1. Open File Explorer.
  2. Shift+Right-Click your USB (or just right-click on Windows 10) and click Scan with Microsoft Defender. This will immediately perform a quick scan.Scanning the USB with Microsoft Defender.
  3. If you want to perform a more comprehensive scan, select Microsoft Defender Antivirus (offline scan), then click Scan now.Performing an offline scan.
We suggest also performing a scan of your system drive. Viruses can hide on your system drive and still affect your connected USB devices, so it’s better to be safe than sorry.

Method 2: Show Hidden Files In USB Using Attrib Command

Once you know your USB drive is clean, you can use the attrib command to see hidden files in the USB. The attrib command allows you to add or remove attributes from files and folders. We’ll be using it to remove the hidden attribute from our files.

This is how you use the attrib command to unhide hidden files on your USB drive:

  1. Open your USB drive in File Explorer.
  2. Shift+Right-Click a blank space and click Open in Terminal.Opening the location in Terminal.
  3. Type attrib -s -h -r /s /d *.* and press Enter. All hidden files and folders will now be visible.Running the attrib command.

Method 3: Unhide Files in File Explorer

Not comfortable navigating a command-line terminal? No problem. You can achieve the same results through File Explorer with a few extra steps. Using File Explorer is one of the easier ways to unhide files in a USB, as everything can be done in just a few clicks. 

This is how you unhide hidden files using File Explorer, then remove the hidden attribute from them:

  1. Open File Explorer and navigate to your USB.
  2. Click View, then Show, then Hidden items.Showing hidden items with File Explorer.
  3. Highlight all of your hidden data and click Properties.Accessing the properties of the hidden files.
  4. Untick Hidden, then click Apply.Removing the hidden attribute.
  5. Select Apply changes to the selected items, subfolders and files and click OK.Unhiding the hidden files and folders.
This same process can also be used to unhide folders on your USB. Simply access the properties of the folder instead.

Method 4: Display Hidden Files in Control Panel

You can display hidden files through Control Panel, which will allow you to open the hidden files in your pen drive. This is another means of showing hidden files if the attrib command and File Explorer didn’t work out for you.

As demonstrated in File Explorer, you will also need to manually remove the hidden attribute from your files and folders to unhide them permanently.
  1. Open Start and search “Control Panel”. Open it.Opening Control Panel.
  2. Click Appearance and Personalization.Accessing Appearance and Personalization.
  3. Click Show hidden files and folders.Showing hidden files and folders.
  4. Select Show hidden files, folders, and drives and click Apply.Applying the updated settings.

How to Check the Health of Your USB Drive

If you suspect that some of your files became lost or deleted due to something like bad sectors, you should check the health of your USB. You can do this using USB Flash Drive Tester from Virtual Console, an application that checks your USB drive for bad or unstable sectors.

This test used by Flash Drive Tester will erase all existing data on the USB drive, so be sure to back up any data on the USB before proceeding.
  1. Download and install USB Flash Drive Tester.
  2. Select your USB and choose Write, read and compare. Click Start test.Running the Flash Drive test.
  3. Click Yes. Wait for the test to complete.Confirming the test.

Once the test is complete, you can check the device map at the bottom and see if the USB failed to write data to any sectors. If there is a large number of bad sectors, you should replace the USB drive.

Frequently Asked Questions

How to show hidden files on USB using CMD?

You can show hidden files on your USB through CMD using the attrib command. The attrib command will remove the hidden attribute, making your hidden files and folders visible again.

  1. Open File Explorer and go to your USB.
  2. Shift+Right-Click a blank space and click Open in Terminal.
  3. Type attrib -s -h -r /s /d *.* and press Enter.

To ensure the issue doesn’t happen again, the first thing you should do is scan for any viruses on the USB drive.

  1. Open File Explorer.
  2. Shift+Right-Click your USB and click Scan with Microsoft Defender.

You can follow up with a Microsoft Defender Antivirus (offline scan) if you want a more extensive scan. Once you’re sure the USB drive is clean, you can unhide hidden files using File Explorer.

  1. Open File Explorer and navigate to your USB.
  2. Click View > Show > Hidden items.
  3. Highlight all of your hidden data and click Properties.
  4. Untick Hidden, then click Apply.
  5. Select Apply changes to the selected items, subfolders and files and click OK.

You can find hidden files on your USB with Disk Drill’s smart scan. It will display all existing and lost files on the USB, as well as any that were lost or deleted due to some form of damage. Otherwise, you can simply unhide the files using Command Prompt, File Explorer, or the Control Panel.

You can view hidden files on a USB on Mac using a keyboard shortcut.

  1. Navigate to your USB using Finder.
  2. Press Shift+Command+. to display the hidden files.

Conclusion

Files that are hidden without your knowledge can be cause for concern. Although it could be accidental, files can also become hidden as a result of a virus attack or corruption. In any case, you should tread carefully, as your USB may be close to failing.

You should scan your USB drive with a reliable data recovery tool like Disk Drill, as it will pull all hidden existing and lost data for you to recover. Once your data is safe, you can proceed to unhide the files through Command Prompt (using the attrib command), File Explorer, or Control Panel.

Help Us Improve This Article
Was the provided information useful? Your vote is important to use!
23710
Jordan Jamieson-Mane
Author
  • 47 publishings
  • Auckland, New Zealand
  • LinkedIn

Jordan Jamieson-Mane is a content writer with a focus on technology-related content. He has spent much of his life studying and working with all types of technology. During his time as a writer, he has written countless articles in the field of data recovery, breaking down complex topics into articles that are easy to understand.

When he's not writing articles on data recovery, Jordan enjoys traveling the world, reading books, and building websites.

Jordan’s recent reviews
Jordan’s recent publishings
Yevgeniy Tolkunov
Yevgeniy Tolkunov
Approver

Yevgeniy Tolkunov is Hardware Engineer at ACE Data Recovery. Yevgeniy has a Master's Degree in Physics, Information Technology; 15+ years of experience.