Instructions for fixing errors 'Cannot delete folder: The directory is not empty'
'Cannot delete / Access denied' hay 'Không thể xóa thư mục: những thư mục không phải trống' is one of the most common errors in Windows XP, Windows Vista, Windows 7 and Windows 8. This error occurs while you try Delete a folder on the system.
To fix the error 'Cannot delete / Access denied' or 'Cannot delete folder: the directory is not empty' you cannot use CHKDSK without installing and using any 3rd party software or programs .
To fix the error 'Cannot delete folder: The directory is not empty', follow the steps below:
Step 1:
Press the Windows + R key combination to open the Run command window, then enter CHKDSK / F in the Run command window and press Enter.
Note:
In the above command, replace F with the drive name containing the directory you want to delete.
For example, if the folder 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 cannot run because the volume is in use by another process. Bạn có thể xử lý các phân vùng này để kiểm tra thời gian hành động việc thử tiếp tục (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:
After the scan finishes, proceed to open the drive and try to delete the folder you want to delete earlier but report an error.
Step 7:
If the directory is deleted and does not display any error messages, it means that CHKDSK has fixed the error 'cannot remove directory not empty'.
Refer to some of the following articles:
- Instructions for fixing Access Denied errors during file or folder access on Windows
- Use CMD to create an 'undeleted' folder on Windows
- 7 commands to manipulate the most basic files and folders everyone must know
Good luck!
You should read it
- How to delete the $ Windows. ~ WS folder in Windows 10
- What is the directory $ WINDOWS. ~ BT, can delete $ WINDOWS. ~ BT or not?
- What is System32 directory and why should you not delete it?
- A simple way to delete a folder with a long name on Windows
- Instructions for fixing Access Denied errors during file or folder access on Windows
- How to fix 'The File or Directory is Corrupted and Unreadable' error
- What is the root directory?
- 5 most common Windows errors and this is a fix
- Instructions for fixing errors: 'You Have Been Denied Permission To Access This Folder' on Windows 10
- What is the $ GetCurrent and $ SysReset directories? Can these two folders be deleted?
- Theory - What is Active Directory?
- What is the $WINDOWS.~BT directory? Is it possible to delete this folder?
Maybe you are interested
6 Data Collecting Apps You Need to Delete for Better Privacy
How to Recover Deleted Contacts on iPhone - If you accidentally delete contacts....
Cannot Delete Volume drive D, what is the reason?
How to delete white space in a table in Word - Appears right below the data
How to delete Comment and Section Break in Word 2013, 2010, 2007, 2003
How to recover deleted photos on iPhone X, iPhone 11