The error message you're encountering indicates that the file you're trying to delete is currently in use by another process. Here are a few steps you can take to resolve this issue:
- Identify and Stop the Process
You need to identify which process is using the file and stop it. You can do this using the built-in Windows utility Resource Monitor or a third-party tool like Process Explorer.
Using Resource Monitor:
Open Resource Monitor by typing resmon in the Start menu search bar and pressing Enter.
Go to the CPU tab.
Use the Associated Handles search box to find your file
Identify the process holding the handle and end it.
Using Process Explorer:
Download and run Process Explorer from the Microsoft website.
Press Ctrl+F to open the search dialog.
Search for the file .
Identify the process holding the handle and end it.