Few days back, when I tried to delete a file on my Windows 10 laptop. Suddenly I got an error message which says, “The file cannot be deleted”. It is very annoying for me as I wish to delete this file, as it has occupied my disk space unnecessarily. In certain cases, the error can be resolved easily, but for novices and the elderly who might not be that tech savvy.
So, in this article, we are showing you some best solutions to resolve this problem.
Why I Am Getting “Cannot Delete File/Folder error”?
The error can occur due to the following reasons:
- The file you are trying to delete is opened or use
- You do not have the appropriate permissions
- The file is corrupted
Solution 1: Reboot Your Computer
It can be the first solution which you can apply when you are getting this error. As rebooting a Computer will clean the cache, close all temp files, any running background process etc. This solution will always be helpful in most of cases. However, in case this it doesn’t solve the issue, you can try other solution provided below.
Solution 2: Terminate the Process
The great thing about Windows operating system is you can see all the running task on your Computer. As it has a Task Manager who manages the all running process. It doesn’t only show you process but it also gives you the option to terminate the task which might be preventing your files from deletion.
For example: if you wish to delete a Microsoft office file, which is not deleting. Then you can find the related process in Task Manager and you can terminate the task from there. You can see the steps provided below:
- Right-click on taskbar of Windows 10 and click on Task Manager option in the menu that appears.
- Now, click on the Processes Tab and hunt for the process who is preventing from deletion and right-click on it and click on End Task option.
Solution 3: Change the Ownership/Permission
The error which prevents you from deletion of files and folders can occur due to lack of the permission/ownership. To resolve the problem, you can try to modify or change the permission of that folder or file. To do so you can follow the steps below:
- Open the properties of the file/folder which you are unable to delete.
- Now, tap on the Security tab and then tap on Advanced.
- Next, click on the Permissions and modify the permission of any entry shows you Deny.
Hope this step will help to delete the file/folder.
Solution 4: Run CHKDSK Utility
The error can also be occurred if the file system is corrupted. To resolve this issue, run the CHKDSK utility on the disk volume to correct any errors. Software bugs, bad sectors on the disk can corrupt the file system. Once you run the CHKDSK utility, system will scan for corrupted files and try to resolve the problem if it can.
That’s all folks! I hope these above-mentioned solutions worked for you. If you have any comment or suggestion, you can write in the section provided below.