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
Easily get rid of Windows errors Fortect is a system repair tool that can scan your complete system for damaged or missing OS files and replace them with working versions from its repository automatically. Boost your PC performance in three easy steps:
  1. Download and Install Fortect on your PC.
  2. Launch the tool and Start scanning
  3. Right-click on Repair, and fix it within a few minutes
  • 0 readers have already downloaded Fortect so far 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.

Fortect 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 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.

Get Fortect

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 experiencing issues?

SPONSORED

If the above suggestions have not solved your problem, your computer may experience more severe Windows troubles. We suggest choosing an all-in-one solution like Fortect to fix problems efficiently. After installation, just click the View&Fix button and then press Start Repair.

This article covers:Topics: