PC Buster Download

Fixes · updated 2026-11-07

File won't delete: "The action can't be completed because the file is open in another program" (Windows 11/10)

This window means some program still has the file open, so closing that program lets you delete it right away. If you don't know which program it is, you can search for the file name in Resource Monitor, and if that fails, deleting it right after a Restart works in most cases.

If you don't know what is holding it, PC Buster finds the program that has the file open, closes it and deletes the file to the Recycle Bin (free). Get PC Buster · details

1. Read what the window says

WindowMeaningWhat to do
File In Use / Folder In Use
"The action can't be completed because the file is open in …"
A program has the file (or a file inside the folder) open.Find and close that program with steps 2–4 below.
"You need permission to perform this action"Your account isn't allowed to delete it here. Often a Windows or program folder.See step 5.
It comes back after deletingA program running in the background keeps creating the file again.See step 6.

If the window names a program (for example "open in Microsoft Word"), close that program and click Try Again. The hard case is when it only says "another program".

Buttons, not commands. PC Buster finds what opens ad pop-ups, clears junk and points to what is broken. Checks and cleanup are free.

Free download

2. Close the usual suspects first

3. Restart File Explorer

When deleting a folder, an Explorer window that has the folder open, or thumbnails Explorer created, often stop it from being deleted.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. On the Processes tab, right-click Windows Explorer and click Restart. The screen flickers briefly and the taskbar comes back.
  3. Open Explorer again and delete it.

4. Find the program holding it with Resource Monitor

When you don't know what is holding the file, use Resource Monitor, which comes with Windows.

  1. Right-click the Start button, click Run, and enter the following to open Resource Monitor.
resmon
  1. Click the CPU tab and expand the Associated Handles section.
  2. Type part of the file or folder name into the search box on the right of that section.
  3. The Image column of the matching line is the program holding the file. Closing that program normally is safest; if it has no window, right-click the line and click End Process.

Before ending it, check whether that program has unsaved work. Anything unsaved is lost when it ends. If the name shows as explorer.exe, restarting Explorer as in step 3 is the better choice.

5. When it says you need permission

6. Delete it right after a restart

If none of the above works, turning the PC off and on is the surest fix. Click Restart, not Shut down. A normal shutdown in Windows uses Fast Startup and carries the previous state over to the next boot, so whatever was holding the file can still be there. When the PC is back, delete the file before opening other programs.

If it still won't delete right after the restart, or the same file comes back after you delete it, a program that starts with Windows is using it. On Task Manager's Startup apps tab (Windows 10: Startup tab), set that program to Disable, restart, and delete the file. If an unknown program keeps coming back and ads pop up too, see Chrome ad pop-ups first.

7. Delete it with a command

A file that keeps refusing to delete in Explorer even though nothing is holding it can be deleted from Command Prompt. This deletes it immediately without going through the Recycle Bin, so double-check the path.

  1. Hold Shift, right-click the file and click Copy as path (on Windows 11 a plain right-click shows it too). The path is copied with its quotation marks.
  2. Click the Start button, type cmd and open Command Prompt.
  3. Type del /f, paste the copied path after it as below, and press Enter. For a folder, use rd /s as in the second line.
del /f "C:\Users\YourName\Downloads\file-to-delete.mp4"
rd /s "C:\Users\YourName\Downloads\folder-to-delete"

rd /s asks once before deleting. It deletes only after you press Y.

What not to do

If you need to bring back a file you deleted by mistake, see How to recover deleted files.

With PC Buster

PC Buster's Force Delete Files (under Tools) shows the name of the program holding a file once you pick it with Choose file. Click Delete and it tells you which programs it will close, asks you to confirm, closes them and sends the file to the Recycle Bin. If it still won't delete, it asks whether to schedule the deletion for the next time the PC starts (administrator confirmation needed; a scheduled deletion skips the Recycle Bin). Folders can be deleted with Choose folder, and whole Windows or user folders are blocked from deletion. It is free.

Download PC Buster 1.9.7 free  Read more in the guide

Windows 10 and 11, 64-bit. Checks, cleanup and ad pop-up removal are free; anything paid is stated above. Every manual step is on this page, so you can do it without the program.

More in Files and programs

Recover deleted filesFind duplicate photosExcel or Word file won't openRemove a program that won't uninstallSee all fixes