7 ways to fix Windows showing empty folders even though there are files inside

It can be confusing to see an empty folder when the folder size suggests otherwise. The problem becomes even more difficult if you need the files urgently. If you definitely remember copying data to the folder (as reflected by the folder size), but the folder appears empty, don't worry.

Many times, files are hidden, resulting in empty folders. However, sometimes the problem can be more serious. Regardless of the problem, the following article will cover the fixes in this article to help you regain access to your files.

1. Eliminate system specific problems

Restart your computer before trying any fixes to make sure it's not a temporary glitch. If the problem persists after you've restarted your system once, check to see if the problem is specific to the folder or persistent across the entire operating system.

If the problem appears everywhere, your operating system is corrupted. To fix the problem, update or reset your operating system. However, if the problem persists in only one folder, try the following fixes.

2. Make sure files are not hidden

Hidden files also contribute to overall file size. So, if you find that a folder of significant size appears as an empty folder, make sure that the files are not just hidden. To do so, follow these steps:

B1: Go to an empty folder, even if the size is displayed.

B2: Navigate to the View tab in File Explorer.

B3: Select the Hidden items box in the Show/Hide section.

7 ways to fix Windows showing empty folders even though there are files inside
Check the Hidden items box to view hidden files in Windows 10 File Explorer

If the files were previously hidden, you can view them now.

3. Using the help of Command Prompt

By running a set of commands in Command Prompt , users can perform specific tests, run scans, and manage other processes. A built-in command can be used to check for missing or hidden files and folders on the hard drive.

Running this command has a good chance of recovering the files in the directory. To run it, follow these instructions:

B1: In the Windows search bar, type "cmd".

B2: Right-click on the Command Prompt application and select Run as administrator to open CMD with admin rights .

B3: Enter the following command into the Command Prompt application:

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

B4: Press Enter.

7 ways to fix Windows showing empty folders even though there are files inside
Run a command in the Command Prompt application to locate missing items

D: in the command syntax refers to the drive containing the missing files. If the partition containing the missing files is different from D:\, you should adjust the command accordingly.

Allow the process to complete and restart your computer. Then, check the folder again to see if the files appear. If not, continue with the other fixes.

4. Restart Windows Explorer

Windows Explorer, also known as File Explorer, is the utility that allows you to browse through files and folders. That is why it is often referred to as the Windows file manager application. When you open a file, organize a folder, copy or move it, Windows Explorer performs these actions.

Therefore, restarting it can help you recover files and folders that may have lost previews due to problems with File Explorer. To restart Windows Explorer, follow the instructions in: How to restart the Windows Explorer.exe process .

5. Run a disk check

Hard drive issues can also be the cause of the problem. So before you proceed any further, you should check your hard drive for errors. While there are several ways to run the Windows disk check, here is the simplest:

B1: Right-click on the Windows Start button and select File Explorer.

B2: On the left side, click This PC.

B3: Right-click on the partition containing the empty folder and click Properties in the context menu.

7 ways to fix Windows showing empty folders even though there are files inside
Open drive properties in Windows

B4: In the Properties window , navigate to the Tools tab.

B5: In the Error-checking section , click the Check button.

7 ways to fix Windows showing empty folders even though there are files inside
Click the Check button to run the disk check scan.

B6: Whether or not any errors are displayed, click Scan Drive.

After the scan is complete, check the problem folder to see if the files have been recovered. If not, continue with the fixes below.

6. Scan for malware

The absence of files in a folder can also be caused by the presence of hidden malware. Therefore, if the fixes do not help you recover your data, you must rule out the possibility that malware is the culprit.

There are several ways to remove malware from your Windows PC; you can use a third-party malware removal tool to remove viruses , use Windows tools to clean your PC, or simply run a Microsoft Defender Offline Scan to make sure your computer is malware-free.

Once the virus has been removed, go back to the same folder and check to see if the files you were expecting to access are back. If you find any, you will need to take further steps to ensure that other files and folders are safe from the virus.

If malware scanning and virus removal don't help, you may need third-party software to recover your data.

7. Use a third-party data recovery tool

If none of the above fixes help you regain access to your files, a third-party data recovery tool is your last resort. Data recovery software works by using various algorithms to find traces of lost files on your hard drive and then gives users the option to recover files that are no longer on their computer.

So, run a data recovery tool to see if it can help you find your lost data. While there are many third-party tools that can help you recover your data, this article recommends checking out the best data recovery tools available: EaseUS, Disk Drill, and Recuva.

Hopefully, after performing the fixes mentioned above, you will be able to retrieve the files that are not showing up in the folder. When things go wrong, third-party data recovery tools will not disappoint you.

