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.

Sign up and earn $1000 a day ⋙

Leave a Comment

How to use Dynamic Lighting Windows 11 to adjust RGB lights

How to use Dynamic Lighting Windows 11 to adjust RGB lights

Windows 11 introduces an interesting feature called Dynamic Lighting, a system that controls RGB lighting on devices like laptops, keyboards, mice, and other connected devices.

How to Fix Windows Error Code 0xc000000f

How to Fix Windows Error Code 0xc000000f

Error code 0xc000000f is a common error on Windows PCs. Often accompanied by messages like “Windows failed to start” or “Your PC needs to be repaired”, it is the dreaded blue screen of death (BSOD) error that no user wants to see.

How to block application installation on non-system drives Windows 11

How to block application installation on non-system drives Windows 11

If you want to block application installation on drives other than the system drive, you can disable this feature via Group Policy or Registry Editor.

How to check application version installed on Windows 11

How to check application version installed on Windows 11

Although updates are installed automatically, sometimes you may need to check the version of an application on Windows.

4 ways to quickly open the network connection tool on Windows

4 ways to quickly open the network connection tool on Windows

Whether you're a casual Windows user or a professional technician, knowing how to quickly open Network Connections will help you manage your network more efficiently.

How to Use Clipboard History in Windows 10

How to Use Clipboard History in Windows 10

Windows clipboard history got a major overhaul with the Windows 10 October update.

5 ways to turn off Windows 11 Update, stop updating Win 11

5 ways to turn off Windows 11 Update, stop updating Win 11

In this article, WebTech360 will guide you how to turn off Windows Update on Windows 11 operating system.

How to fix missing Language bar on Windows 10

How to fix missing Language bar on Windows 10

Language bar disappeared on Windows 10? Follow these solutions.

4 Tips to Get the Most Out of the Windows Clipboard

4 Tips to Get the Most Out of the Windows Clipboard

From pinning frequent items to syncing them across multiple devices, here are four great tips that will help you get the most out of the Windows Clipboard.

Microsoft is bringing annoying Windows 11 Start menu ads to Windows 10

Microsoft is bringing annoying Windows 11 Start menu ads to Windows 10

Microsoft continues to announce plans to add new features to Windows 10, despite the fact that the operating system will inevitably die in October 2025.

How to fix Operating system not found error on Windows

How to fix Operating system not found error on Windows

Of all the errors, glitches, and problems you can encounter while using Windows 10, a few messages can leave you feeling truly terrified, such as the Operating system not found screen.

How to Get Rid of Ads on Windows 11 Devices

How to Get Rid of Ads on Windows 11 Devices

Microsoft allows users to disable ads from Windows 11, but the process isn't straightforward. Here are different ways to remove ads from your Windows 11 device.

How to hide phone notification icons in Windows 11 Start menu

How to hide phone notification icons in Windows 11 Start menu

The Phone Link app on Windows lets you link your phone and PC. And you can check your device's battery and connection status,... right from the Start menu.

Invite to download Dynamic wallpaper pack designed for Windows 11 but canceled at the last minute

Invite to download Dynamic wallpaper pack designed for Windows 11 but canceled at the last minute

Besides elements like new interface and features, another aspect, although small, also receives a lot of attention on Windows: wallpaper packs designed and introduced by Microsoft for special occasions.

Microsoft stops supporting Windows Remote Desktop app, moves to new Windows app

Microsoft stops supporting Windows Remote Desktop app, moves to new Windows app

Microsoft has made an important announcement for customers using the Remote Desktop for Windows app from the Microsoft Store. On May 27, 2025, this app will be officially discontinued and removed from the Microsoft Store.