7 ways to fix Windows error showing an empty folder even though there are files inside

It's confusing to see an empty folder, when the folder size says it's not. The problem becomes more difficult if you need the files urgently. If you remember to definitely copy data to the folder (which is reflected by the size of the folder), but the folder appears empty again, don't worry.

Many times files are hidden, resulting in empty folders. However, sometimes, the problem can be of a more serious level. 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 boot your system once, check if the problem is folder-specific or persistent throughout the operating system.

If the problem is everywhere, your operating system is at fault. To solve the problem, update or reset the 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 the overall file size. Therefore, if you find that a folder of considerable size appears as an empty folder again, make sure that the files are not just hidden. To do so, follow these steps:

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

Step 2: Navigate to the View tab in File Explorer.

Step 3: Check the Hidden items box in the Show/Hide section.

7 ways to fix Windows error showing an empty folder even though there are files inside Picture 1

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

3. Use the help of Command Prompt

By running a set of commands in the Command Prompt, users can perform specific checks, 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:

Step 1: In the Windows search bar, type "cmd".

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

Step 3: Enter the following command into the Command Prompt application:

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

Step 4: Press Enter.

7 ways to fix Windows error showing an empty folder even though there are files inside Picture 2

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 reboot the machine. Then check the folder again to see if the files are present. If not, continue working on other fixes.

4. Restart Windows Explorer

Windows Explorer, also known as File Explorer, allows you to browse through files and folders. That's why it is often called a 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 their preview 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 drive check

Hard drive problems can also be the cause of the problem. Therefore, before proceeding further, you must check the hard drive for errors. Although there are many ways to run the Windows drive check, this is the simplest:

Step 1: Right-click the Windows Start button and select File Explorer.

Step 2: On the left side, click This PC.

Step 3: Right-click the partition containing the empty folder and click Properties in the context menu.

7 ways to fix Windows error showing an empty folder even though there are files inside Picture 3

Step 4: In the Properties window, navigate to the Tools tab.

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

7 ways to fix Windows error showing an empty folder even though there are files inside Picture 4

Step 6: Whether showing any errors or not, click Scan Drive.

After completing the scan, check the problematic 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 directory can also occur due to 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 a Windows PC; you can use a third-party malware removal tool to get rid of the virus, use Windows tools to clean your PC, or just run Microsoft Defender Offline Scan to make sure your computer is free from viruses. malware.

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

If malware scanning and virus removal don't help, you may need third-party software to recover 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 should be the last resort. The data recovery software works by using different algorithms to find traces of lost files on the hard drive and then gives the user the option to recover the files that are no longer on their computer. them anymore.

Therefore, run a data recovery tool to see if it can help you find your lost data. Although many third-party tools can assist you in recovering your data, the article recommends that you check out the best data recovery tools available: EaseUS, Disk Drill and Recuva.

Hopefully, after doing the fixes mentioned above, you will be able to retrieve the files that are not visible in the folder. When things go wrong, third-party data recovery tools won't let you down.

In addition, common problems with the Preview pane can also cause this error. Therefore, make sure that the problem is not coming from a problem in the Preview pane.

5 ★ | 1 Vote

May be interested

  • Learn about the Program files folder in WindowsLearn about the Program files folder in Windows
    program files is a folder first found in microsoft windows 95 and included in all later versions of microsoft windows, for storing software programs installed on a computer.
  • Instructions to delete empty folders in Windows computerInstructions to delete empty folders in Windows computer
    during the use of windows computers, many empty folders may appear due to software installation or removal. although these folders do not affect system performance, if there are too many, they can be cluttered and take up storage space.
  • How to access WindowsApps folder on Windows 10 and Windows 8?How to access WindowsApps folder on Windows 10 and Windows 8?
    when downloading and installing an application from the windows store, by default windows will use the windowsapps folder located in c: program files to store all the installation files of the application you install. by default the windowsapps folder is hidden and users cannot access and use it when needed. and whenever you open the folder, on the screen you will get an error message: you don't currently have permission to access this folder.
  • How to Make a New Folder on a ComputerHow to Make a New Folder on a Computer
    this wikihow teaches you how to create a new, empty folder on both windows and mac computers. go to the area where you want to create the folder. the easiest example is your computer's desktop, but you can create a folder anywhere on your...
  • How to delete all empty folders, junk folders on Windows 10How to delete all empty folders, junk folders on Windows 10
    in the process of using windows 10, we cannot avoid having too many empty folders, junk folders on the system. however, we can still delete the empty folder, that junk folder quickly goes away.
  • 3 ways to delete update files on Windows 113 ways to delete update files on Windows 11
    windows update downloads updates to a folder to prepare for installation. however, the windows update files in the folder are not automatically deleted after installation.
  • Instructions for fixing Access Denied errors during file or folder access on WindowsInstructions for fixing Access Denied errors during file or folder access on Windows
    in the process of opening a file or a folder on windows, you cannot open it and on the screen you receive an access denied error message. this article will show you some ways to fix the 'access denied' error that appears in many different situations.
  • The puzzling reactions of the operating systemThe puzzling reactions of the operating system
    taking funny pictures of her son, hoai decided to save them in a folder. but because of the hurry, she did not name the anh folder, but recorded it as son. oddly enough, windows xp just stopped, not letting her do that and only showing new folder.
  • How to Protect a Folder in WindowsHow to Protect a Folder in Windows
    while windows does not come with support for adding passwords to specific folders, there are multiple ways to protect your files from prying eyes. follow the steps in this guide to make sure that your personal files are safe from others....
  • Delete these temporary Windows folders to reclaim precious storage spaceDelete these temporary Windows folders to reclaim precious storage space
    windows creates temporary files in the background to keep things running smoothly. but over time, these hidden files silently accumulate in system folders, slowly taking up all the space you have.