Securing and protecting your files is very important but sometimes you might want to delete some of the unwanted and unnecessary files which you never gonna use it in the future but some kind of reason those files are not deleting when you try to delete it permanently.
Also, Read – How To Backup Any Android Phone
If you are facing this problem and me too in the past, I’m going to show you here how you can delete your file from your computer very easily. You might be getting something like this in the picture below.
Alternatively, you may also get some of the following messages as well while deleting the files or folder from your computer :
- Cannot delete file: Access is denied.
- The file is in use by another program or user
- There has been a sharing violation.
- The file or directory is corrupted and unreadable.
- The source or destination file may be in use.
- Make sure the disk is not full or write-protected and that the file is not currently in use.
So there are a lot of ways to delete your files and folders permanently. Here are a lot of ways to delete your files so you can remove it from your computer very easily.
Delete the undeletable & locked files using these different methods :
- First, reboot and see if you can delete it.
- Boot in Safe Mode and then try to delete it
- Run ChkDsk, and then see if you can delete it.
- Open an elevated command prompt and:
Use the del command to delete undeletable files:
del “Path of File”
Use the RMDIR or RD command to delete undeletable folders:
rd /s /q “Path of Folder”
/S : Delete all files and subfolders in addition to the folder itself. Use this to remove an entire folder tree.
/Q : Quiet – do not display Y/N confirmation
Be very careful while using this method and use the correct commands.
If these methods fail, I suggest you download and use a free file deleter software to delete locked files and folder which is going to work almost 100% of the time. Like Free File Unlocker, Delete Doctor, Unlocker, Tizer Unlocker, MoveOnBoot, Wise Force Deleter are some free file deleter software that can help you delete undeletable, hidden, ghost files and folders.
One of my favorite and very easy to use the software is Unlocker. It is also free to use so you don’t have to pay anything to get all the features. Unlocker unlocks the file or folder if it is being used by any other program and allows you to delete it. Its Explorer integration is a big help, as all you have to do is right on the undeletable folder or file and click on Unlocker.
If no locking handle is found, it will still delete the folder.
Unlocker is a handy tool to have around in such circumstances, BUT it comes with a pre-checked option of installing a QuickStores toolbar for eBay, Amazon & Shopping.com. It also places two eBay internet shortcuts on your desktop. You may want to uncheck these options.