How to fix 'File Is Open in Another Program' in Windows 10
When using Windows 10, you may have tried to delete a file or move it to another location and encountered an error saying 'Action Cannot Be Completed Because The File is Open in Another Program' to because the file is already open in another program ), even though you haven't opened the file in any other programs. There are several possible reasons why this error may arise. Here is a way to fix the error based on each cause.
Causes and ways to fix the "File Is Open in Another Program" error
- Reboot the computer
- Locate the file in Task Manager
- Restart File Explorer through Task Manager
- Use the 'Turn off the caching of thumbnails in hidden thumbs.db files' option
- Delete temporary files
- Delete Recycle bin
- Check the directory to find viruses
Reboot the computer
Please turn off the computer and then restart. This method will terminate all pending tasks that may cause errors and allow File Explorer to restart internal processes from the beginning. This can help solve the problem you are having. If not, move on to the next step.
Locate the file in Task Manager
Use the keyboard shortcut Ctrl
+ Shift
+ Esc
to open Task Manager.
Find the file in the Processes tab, which shows you all the applications currently in use, whether you know it or not.
Select the file and click the 'End Task' option near the bottom of the Manager window to prevent the file from being used by a program.
Return to the file and try to delete it again. If it still doesn't work, move on to the next step.
Restart File Explorer through Task Manager
Again, open Task Manager and go to the Processes tab.
Here you will find the Windows Explorer program currently in use. Select the process and click on the 'End Task' option.
Go to File at the top of the Manager window and select 'Run New Task' .
In the new window that opens, type explorer.exe and press Enter
.
This process will restart Windows Explorer to eliminate any issues with memory or cached files that may be causing the problem.
Again go to the file location and try to delete it. If it still doesn't work, move on to the next step.
Use the 'Turn off the caching of thumbnails in hidden thumbs.db files' option
Previously, Microsoft had acknowledged that the thumbnails cache related to files and folders could cause the 'File is Open In Another Program' error, so handling the thumbnails cache could help fix the error.
1. Press Win
+ R
2. Type gpedit.msc and then press Enter
.
3. In the new window that appears, go to User Configuration> Administrative Templates> Windows Components> File Explorer .
4. Go to the right pane and double click 'Turn off the caching of thumbnails in hidden thumbs.db files' .
5. Select the button next to Enabled and then click Apply > OK .
All thumbnails in File Explorer will be disabled, allowing you to perform the desired action on the file. You can then turn on the thumbnail again by following the steps above and changing it again to Not Configured .
Delete temporary files
Temporary files are stored on your computer whenever you modify a file in any way. These temporary files may prevent you from moving or deleting related files. This is how you can get rid of temporary files on your computer memory.
1. Press Win
+ R
2. Type % temp% in the input bar and press Enter
.
3. In the newly opened folder containing all the temporary files saved in File Explorer, press Ctrl
+ A
to select all files and delete them together.
4. There may still be temporary files stored in another location. Again, press Win
+ R
, type temp and press Enter
.
5. Again, select all temporary files in the folder and delete all of them.
Delete Recycle bin
Sometimes sending a file to the Recycle Bin can be considered a computer action, leading to an error that we are trying to solve. Another way to solve the problem is to go to the Recycle bin and empty the entire folder by selecting the files and deleting them. It should be warned that this will permanently delete all files in the recycle bin, so make sure to select only those that you are sure you will no longer need.
Check the directory to find viruses
Finally, if none of the above methods worked, the problem could be more serious. There may be file-related viruses that prevent you from making changes. Run the file via antivirus software to find any viruses or malware that may appear.
If that's the case, isolate the file with anti-virus software and delete it before it infects other files.
The 'File Is Open in Another Program' error can be an annoying problem. Fortunately, there are several ways to solve the problem as mentioned in the previous sections. If the cause of the problem is caused by a virus, it's best to be aware of the fact that there is a virus in your computer to take steps to remove malware from the device in a timely manner.
Hope you are succesful.
You should read it
- How to Open a File with Another Program Using Open With on Windows Vista
- Quick fix 'All files converted to .lnk files'
- How to Open a DAT File
- How to fix 'File Is Open in Another Program' error on Windows
- How to Edit a Dat File
- How to Open DAT Files
- Fix the error of not running the .exe file on Windows
- How to open and read the .DAT file?
May be interested
- Shortcut tips for Windows XPshortcuts are one of the most useful features in windows xp that sometimes users don't notice. a shortcut is a file that acts as a link to a program, document, website, or other object. clicking on the shortcut will open the original file, or the file or program it points to.
- How to Open a BIN Fileif you recently downloaded an image file of an old game or program from many years ago, you may be wondering how to open the file on your computer. bin is an old file type that contains all the information of the original cd or dvd. you cannot directly open the bin file; to enable it, you need to either burn it to a blank disc or mount it to a virtual drive. you can also convert bin files to iso to use more compatible disc burning or mounting programs.
- How to Open XPS Filesthis wikihow teaches you how to open an xps file on your windows or mac computer. xps files are windows' response to the more popular pdf file format. while windows computers have a built-in program that allows them to open xps files, mac...
- How to open, run the .jar file on a Windows computer?to open a .jar file on a windows computer you will have to install the java runtime environment (jre). alternatively, you can use decompression software to view the files attached to the .jar file. if you want to find out more about the steps to run the .jar file and see the files attached in the .jar file, please refer to the following article of network administrator.
- What is PCAPNG file? How to open PCAPNG filein today's article, tipsmake will join you to learn about the pcapng file format, as well as how to open and some common problems with this file type.
- How to Decipher the Right Application to View an Unknown File Type on Windows Vistawith so many file extensions out there nowadays, its completely possible, that a few might not have a representable program existent on the 'open with' dialog box. if this is the case, this article will be for you. navigate to the proper...
- How to Open a File in Windowsthis wikihow teaches you different ways to open files on your windows pc. if you have the app you used to create the file, you can open the file from within the app. you can also browse to the file using the windows file explorer or from...
- How to Open a Command Line Program on Windowstipsmake today will show you how to open the command prompt command line window on windows pc. you can open command prompt from the start menu or any folder in file explorer. besides, the windows run feature is also an option.
- How to fix the error of not being able to open JPG files in Windowsif your windows 10 or 11 pc refuses to open jpg files, there could be a number of issues going on, such as a corrupted file or a problem with the default photo viewer.
- Instructions for changing the default PDF file reader application in Windows 10if you want to change another program in your computer to open the pdf file instead of using edge in windows 10. in the following article, network administrator will introduce and guide you in two extremely simple ways.