Issue: How to fix The action cannot be completed because the file is open in another program?
Hello, I have an issue with a PDF file that cannot be opened nor deleted. I try to delete them from the particular folder, and the window named File In Use appears with “The action cannot be completed because the file is open in another program” message. But all the possible programs are closed. I even tried to restart the PC and delete them before opening anything. It repeats all the time. I can rename them, and do other things, but not delete or move the file or the whole folder. Help?!
The action cannot be completed because the file is open in another program is the problem that people get stuck with. The problem is related to files, so the issue is a bit difficult to solve, but it is fixable. This is not crucial and cannot lead to any system damage, so you shouldn't panic.
Even though the “The action cannot be completed because the file is open in another program” message is not giving out any details about the issue, this problem triggers other issues with the machine because it prevents access to various folders and files.
“The action cannot be completed because the file is open in another program” is the message that appears as an error in Windows Explorer, and in most cases, it means that people have the particular file opened and in use with a specific program. However, users complain about the error window that occurs out of nowhere and when any application does not open the file.
The whole issue with this “The action cannot be completed because the file is open in another program” error is not posing any danger, it is rather annoying and frustrating for the user. The message gives no particular information about what causes the disturbance, and even when you close the programs, the error still frustrates you.
In general, the error should appear when the program or Windows system uses the file you want to rename, delete, or move. But “The action cannot be completed because the file is open in another program” when the error occurs even though the folder or file is not locked, it may be the symptom of another PC issue regarding more severe problems with your device. The methods to fix "The action cannot be completed because the file is open in another program" can differ depending on the reason.
Computer errors as “The action cannot be completed because the file is open in another program” can occur sooner or later after some particular damage on the machine. It mainly happens with Microsoft Office files and PDF files and, there is no particular version of Windows that is not getting the pop-up. There are a few reasons why you can get the error: the error is caused by Windows Explorer, or the file is actively used by the background running program that possibly can be malicious.
How to fix “The action cannot be completed because the file is open in another program”
If you struggle with finding how to fix “The action cannot be completed because the file is open in another program” error, you should learn about possible reasons and causes. If the PDF or image file is the one that cannot be moved, the issue might be with a feature of Windows Explorer.
Any glitch in the program can create issues with handling the folder or file. There is a solution for that – disabling file previews, for example. Also, we can recommend running a check on the system before doing anything else. Some files and programs may be related to malware, so scan the machine with an anti-malware tool or a security program to find any possible intruders and to make sure that malware is not involved.
In general, file issues can be triggered by infections, other alterations that you have done unknowingly or not on purpose. You can repair some issues with files and even edit the registry with tools like FortectMac Washing Machine X9. This is the application that can clear or replace any corrupted data and help you with registry editing when needed. However, more in-depth methods require manual interference.
Perform a clean boot
- Open the Run box by clicking the Win key and R at the same time.
- Then type MSConfig in the bar.
- Click OK.
- Once the window is opened, make sure you are on the General tab.
- Click selective startup.
- Check Load system service and Load startup items.
- Go to Services.
- Check Hide All Microsoft Services.
- Click Disable all.
- Go to the Startup tab and select Open Task Manager.
- Disable all applications you are not using.
- Hit OK to apply changes.
Turn off File previews in Windows Explorer
- Open the Run dialog box and type Control folders. Press Enter.
- File Explorer Options appears on the screen.
- Go to View tab and then find Advanced settings to make sure that the box Always show icons, never thumbnails is enabled is checked.
File Explorer handles the issues with these "The action cannot be completed because the file is open in another program" errors.
- Select Apply to save these changes and check if the file can be handled without the error.
Edit registry manually
- Open Run window by pressing Win + R and then typing regedit in.
- Once it opens the Registry Editor navigate to:
- Locate IconsOnly DWORD and double-click it.
- Change the Value.
- Enter 1 to show icons or 0 to show thumbnails.
- Click OK.
- Go to:
- Find DisableThumbnails DWORD on the right and if that is not there create it.
- Choose new and then DWORD (32bit) Value.
- Enter DisableThumbnails on the new DWORD.
- Double-click and open properties.
- Set Value data to 0 and click OK.
- Go to:
- Right-click the Windows key and choose new, then key.
- Enter Explorer as the name of the new key.
- Go to the newly created key and right-click the empty space.
- Choose New and then DWORD value.
- Enter DisableThumbsDBOnNetworkFolders as the name.
- Double-click DisableThumbsDBOnNetworkFolders to open properties.
- Set value data to 1 and click OK.
Find and close the program that leaves the particular file open and causes the error
“The action cannot be completed because the file is open in another program” error that causes the struggle can be caused by a particular process. With Resource Monitor, you can locate what triggers the error and close it down completely.
- Open the same Run dialog box and type resmon.exe. Press Enter to open the Resource Monitor tool.
- Navigate to the CPU tab once it opens and then scroll down to Associated Handles.
- Type the name of a particular file and investigate processes that use the file.
- Right-click on the process and choose End process.
The error occurs when a particular process is using the file you want to handle.
- Repeat if needed and check if the error “The action cannot be completed because the file is open in another program” appears again.
Use Disk Cleanup and repair HDD to fix The action cannot be completed because the file is open in another program error
- Go to Search and type disk cleanup.
- Choose the tool from results and then select system drive.
- Press OK.
- When the drive is scanned, choose the Thumbnails option and hit OK.
- Wait for the cleanup.
Disable thumbnails via Performance options
- Search for advanced system settings.
- Click the Control panel option to View advanced system settings.
- Choose the Settings button.
- When the Performance Options window opens up, choose the Show thumbnails instead of icons and uncheck.
- Click on Apply.
- Then OK to save changes.
Restart the Windows Explorer
- Find the File Explorer, previously known as Windows Explorer and restart the program entirely to fix the issue with “The action cannot be completed because the file is open in another program” error.
Restarting the Windows Explorer and ending the process may help.
Repair your Errors automatically
ugetfix.com team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:
Prevent websites, ISP, and other parties from tracking you
To stay completely anonymous and prevent the ISP and the government from spying on you, you should employ Private Internet Access VPN. It will allow you to connect to the internet while being completely anonymous by encrypting all information, prevent trackers, ads, as well as malicious content. Most importantly, you will stop the illegal surveillance activities that NSA and other governmental institutions are performing behind your back.
Recover your lost files quickly
Unforeseen circumstances can happen at any time while using the computer: it can turn off due to a power cut, a Blue Screen of Death (BSoD) can occur, or random Windows updates can the machine when you went away for a few minutes. As a result, your schoolwork, important documents, and other data might be lost. To recover lost files, you can use Data Recovery Pro – it searches through copies of files that are still available on your hard drive and retrieves them quickly.