When your files get corrupted or deleted, there are a variety of methods to fix the issue. But when your flash drive’s contents just don’t show up, the problem can be trickier to diagnose.

For the OS, hidden files aren’t exactly a ‘problem’. Many system files, for example, are hidden by default. This means that Windows will not automatically detect which files have been wrongfully hidden and show them.


What then should you do to access your important data again? Here is a comprehensive guide.

Common Reasons For Why Your USB Drive is Not Showing Files and Folders

There are many reasons why a USB drive may not be showing any files and folders. Here are the most common ones:


malware icon Viruses are the most common culprit for hiding your files on a pen drive. Many malicious programs are designed to turn all the important files of a drive into hidden files, which prevents you from accessing your data.

In cases like this, your USB drive still shows up as ‘used’ even though you cannot actually see a single file after opening it. Antivirus programs, while removing the virus in question, do little to actually fix the problem.


Note that more malicious viruses will not just hide but corrupt your files. Here is how you can recover your data from a corrupted USB.


accident icon It is possible to hide your own directories by accident. This can happen due to a variety of reasons. Wrong use of the attrib command or messing around with file properties can accidentally change your files to hidden.

As the action isn’t damaging by itself, the OS will not caution you or revert your changes. This can make it difficult to realize when you might have hidden your files yourself. It is also possible that the files are hidden by design; for example, when your USB holds protected system files.

RAW Drive

raw drive icon It is also possible that your files aren’t hidden at all. Sometimes, the formatting of your USB drive can get damaged, resulting in a RAW disk. Such a disk lacks any file system and cannot be used for storage until it is formatted again.

You can see whether your flash drive is RAW by right-clicking on its icon and selecting Properties. If the file system says RAW, then the methods detailed in this guide wouldn’t work for you. You need to try these solutions instead.


If you accidentally format the USB before retrieving your files, don’t panic. Here is how you can recover data from a formatted flash drive.

4 Proven Methods to Unhide Files and Folders on USB Drive

We will not waste your time by listing a dozen methods that may or may not work. Instead, here is are the four tried and tested techniques for revealing hidden files on a USB drive:

Method 1: Unhide Files in USB using File Explorer

You can also view hidden files from File Explorer. This can be easier if you don’t like the idea of entering commands in a terminal window. Here are the steps for doing so:

  1. Open File Explorer and head to My PC. Your USB drive should be visible here.File Explorer
  2. Double click on the USB device to view its contents. Any hidden files cannot be seen right now.File Explorer USB
  3. On the top of the window, you will see a bunch of tabs like Home, Share, View, etc. Switch to the View tab and enable the Hidden items checkbox. All hidden files and folders can now be seen.File Explorer View

Method 2: View Hidden Files In USB from Control Panel

You can also change the File Explorer settings from the Control Panel. Just follow these steps:

  1. Open Control Panel on your computer. You can search for it from the Start Menu.Search Control Panel
  2. From the various categories available in the Control Panel, click on Appearance and Personalization.Control Panel
  3. In this new window, you will find File Explorer Options. Click on it to continue.Control Panel Appearance and Personalization
  4. File Explorer Options, as the name suggests, allows you to customize all aspects of the Windows program. For now, click on the View tab.File Explorer Options
  5. In the Advanced settings is Hidden files and folders toggle. Click the checkbox with Show hidden files, folders, and drives to enable File Explorer to show hidden files.File Explorer Options View

Method 3: Show Hidden Files on Flash Drive via Attrib Command

The most straightforward way of making your hidden files viewable is to use the attrib command. This command prompt utility can change the file attributes of whole drives at once, making them very useful in scenarios like this.

Using the attrib command, you can forcefully change your files back to normal even when a virus is actively trying to keep them hidden. Messing around with cmd might seem a bit daunting, but it is actually quite easy. Just follow these steps:

  1. Run Command Prompt as an administrator. You can find it by typing cmd in the search box.Command Prompt
  2. Now enter this command:
attrib -h -r -s /s /d X:\*.*

Where X is the drive letter of your flash drive. This will unhide all the hidden files on the USB and make them viewable again.Command Prompt Attrib

Method 4: Recover Hidden Files on Thumb Drive via Recovery Software

Sometimes, your missing files aren’t actually hidden, but deleted. It might be due to a virus, or perhaps by accident, but

To demonstrate the process we will be using Disk Drill USB Recovery, as it is one of the easiest to use data recovery applications for Windows. There are many other great USB recovery tools you can use as well.


Want to learn more about how Disk Drill can help you recover files that have disappeared from your USB drive? Check out our extensive Disk Drill review.

Here are the steps for recovering hidden files from your USB with Disk Drill:

  1. Download and install Disk Drill from the official website.Cleverfiles Disk Drill
  2. Upon running it for the first time, you will be greeted with a license agreement. Accept it and continue through the welcome screen.Disk Drill License Agreement
  3. The main window of Disk Drill displays all drives connected with your computer. Select your USB device and click on Search for lost data.Disk Drill Main Screen
  4. While the program scans your flash drive, it will display the progress by the number of files found. You can check out these files at any time during the scan by clicking on the Review found items button.Disk Drill Scanning
  5. The files will show up in a File Explorer-like view complete with folders and sub-folders. You can select a specific file category from the left, and apply other Filters from the top.Disk Drill Review Found Items
  6. Select the files that you want to recover and click the Recover button. You will be prompted to choose a location to save these files to. It is recommended not to save them to the pen drive itself but on your main drive. That way, there is no chance of overwriting other hidden files.Choose where Disk Drill will store the recovered files.



Not being able to see the contents of your USB drive can be a frustrating experience. Thankfully, hidden files are one of the easiest problems to fix.

The attrib command, the File Explorer settings, the Control Panel – there are multiple ways you can go about it. And if all else fails, you can always fire up a data recovery tool to recover lost data from your USB stick.

Author • 17 articles

A frontend developer turned writer, Levin brings his in-depth knowledge to bear in breaking down complex technical topics into a layman's perspective. A believer in emergent technologies, Levin writes about Machine Learning and Internet-of-Things to explore how people and businesses can benefit from innovation. He also likes going into the nitty-gritty details of software or hardware products to bring an unbiased review that adds value to his readers.

Andrey Vasilyev

Andrey Vasilyev is an Editorial Advisor for Handy Recovery. Andrey is a software engineer expert with extensive expertise in data recovery, computer forensics, and data litigation. Andrey brings over 12 years of experience in software development, database administration, and hardware repair to the team.