banner



How to tell which Process is locking or using a File in Windows 11/10?

Unable to delete or move or perform any activeness on a file because it is locked by a process? Find out which process is locking a file in Windows 11/10 using various methods discussed in this article.

Many times, when we attempt an action (delete, rename, copy, etc.) on a file, nosotros go a File in Use dialog box showing a prompt that "The action tin can't be completed because the file is open in another program". In some cases, it volition bear witness the process or programme name that is using the file. But, a lot of times, it doesn't.

At present, how to tell which process has a file open? If information technology is urgent, you demand to identify the procedure locking a file and then end the process to modify the target file. In this guide, we will be discussing dissimilar methods to cheque the process that is holding a file in Windows 11/10.

How to tell which process is locking a file in Windows 10

How to tell which process is locking or using a file in Windows xi/10

Here are the different methods to identify the process that is locking a file in Windows 11/10:

  1. Check the process that is locking a file using Resource Monitor.
  2. Use SysInternals Process Explorer to identify the process that is locking a file.
  3. Find out through Command Prompt using the Handle tool.
  4. Use OpenedFilesView freeware to identify the process holding a file.

Let'due south elaborate on these methods now.

1] Bank check the process that is locking a file using Resources Monitor

Using Resources Monitor, you can place the process or service locking a file. Information technology is an inbuilt utility in Windows 10 that helps you monitor CPU usage, memory, deejay network, file handles, etc.

Open Run app by pressing Windows + R hotkey and then blazon resmon in it. Printing the OK button and Resource Monitor will open.

In the Resources Monitor window, get to the CPU tab and expand the Associated Handles option. Now, in the search box, type the proper name of the file that is showing locked past a process and printing Enter button. It will evidence you a listing of processes holding the target file.

You lot can correct-click on the process and select the End Procedure option to end it. Later on the process ends, effort performing the activeness you wanted to on the previously locked file.

2] Use SysInternals Process Explorer to identify the procedure that is locking a file

Another option to identify the process or service property a file is SysInternals Procedure Explorer. Information technology is an advanced utility to find out detailed information regarding running processes on your system. To identify the process holding a file through it, you can follow beneath steps:

Firstly, download and run SysInternals Process Explorer on your PC. At present, in the Process Explorer window, go to the File carte and click on the Find Handle or DLL choice. Adjacent, enter the file proper name in the Process Explorer Search dialog window and press the Search choice. All the processes that are using the file you entered volition show upwards in the results.

Right-click on the identified procedure in the Process tab and and then close information technology.

Now, check with the file if information technology is nonetheless held or locked by a process or not.

Related: The process cannot admission the file because it is existence used by another process.

3] Notice out through Command Prompt using Handle tool

Handle is a command-based utility to tell which process has a file open. Information technology is basically a command-line version of the above discussed SysInternals Process Explorer. You tin can follow the below steps to check the procedure property a file in command prompt using this tool:

Download Handle from microsoft.com and extract the Cipher folder. Now, open CMD in the extracted folder. In the Command Prompt, enter a command with the following syntax:

handle.exe -a -u <filename-with-path>

For case:

handle.exe -a -u "C:\Users\KOMAL\Documents\Sample Files\twc.pdf"

As you enter the command, information technology will display a list of processes belongings the file with process ID and username.

I tried to check the aforementioned past entering just the filename without the full path, it worked. But, it may non work for all files. So, it is recommended to enter the location of the locked file.

After identifying the process, you can close it from Task Manager.

4] Employ OpenedFilesView freeware to identify the procedure holding a file

OpenedFilesView is a portable application to view all your opened files and the processes holding them. You lot tin download its ZIP folder, extract it, and and so run its OpenedFilesView.exe file to launch its interface. It will then display all currently opened files with respective details including process proper name, process ID, process path, file permissions, target file path, etc.

Locate your target file and check which procedure is holding information technology. Likewise, you tin use its Find pick to quickly search for a locked file and the associated process. Later on finding the process, right-click on the file and close all the processes holding information technology.

Hope this guide helps yous identify the procedure of holding a file and then closing it.

Now read: Delete Locked Files, and fix File Is Locked error.

How to tell which process is locking a file in Windows 10

Source: https://www.thewindowsclub.com/how-to-tell-which-process-is-locking-a-file

Posted by: mcgaughcaut1994.blogspot.com

0 Response to "How to tell which Process is locking or using a File in Windows 11/10?"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel