|
|
#1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 2112460
Join Date: Dec 2016
Device: many
|
Cannot open file or folder as it is in use
wanted to rename it then delete(i but another copy in calibre)
i shut pc down 2 times. it still gives me this? have many many books been using for many years. first time i got this. added the book a few times can not delete or rename the book in calibre . Spoiler:
Last edited by theducks; Today at 05:49 AM. Reason: wrapped log in SPOILER tags |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,185
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
It could be your anti-virus that is locking the file. You can try pausing the anti-virus to see if that fixes it - if you are using Windows Defender: "To temporarily pause Windows Defender real-time protection in Windows 11, open Windows Security > Virus & threat protection > Manage settings (under Virus & threat protection settings) and toggle Real-time protection to Off. This pauses scanning temporarily until the next restart or shortly after."
You can see which process is locking a file using one of these methods: Google AI Overview To identify which process is using a file in Windows 11, you can use built-in tools like Resource Monitor or the advanced Process Explorer from Microsoft. Method 1: Using Resource Monitor (Built-in) This is the fastest way to find a locking process without installing extra software. Open Task Manager: Press Ctrl + Shift + Esc. Go to Performance: Click the Performance tab, then click Open Resource Monitor at the bottom. Search the Handle: In Resource Monitor, go to the CPU tab. In the Associated Handles section, type the name of the file or folder in the search box. The results will show the Image (process name) and PID (Process ID) that is locking the file. Optional: Right-click the process and select End Process to release the file. Method 2: Using PowerToys File Locksmith (Recommended) Microsoft provides a free utility called PowerToys that adds a "What's using this file" option directly to the context menu. Install Microsoft PowerToys from the Microsoft Store. Open PowerToys Settings, select File Locksmith, and ensure it is enabled. Right-click the file or folder in File Explorer, select Show more options, then click What's using this file?. A list of processes will appear, allowing you to end them directly. Method 3: Using Process Explorer (Advanced) This tool offers a more detailed look at handles and DLLs. Download and run Process Explorer. Press Ctrl + F or go to Find > Find Handle or DLL. Type the file name and click Search. Click the entry to highlight the process in the main window. Right-click the handle in the lower pane and select Close Handle to release it. Method 4: Using Command Prompt (openfiles) Open Command Prompt as Administrator (search cmd, right-click -> Run as Administrator). Enable the system tracking: openfiles /local on (requires a restart). After restarting, run: openfiles /query to see all open files and their processes. Key Locations/Processes to Look For System (PID 4): Often means the file is in use by Windows itself, such as file indexing, antivirus (Windows Defender), or another user is accessing it. Explorer.exe: Sometimes Explorer itself locks files when generating thumbnails. Caution: Ending system-level processes (like System or explorer.exe) can cause system instability. |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open custom folder | Dzib | Library Management | 0 | 03-06-2024 09:42 AM |
| Move a file from the 'book' folder to 'data' folder | BetterRed | Library Management | 4 | 08-02-2023 07:01 PM |
| Open book folder using app other than File Explorer | bob.f | Calibre | 3 | 08-17-2019 08:04 AM |
| Open Containing folder? | DoctorOhh | Calibre | 8 | 05-03-2015 10:58 AM |
| Android How to open PDF file directly in ES File Explorer? | thinredline | enTourage eDGe | 4 | 06-26-2011 03:10 PM |