How to Delete a PDF File That Is Open in Another Program
Question details
The user is unable to delete a PDF file because the operating system displays a file-in-use warning, stating the file is open in another program.

- Product
- Windows File Explorer
- Device & OS
- Windows
- Scenario
- Attempting to delete an old or unwanted PDF document from a local system folder such as Downloads or Documents.
- Observed behavior
- Windows blocks the deletion process and triggers an error prompt indicating that the action cannot be completed because the file is currently open in another program.
Verify that you have administrative privileges if the PDF is stored in a restricted system folder, and ensure you no longer need the document, as it will be moved to the Recycle Bin.
Disable the Preview Pane in File Explorer
The most common cause of this error is Windows File Explorer locking the file to generate a visual thumbnail or preview.
When the Preview pane is active in File Explorer, clicking on a PDF prompts Windows to read the file in the background. Because the system is actively reading the file's contents, it locks the document and prevents you from deleting or modifying it.
Navigate to the folder containing the PDF file you want to delete.
Click on the 'View' tab located in the top ribbon menu of the File Explorer window.
Click on 'Preview pane' to toggle it off. Alternatively, you can use the keyboard shortcut Alt + P.
Click on your PDF file once to select it, then press the Delete key on your keyboard.

Close PDF Readers and Background Browsers
The file might actually be open in a minimized PDF application or running as a background tab in your web browser.
Restart Windows Explorer
If the file remains stubbornly locked despite closing apps, restarting the File Explorer process can force the system to release its hold on the file.
Manage Your PDFs Seamlessly with WPS Office
WPS Office provides a lightweight, comprehensive suite for reading, editing, and managing PDF files alongside standard Word, Excel, and PowerPoint documents. It is highly optimized to prevent background processes from unnecessarily locking your system files.

Frequently Asked Questions
Why does Windows say my PDF is open when no applications are running?
This typically happens because the File Explorer's Preview pane is active. Windows temporarily reads the file in the background to generate a visual thumbnail for the preview pane, which places a lock on the file and prevents you from deleting it.
Can I force delete a locked PDF file?
Yes. If standard methods fail, you can restart your computer in Safe Mode, which prevents third-party apps and non-essential background processes from launching and locking the file. Alternatively, you can use specialized third-party file-unlocking software.
Does emptying the Recycle Bin permanently delete the locked PDF?
Yes. Once you successfully bypass the 'file in use' error and send the PDF to the Recycle Bin, right-clicking the Recycle Bin icon and selecting 'Empty Recycle Bin' will permanently remove the file from your computer's storage.




