cant delete file from desktop windows 10

How to delete files that wont delete

Having trouble deleting files in Windows? Here are 5 ways to get rid of them

By Martyn Casserly, Contributor| 14 Aug 2019

Sometimes you might come across a file that simply wont delete, no matter how many times you hit the Delete key or drag it to the Recycle Bin. This can be for a number of reasons, but the upshot is the same: its incredibly frustrating. So here are five different methods which should allow you to finally get rid of these troublesome files.

Just bear in mind that Windows system files are usually protected against deletion, as this can cause problems with the operating system, so be sure youre not trying to get rid of those. Of course, its always wise to run a full backup in case anything goes wrong, sohere'show to back up Windows 10before you begin.

Method 1. Close apps

Often, the problem of a file that can't be deleted can be caused by an app that is currently using the file. You might not know that the software in question is doing this, but the simplest way to fix things is to close down all the open applications on your PC.

Once everything is shut down, try deleting the file and hopefully youll find that it will now disappear without further problems.

Method 2.Close Windows Explorer

While closing all of your apps can often do the trick, its also possible that the thing blocking deletion of the file is Windows Explorer - also called File Explorer.

To close this youll need to open Task Manager [right click on the taskbar and then select it from the pop-up menu] and scroll down until you find Windows Explorer. Right click on it and then select End task from the menu.

Method 3.Reboot Windows

Another thing to try before tackling more advanced methods is rebooting your PC. Its hardly scientific, but from time to time apps or even Windows itself can get into a weird state that affects how things work. In many cases, a quick reboot can clear these issues.

Method 4.Use Safe Mode

If none of the methods above have given you any joy, the next option is to use Safe Mode in Windows. This only loads up the OS itself and a bare minimum of files and drivers. So, if the file youre trying to delete has been locked somehow, Safe Mode could make it available once more.

FollowHow to start Windows 10 in Safe Mode for more details,or if youre using Windows 7 then simply reboot your machine and keep pressing F8 as it restarts.

Now navigate to the file and try deleting it. If things go well then it should accept its banishment with no complaints.

Method 5.Use a software deletion app

If the file remains resolutely undeletable then it might be time to invest in a third-party app that specialises in this area. Some options are File Assassin, Long Path Tool, and Microsofts own Process Explorer.

The latter is free and is generally regarded as an excellent tool for unlocking files in order to delete them. Download Process Explorerthen install it on your PC.

Launch the app and youll see a window that looks very much like the standard Windows Explorer. Go to File in the upper left corner, then select Show Details for All Processes.

You can now either scroll through the list until you find the file, but the faster way is to click on the Find option in the menu bar at the top on the window, then select Find Handle or DLL.

Type the name of the file into the search bar, click Search and if the file name appears click on it and youll see the details open up in the other Process Explorer window.

Now, right-click on the file listing in the Process Explorer window and youll be presented with two choices: Close Handle and Properties.

Select Close Handle and the file will be unlocked from the app using it. You might need to repeat this final step if multiple apps are holding the file.

Once thats done you should now be able to finally delete the file.

If you want to clean up your hard drive even further then also take a look atHow to delete duplicate files in Windowsand How to uninstall programs in Windows 10.

Video liên quan

Chủ Đề