(The action can’t be completed because the folder or a file in it is open in another program)
In some cases, you might come across a file or folder that refuse to be deleted. This can be a problem specially if you want to clean up your computer from files that you don’t need anymore.
Well you’re in luck today, this problem can be fixed by performing simple troubleshooting.
Method 1: Perform a Reboot
The main cause for files that are not deleting is that it is still being used by a specific program that is running in the background even if you close all your applications.
A simple restart of Windows can fix this issue.
- Shutdown your computer
- Unplug your computer
- Press on the power button for about 10 seconds while your computer is unplugged
- Plugin your computer and Start it normally
Go to the file or folder that you are trying to delete and give it a try. If you are still having problems deleting the file, proceed to the next method below.
Method 2: Restart Windows Explorer
Windows explorer is the program responsible for file management on Windows 10. It is possible that Windows Explorer have encountered a bug or error which results to files being unable to delete.
Restarting Windows Explorer on task manager might be able to fix the problem on deleting files.
Step 1: Press on Ctrl + Shift + Esc to Open Task Manager
Step 2: Click on Processes tab
Step 3: Scroll down and find Windows Explorer
Step 4: Select Windows Explorer and Click on Restart
Step 5: After restarting Windows Explorer, try deleting the file you are having problems with and see if the issue is fixed.
Method 3: Use Resource Monitor
Step 1: Press on Windows key + R to open Run command
Step 2: Type resmon.exe and click ok
Step 3: On Resource Monitor, Click on CPU tab
Step 4: Expand Associated Handles
Step 5: Copy the name of the folder or file you are trying to delete
Step 6: Paste the file name on the search bar on Associated Handles
Step 7: Press Enter
Step 8: A program name will appear on the menu; this is the program that is preventing the file from being deleted.
Step 9: Right click on the program and click on end process
After ending the process, try to delete the file or folder.