How to fix “Error 0x8007009: The directory is not empty”
How to fix “Error 0x8007009: The directory is not empty” – The prompt “An unexpected error is keeping you from deleting the folder. If you continue to receive this error, you can use the error code to search for help with this problem. Error 0x80070091: The directory is not empty” is an indication of an interrupted action. It is generally occurs when deletion is process for folder stored in external hard disk or SD card or Pen drive. When a user initiates process to delete file or folder, a popup window emerge to tell user about halted deletion.
This error can be fixed by renaming the folder which you prompt to delete. But when renaming does not resolve the error, user need to follow other steps given below. The other troubleshooting methods are given below.
- Scan your Computer with a reliable Antivirus –
If recently you have installed any third party software and after that the error message is showing, then you are advised to run a antivirus scan to whole computer system.
- Restarting Window explorer might solve the problem –
For restarting window explorer, Goto Task Manager and click on Processes tab. Scroll down the slider till you get Windows Explorer. Then select it and click on the Restart button visible in the bottom right corner of the Task Manager. After restarting the window go for deletion process to check if problem is solved.
- Run The Check Disk –
The hard drive contains many sectors where data are stored in correct format. It may be possible that the sectors gets infected causing such errors. In such case open the command prompt with administrative privilege and run the command given below.
- Chkdsk /f /r E:
Here E indicates the drive where you get the error message. Here you need to replace it with your own drive letter (if required). The /f in the command try to fix the detected problems and /r will identify the bad sector and try to recover the lost information. After all restart your computer and perform deletion to see your problem is solved. How to fix “Error 0x8007009: The directory is not empty”.