“Cannot delete folder: The directory is not empty” – How to fix


“Can not delete/Access denied” or “Can not delete folder: The directory is not empty” is one of the most common errors in Windows XP, Windows Vista, Windows 7 and Windows 8. This error occurs during the process you try. delete a folder on the system.

To fix the error “Can not delete/Access denied”  or “Can not delete folder: the directory is not empty” you can not use CHKDSK without installation, use any software, third program.

To correct “Can not delete folder: The directory is not empty”, follow the steps below:

Step 1:

Press the Windows+R key combination to open the Run command prompt, then type CHKDSK/F into the Run command prompt and press Enter.


In the above statement, replace F with the drive letter that contains the folder you want to delete.

For example, if the directory you want to delete is in drive E, you use the command: CHKDSK/E.

Step 2:

Now on the screen you will see the message:

“Chkdsk can not run because the volume is in use by another process. Would you like to schedule this volume to be checked next time the system restarts? (Y/N)”.

Step 3:

Your task is to enter Y and press Enter to agree.

Step 4:

After pressing Enter, the Run command window will automatically close.

Step 5:

Restart your computer to start the scanning process.

Step 6:

Once the scan is finished, proceed to open the drive and try deleting the folder you want to delete before but the error.

Step 7:

Removing the directory and not displaying any error messages means that CHKDSK has fixed the error “can not remove directory not empty”.