Unnecessary directories can clutter your hard drive, and this is why many users want to delete empty folders on their PC.
Removing empty folders manually is simpler than you think
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.
Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
Click Start Scan to find Windows issues that could be causing PC problems.
Click Repair All to fix issues affecting your computer’s security and performance
Restoro has been downloaded by 0 readers this month.
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
- Open This PC.
- Click on the Search bar and enter size:empty.
- After the search ends, it will display all files and folders that do not take up any memory space.
- 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 Restoro on your Windows 10 PC.
This software is the best choice to remove empty directories and improve the performance of your computer.
- Download and install Restoro.
- Open it, and let it finish the initial analysis of your PC.
- Select Start repair to perform a complete system repair, which also includes empty folders as well.
3. Use Command Prompt
- Open search and look for command prompt. Select Run as administrator.
- Type the following command and press Enter: cd /
- In the Command Prompt, type the following command and press Enter: DIR /AD/B/S | SORT /R > EMPTIES.BAT
- Open the file with Word or any other editor. Word has a Find and Replace feature.
- Search the structure ^p and replace it with ^pRD.
- Save the EMPTIES.BAT file and exit from your editor.
- 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.
Restoro
This great software lets you remove the unwanted empty directories in Windows 10!
If you are facing other issues, like being unable to rename folders on Windows, check our detailed guide to fix it quickly.
- Show All Apps by Default in Windows 11 Start Menu [2 Tips]
- How to Enable or Disable Copy Paste in Application Guard
Please comment in the section below for more questions and suggestions.
- folder
Email *
Commenting as . Not you?
Comment