Top 8 Ways to Fix ‘File Is Open in Another Program’ Error in Windows

Windows supports multiple file types and applications. It is very easy to install, uninstall, and change a file or program. But some users face the ‘file is open in another program’ error when they try to open or remove a file.

Top 8 Ways to Fix ‘File Is Open in Another Program’ Error in Windows

The primary reasons behind this issue include temporary file cache build up, meddlesome File Explorer settings, and a glitched Windows Explorer service.

Of course, it’s difficult to narrow down to a particular reason. We’ve compiled a bunch of methods to help you fix the ‘File is open in another program’ error on your Windows 10 or Windows 11 computer.

1. Use Task Manager to Close the App

The primary reason for the ‘another program is currently using this file’ error is that another program on your PC is accessing the file. So, you must close the program using the Task Manager. Here’s how to do it:

Step 1: Press the Ctrl + Shift + Esc keyboard shortcut to open Task Manager.

Step 2: Find the program which could be using the file in the Processes list. For example, if it is a document file like Microsoft Word or some other text editor program will be using it.

Step 3: Right-click on the process and select the End Task option from the context menu.

Use Task Manager to Close the App

Step 4: Close the Task Manager window.

2. Restart Windows Explorer

Windows Explorer process manages the programs and offers GUI support for many operating system elements. But if this process glitches and stops working properly, you can encounter the ‘this action cannot be completed because the file is open in another program’ error. So, you must restart this process using Task Manager. Here’s how:

Step 1: Press the Ctrl + Shift + Esc keyboard shortcut to open Task Manager.

Step 2: Click on the search bar at the top. Type explorer and press Enter.

Task manager

Step 3: Right-click on the Windows Explorer process and click on the Restart option.

Restart Windows Explorer

Your screen will flicker for a few seconds and then return to normal. Any open apps will not be closed.

3. Change File Explorer Properties

A File Explorer property is also known to cause the ‘file is open in another program’ error on Windows. So, you must disable this property using the Folder Options in File Explorer. Here’s how to do it:

Step 1: Press the Windows + E keyboard shortcut to open File Explorer.

Step 2: Go to the top menu bar and click on the three horizontal dots button to open the drop-down menu. Click on Options.

Open file explorer options

Step 3: Switch to the View tab. Locate the ‘Launch folder windows in a separate process’ option. Click on the checkbox to unselect it.

Change File Explorer Properties

Step 5: Click on the Apply button and then click on the OK button.

Change File Explorer Properties

4. Disable File Explorer Preview

File Explorer Preview pane can help you check the contents of a file without leaving the File Explorer window. But if the file is already open in the preview pane, and you try to make changes to it, you can face the error. So, you must disable the File Explorer preview. Here’s how:

Step 1: Press the Windows + E keyboard shortcut to open File Explorer.

Step 2: Navigate to the top menu bar and click on the View button.

File Explorer window

Step 3: A drop-down list will open. Hover on the Show option and then click on the Preview Pane option to unselect it.

Disable File Explorer Preview

Step 4: Close the File Explorer window.

5. Tweak a System Policy Using Group Policy Editor

Thumbnail Caching on Windows can also be a reason behind this infuriating problem. So, you must disable it using the Group Policy Editor. Here’s how to do it:

Step 1: Press the Windows key to open the Start menu. Type gpedit.msc in the search bar and press Enter to open the Group Policy Editor.

start menu

Step 2: Navigate to the left-hand side menu. Click on the Administrative Templates option listed under the User Configuration section.

Group Policy Editor window

Step 3: Double-click on the Windows Components option.

Group Policy Editor window

Step 4: Scroll down and double-click on the File Explorer option.

Group Policy Editor window

Step 5: Double-click on the ‘Turn off caching of thumbnails in hidden thumbs.db files’ policy to open its settings.

Tweak a System Policy Using Group Policy Editor

Step 6: Select the Enabled option.

Tweak a System Policy

Step 7: Click on the Apply button and then click on the OK button.

Tweak a System Policy

Step 8: Close the Group Policy Editor and restart your PC to apply the changes.

6. Disable Thumbnail Caching Using Registry Editor

If you have the Windows Home version, you won’t be able to disable thumbnail caching using the Group Policy Editor because it is exclusive to Windows Pro and Enterprise versions. Instead, you can modify the system registry using Command Prompt to disable thumbnail caching. But before doing that, create a registry backup. Here’s how to do it:

Step 1: Press the Windows key to open the Start menu. Type cmd in the search bar and press Ctrl + Shift + Enter keyboard shortcut.

start menu

Step 2: The User Account Control window will open. Click on the Yes button to open Command Prompt with administrator privileges.

user account control window

Step 3: Now, type the following command and press Enter to create a new subkey:

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"

Step 4: After that, type the following command and press Enter:

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoThumbnailCache /t REG_DWORD /d 00000001 /f
Disable Thumbnail Caching by editing registry

Step 5: Close the Command Prompt window. Restart your PC to apply the changes.

7. Flush System Cache

An outdated or corrupt Windows cache can cause issues with the normal functioning of programs. You can easily remove the cache using the Disk Cleanup tool in Windows. Repeat the following steps:

Step 1: Press the Windows key to open the Start menu. Type cleanmgr in the search bar and click on the Run as administrator option.

start menu

Step 2: Select all the checkboxes listed under ‘Files to delete:’ section. Click on the OK button.

Flush System Cache using disk cleanup tool

Step 4: Click on the Delete Files button.

Flush System Cache using disk cleanup tool

8. Use Safe Mode

The last resort is to restart your PC in Safe Mode and then try to modify the app or file. Safe Mode will run the bare minimum of Windows services and drivers. Here’s how to do it:

Step 1: Press the Windows key to open the Start Menu. Click on the Power icon.

Restart PC in safe mode

Step 2: Press and hold the Shift key, then click on the Restart option.

Restart PC in safe mode

Step 3: Windows Recovery Environment will launch. Click on the Troubleshoot option.

Windows recovery environment

Step 4: Click on Advanced options.

Windows recovery environment

Step 5: Click on the Startup Settings option.

Windows recovery environment

Step 6: Click on the Restart button.

Changing startup settings

Step 7: Press the F4 key to boot the PC into safe mode.

Entering safe boot mode

Step 8: Log in to your PC and check if you face the same error while modifying or removing a file.

PC in Safe mode

A Bothersome Windows Error Fixed

When you face the ‘file is open in another program’ error on Windows, start by identifying and closing any program that could be using the file. After that, modify File Explorer properties, disable Preview Pane and thumbnail caching, and clear the system cache. Lastly, use safe mode to modify or remove the file.

Last updated on 14 July, 2023

The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.