Additionally, common issues with the Preview pane can also cause this error, so make sure that the problem is not coming from an issue in the Preview pane.

Leave a Comment

How to Use Windows 11 Quick Assist for Help

How to Use Windows 11 Quick Assist for Help

Discover how to use Windows 11 Quick Assist for seamless remote support. Learn step-by-step setup, troubleshooting, and tips to help friends or family with tech issues instantly.

Troubleshooting Windows 11 Dual Monitor Lag Fixes

Troubleshooting Windows 11 Dual Monitor Lag Fixes

Struggling with dual monitor lag on Windows 11? Discover proven troubleshooting fixes to eliminate stuttering, delays, and performance issues for seamless multi-monitor setups. Step-by-step guide inside.

How to Fix Windows 11 Startup Settings Blank Error

How to Fix Windows 11 Startup Settings Blank Error

Struggling with the frustrating Windows 11 "Startup Settings" blank error? Discover proven, step-by-step fixes to restore your boot options quickly and get your PC running smoothly again. No tech expertise needed!

How to Activate Windows 11 Enterprise with KMS

How to Activate Windows 11 Enterprise with KMS

Discover how to activate Windows 11 Enterprise using KMS effortlessly. This comprehensive guide covers everything from requirements to troubleshooting, ensuring seamless activation for your business needs.

How to Fix Windows 11 Kmode Exception Not Handled

How to Fix Windows 11 Kmode Exception Not Handled

Struggling with the dreaded KMODE EXCEPTION NOT HANDLED error on Windows 11? Discover proven, step-by-step fixes to resolve this blue screen nightmare quickly and get your PC running smoothly again. No tech expertise needed!

Troubleshooting Windows 11 Motherboard Driver Error Fix

Troubleshooting Windows 11 Motherboard Driver Error Fix

Struggling with Windows 11 "Motherboard" Driver Error? Discover proven troubleshooting steps to fix it fast and get your PC running smoothly again. Easy, step-by-step guide for beginners.

How to Fix Windows 11 Ping Spikes Over Wi-Fi Fixes

How to Fix Windows 11 Ping Spikes Over Wi-Fi Fixes

Struggling with ping spikes on Windows 11 over Wi-Fi? Discover proven fixes to stabilize your connection, reduce lag, and enjoy smooth gaming or streaming. Step-by-step solutions for instant results.

How to Recover Deleted Photos in Windows 11

How to Recover Deleted Photos in Windows 11

Accidentally deleted precious photos? Discover proven methods to recover deleted photos in Windows 11 effortlessly. Step-by-step guides, tools, and tips to restore your images safely.

How to Use Windows 11 Terminal Instead of CMD

How to Use Windows 11 Terminal Instead of CMD

Discover how to use Windows 11 Terminal instead of CMD for a modern, efficient command-line interface. Learn installation, setup, and tips to boost your productivity with tabs, themes, and more.

How to Activate Windows 11 Pro Without a Product Key

How to Activate Windows 11 Pro Without a Product Key

Discover safe, legitimate ways to activate Windows 11 Pro without a product key. Learn step-by-step methods using built-in tools and official Microsoft options to get your OS up and running smoothly. No risks, no hassle – just pure productivity.

Fixing Battery Drain During Hibernate in Windows 11

Fixing Battery Drain During Hibernate in Windows 11

Struggling with battery drain during hibernate in Windows 11? Discover expert fixes to preserve your laptop

How to Fix Windows 11 Input Lag for Valorant and CS2

How to Fix Windows 11 Input Lag for Valorant and CS2

Struggling with input lag in Windows 11 while playing Valorant or CS2? Discover proven, step-by-step fixes to restore smooth gameplay and boost your performance. Say goodbye to delays and hello to precision shots.

How to Fix Out of Memory Error in Microsoft Edge

How to Fix Out of Memory Error in Microsoft Edge

Struggling with the frustrating "Out of Memory" error in Microsoft Edge? Discover proven, step-by-step fixes to reclaim your browsing speed and stability. Updated with the latest tips for optimal performance.

How to Fix Windows 11 Google Drive Not Launching Fix

How to Fix Windows 11 Google Drive Not Launching Fix

Struggling with Google Drive not launching on Windows 11? Discover proven fixes to resolve the issue fast, from restarts to advanced troubleshooting. Get your cloud storage working seamlessly today!

How to Disable Gamebar Presence Writer for Performance

How to Disable Gamebar Presence Writer for Performance

Discover how to disable Game Bar Presence Writer on Windows to optimize gaming performance. Step-by-step guide to reduce lag, boost FPS, and enhance your setup for smoother gameplay. Essential tips for gamers in 2026.