How to Fix Cannot Delete, Move, or Rename a Locked PDF in Windows
Question details
The user is unable to delete, move, or rename a PDF file on Windows due to a file lock, despite the PDF viewer application being closed.

- Product
- Windows File Explorer
- Device & OS
- Windows
- Scenario
- Attempting to manage PDF files (deleting, renaming, moving) in Windows File Explorer after recently viewing or creating them.
- Observed behavior
- Windows displays a 'File in Use' error stating the PDF is locked or open in another program, preventing the file from being modified or deleted.
Make sure the PDF file is not actively open in any PDF viewer (like Adobe Reader) or web browser on your computer before attempting to move or delete it.
Disable the Windows File Explorer Preview Pane
The most common cause of a locked PDF on Windows is the File Explorer Preview pane keeping the file open in the background.
When the Preview pane is active in Windows File Explorer, the background preview handler reads the PDF file to display its contents. This process can mistakenly hold onto the file lock even after you are done previewing it, preventing any modifications.
Launch Windows File Explorer and navigate to the folder containing the locked PDF file.
Click on the 'View' tab located at the top of the File Explorer window.
In the Panes section, click on 'Preview pane' to toggle it off. Ensure the button is no longer highlighted.
Select the PDF file and attempt to delete, move, or rename it again. It should now proceed without errors.

Use the Permanent Delete Shortcut
If you only want to delete the PDF and do not need to rename or move it, bypassing the Recycle Bin can sometimes force the deletion.
Restart Windows Explorer via Task Manager
If turning off the preview pane doesn't immediately release the file lock, restarting the entire Windows Explorer process will clear stuck file handles.
View and Manage PDFs Without File Lock Issues in WPS Office
Avoid frustrating Windows file locks caused by heavy background preview handlers. WPS Office includes a fast, built-in PDF reader and editor that properly releases files when closed, allowing you to seamlessly view, edit, move, and delete your PDF documents without unexpected errors.
- 1. Download and Install: Download WPS Office for free and install it on your computer.
- 2. Open and Edit PDFs: Launch WPS Office and open your PDF file to read, edit, or annotate.
- 3. Close to Release: When finished, close the document tab. WPS Office cleanly releases the file system lock.
- 4. Manage Freely: Move, delete, or rename your PDF file in Windows Explorer without 'File in Use' errors.

Frequently Asked Questions
Why does Windows say my PDF is open in another program when it is closed?
This generally happens because the Windows File Explorer Preview pane is turned on. Even though your main PDF application (like Adobe Acrobat or Reader) is closed, Windows continues to use a background process to generate the thumbnail preview, which keeps the file locked.
Can I permanently fix this PDF file locking issue?
The most effective long-term fix is to keep the Windows File Explorer Preview pane disabled when you know you will be actively managing, moving, or renaming multiple PDF files. Additionally, trying alternative, lightweight PDF readers can sometimes prevent aggressive background file locking.
Does permanently deleting a locked PDF always bypass the file lock?
Using the Shift + Delete shortcut can often bypass standard deletion errors because it skips the step of moving the file to the Recycle Bin. However, if a background process holds a strict write-lock on the file, even permanent deletion might fail until the process is terminated.
How do I turn on the Preview pane again after deleting my file?
To re-enable it, simply open Windows File Explorer, navigate to the 'View' tab on the ribbon at the top of the window, and click 'Preview pane' so that the option is highlighted again.




