How to Find & Delete Empty Folders on Your PC [3 Ways]

Removing empty folders manually is simpler than you think

by Madalina Dinita
Madalina Dinita
Madalina Dinita
Windows & Software Expert
Madalina has been a Windows fan ever since she got her hands on her first Windows XP computer. She is interested in all things technology, especially emerging technologies... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • If you want to delete empty folders, you can do that by manually searching for them.
  • Alternatively, you can use Command Prompt to delete them or specialized software.
delete empty folders in Windows 10 11
XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend Restoro PC Repair Tool: This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:
  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

Unnecessary directories can clutter your hard drive, and this is why many users want to delete empty folders on their PC.

This isn’t always easy, especially if you can’t delete folders on your PC. But if you’re still determined to remove these folders, this guide will show you how to do it.

Can I delete all empty folders on my computer?

While it’s possible, you shouldn’t remove all empty folders due to the following reasons:

  • System issues – Even if a folder is empty, it might have its purpose. So if you notice a You need Administrator permission to delete folder message, you’re probably working with a system directory, and you should leave it be.
  • Software issues – Just like with system directories, the software creates empty folders that it uses when needed. If you remove them, certain applications won’t start or work properly.

How can I delete empty folders?

Before you try anything else, it’s crucial that you check the following:

  • Permissions – Simply put, you won’t be able to delete a folder if you’re not its owner or if you don’t have the necessary permissions. So take ownership of the folder or ask the administrator to give you full access.

1. Search for empty folders

  1. Open This PC.
  2. Click on the Search bar and  enter size:empty.
  3. After the search ends, it will display all files and folders that do not take up any memory space.
  4. Select the ones you want to delete, right-click on one of them, and click on Delete.

This first method does not require any software to be installed but is based on a search based on size.

2. Clear Registry entries using a specialized tool

Registry cleaners can help you delete redundant items from your computer’s registry, including empty folders.

So, if you haven’t installed a registry cleaner on your machine, we strongly recommend you use it on your Windows 10 PC.

Restoro does a complete scan of your PC’s issues and provides a thorough system diagnosis within a few moments and fixes malfunctioning grouped and/or individual registry files that affect the performance of your device and restores compromised registry values to their default settings.

In case the registry keys have been damaged severely, you can allow Restoro to replace them with new and healthy ones from its online repository.

This software brings your Windows Registry to an optimized state, helping your device function properly, without any errors.

Restoro

Bring your system to an optimized state and use Restoro.
Free Trial Download now

3. Use Command Prompt

  1. Open search and look for command prompt. Select Run as administrator.
     
  2. Type the following command and press Enter: cd /
  3. In the Command Prompt, type the following command and press Enter: DIR /AD/B/S | SORT /R > EMPTIES.BAT
  4. Open the file with Word or any other editor. Word has a Find and Replace feature.
  5. Search the structure ^p and replace it with ^pRD.
  6. Save the EMPTIES.BAT file and exit from your editor.
  7. Run the file and try to delete all the folders on that list, but it will fail for the folders with content.

This method is a little more challenging to implement, but if you follow these steps thoroughly, you can do it.

If you are facing other issues, like being unable to rename folders on Windows, check our detailed guide to fix it quickly.

Please comment in the section below for more questions and suggestions.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

This article covers:Topics: