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
- 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?
May be interested
- Instructions to delete Windows.old folder on Windows 7/8 / 8.1?usually after you reinstall windows without deleting the old partition, windows 7/8 / 8.1 will appear a new folder in drive c with the name windows.old. what is that? that is the folder containing all the system files of the old windows version, when not deleted, the system will automatically collect all in one folder and name it windows.old.
- How to delete all empty folders, junk folders on Windows 10in the process of using windows 10, we cannot avoid having too many empty folders, junk folders on the system. however, we can still delete the empty folder, that junk folder quickly goes away.
- A simple way to delete a folder with a long name on Windowsthis is a situation that is quite common for windows users. this phenomenon is when we copy, cut, move, delete, rename ... or do anything to the directory, data file that has a length in the path that exceeds 255 characters in windows (theoretically on microsoft is 260 characters), the system will display the error as below. so how to delete files and folders with long path names ???
- Search and delete empty folders on Windows using PowerShellhow to search and delete empty folders on windows operating system? trick to use windows powershell to find and delete empty folders on windows 10
- What is the Windows.old folder and how do you delete it?when upgrading to the new version from the old windows, you will have the windows.old folder on your computer, and it takes up a large amount of space. you can delete this folder but the way to delete will be different from the normal folder.
- Delete Files on Mac - Empty Trash or Secure Empty Trash?deleting files in mac os is not a difficult matter in any way, but it can cause confusion. most people know how to drag files into the trash in the dock, but to really delete them, there are two options in the finder menu - empty trash and secure empty trash.
- Instructions for fixing Access Denied errors during file or folder access on Windowsin the process of opening a file or a folder on windows, you cannot open it and on the screen you receive an access denied error message. this article will show you some ways to fix the 'access denied' error that appears in many different situations.
- Use CMD to create an 'undeleted' folder on Windowshave you ever thought that you could create an inviolable folder, no one can delete that folder or not? don't think not because of this you can completely do it. just use cmd without the support of any 3rd party software or applications.
- Guide to delete files not to delete, fix errors when deleting filesinstructions for deleting files from deleting and fixing errors when deleting files - there are many cases when you want to delete a file, but even after turning off its operation, you still cannot delete it by normal deletion methods.
- What is the error This folder is empty? How to fix it?you want to know what the error this folder is empty is and how to handle it? your questions will be answered immediately.