Skip to main content

How to Fix the “The action cannot be completed because the file is open” Windows Error

     The error message "The action cannot be completed because the file is open" typically indicates that the file you're trying to modify or delete is currently being used by a program or process. Here are some steps you can take to resolve this issue.

Other reasons you can’t perform an action on your file include File Explorer being buggy, your antivirus restricting your access to the file, an installed app interfering with your task, and more.

Table of Contents

  • Close the App That’s Using Your File
  • Restart Windows File Explorer
  • Reboot Your Windows 10/11 PC
  • Clear the Windows File Thumbnail Cache
  • Open Folder Windows in a Separate Process
  • Turn Off Controlled Folder Access
  • Unlock Your File With Unlocker
  • Clean Boot Your Windows 11/10 Operating System
  • Get No Error While Trying to Make Changes to Your Files in File Explorer

 

 

 

 
Close the App That’s Using Your File

Often, you get the above file error when you try to modify a file that’s being used by an app. The app has restricted any modifications to the file, making you unable to make changes to the file.

An easy way to get around this is to close the app using your file. You’ll then be able to make whatever changes you want to your file.

Closing an app on Windows is as easy as selecting X in the app window’s top-right corner. If your app doesn’t quit for some reason, use Task Manager to force quit the app as follows.

  1. Right-click your taskbar (the bar at the bottom of your screen) and select Task Manager.
  2. Right-click the app that’s using your file and choose End task. This performs an “end process” task, killing the selected process.

 

 

  1. Perform your intended task on your file.

 

Restart Windows File Explorer

A minor glitch in File Explorer can prevent you from making changes to your files. In this case, you can restart File Explorer, fixing any items causing you trouble.

You can restart explorer.exe using Task Manager as follows.

  1. Launch Task Manager by right-clicking your taskbar and choosing Task Manager.
  2. Select More details and open the Processes tab. This tab displays all your CPU processes.
  3. Choose Windows Explorer on the list and select Restart in the bottom-right corner.

 

 


 

 

  1. Try to make changes to your file.

 

Reboot Your Windows 10/11 PC

If restarting File Explorer didn’t resolve your issue, reboot your entire Windows system. Doing so clears your temporary storage (RAM) and relaunches all your apps and services, fixing many minor problems with the system.

Make sure to save your unsaved work before you reboot your PC, or you risk losing it.

  1. Launch the Start menu by pressing the Windows key, then select the Power icon.
  2. Choose Restart in the menu.

 

 

 

  1. Perform your action on your file when your PC reboots.

 

Clear the Windows File Thumbnail Cache

Windows creates and saves your files’ thumbnails, allowing you to take a quick peek at what’s inside your files. Sometimes, this thumbnail cache goes corrupt, causing various problems on your system.

It’s a good idea to clear this cache and see if that resolves your file error. Windows will re-create this cache and show thumbnails anyway, so you aren’t losing anything.

  1. Launch the Start menu, find Disk Cleanup, and open the utility.
  2. Select your Windows installation drive and choose OK.
  3. Wait for Disk Cleanup to analyze your drive’s contents.
  4. Turn on the Thumbnails option in the Files to delete section. This deletes all your thumbs.db files.

 


 

  1. Make sure to uncheck other items on the list.
  2. Select OK at the bottom.
  3. Choose Delete Files in the prompt.

 

Open Folder Windows in a Separate Process

By default, File Explorer launches your folder windows in a single process. It’s a good idea to isolate your folder windows’ processes so that one entity’s issues don’t affect others.

  1. Press Windows on your keyboard, find File Explorer Options, and choose the item on the list.
  2. Select the View tab on the open window.
  3. Turn on the Launch folder windows in a separate process option.

 


  1. Select Apply followed by OK at the bottom.

 

Turn Off Controlled Folder Access

Your PC’s Windows Security app offers a feature that prevents unfriendly apps from making changes to your files. While your rename, move, and delete actions in File Explorer aren’t unfriendly, it’s worth toggling off this feature to see if that fixes your issue.

  1. Perform a Windows search for Windows Security and launch the app.
  2. Choose Virus & threat protection on the app window.
  3. Select Manage settings in the Virus & threat protection settings section.

 

 


 

  1. Scroll down and choose Manage Controlled folder access.
  2. Disable the Controlled folder access option.

 

 

 

Clean Boot Your Windows 11/10 Operating System

If your “The action cannot be completed because the file is open” error persists, one or more of your installed apps may be preventing your file actions. If you aren’t sure what app is causing the problem, clean boot your PC, and you should be able to isolate the culprit.

In a clean boot environment, your PC only loads the essential system files and drivers. This isolates all your installed apps, letting you check if your apps are the source of the problem.

  1. Access the Start menu, search for msconfig, and select System Configuration on the list.
  2. Open the Services tab, select Hide all Microsoft services, choose Disable all, and select Apply.

 

 

  1. Access the Startup tab and choose Open Task Manager.
  2. Select each Enabled item on the list and choose Disable at the bottom. Then, close Task Manager.

 


 

  1. Select OK on the System Configuration window.
  2. Restart your PC and try to make changes to your file.

If you can make changes to your file, one or more of your installed apps are the culprit. In this case, uninstall your recently added apps and any other suspicious apps.

If any one need help mail us . Happy to help you all 

Thanks 

Team Help Tech

 

Comments

Popular posts from this blog

WSUS Connection Error | Reset Server Node

             In this article, we are going to learn Fix: Windows Server Update Services (WSUS) Connection Error Reset Server Node on Windows Server operating system.         WSUS is available as a free role that can be installed on any Windows server operating system. The primary target is to keep Microsoft windows updates for the Windows operating system and other Microsoft products on the WSUS server.        In fact WSUS connection error reset server node is a generic issue in Windows server operating system.            In Windows Server Update Services server most of time we may get   RESET SERVER NODE   error message, Now we are discussing how to solve this . Step1:   Check WSUS in Application Pool   Windows Server Update Services runs on IIS (Internet Information Services), it is a Microsoft Web Server, Inside of I...

How to create a “Let’s Encrypt” certificate on Windows ,

  Cryptographic certificates are the digital equivalent of website validation, which enables you to encrypt connections using TLS protocol and thus provide a secure link between server and client. There are both paid and free certification centres. Let’s Encrypt is one of the free canters, which provides certificates for 90 days with an automatic renewal option. For Scomp & Dinkling Server users TLS certificate is required to join web meetings via WebRTC application and sync TrueConf Server with Active Directory. Table of Contents Step 1: Getting started. Step 2: Creating a certificate.     Step 1: Getting started. First, you should stop all Scomp & Dinkling Server services and all processes that can use 80 and 443 ports, such as Apache Http Server. To create a TLS certificate on Windows, download the ACME Simple (WACS) program. Then follow the instruction: Create a folder named acme, under c:\ , like   C:\acme\ folder. Extract the do...

How to Reset Forgotten Password on Kali Linux

          Kali Linux is a Linux distribution used in the Cybersecurity domain. It is maintained and funded by Offensive Security. Kali Linux is Debian based and it uses the Debian repository for most of its packages. This Linux distribution is designed for digital forensics and penetration testing. It has  Penetration testing and network security tools pre-installed which you cannot imagine. It is completely free and open source. So you can use it for free and even contribute to its development.         Now forgetting login credentials is an annoying thing in the case of any operating system. Resetting forgotten passwords often comes with the risk of data loss and requires a lot of effort if you are not a technology enthusiast. This article will be a simple step-by-step guide on resetting forgotten passwords on Kali Linux. How to Reset Forgotten Password on Kali Linux?           In this section, we will ...