logo
search
Other PDF Issues

How to Delete a PDF File That Is Open in Another Program

John WilsonJohn Wilson Oct 19, 2026 868 views

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.

How to Delete a PDF File That 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.
Before you start

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.

Solution 1Recommended

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.

1
Open File Explorer

Navigate to the folder containing the PDF file you want to delete.

2
Access the View Menu

Click on the 'View' tab located in the top ribbon menu of the File Explorer window.

3
Turn Off Preview Pane

Click on 'Preview pane' to toggle it off. Alternatively, you can use the keyboard shortcut Alt + P.

4
Delete the PDF

Click on your PDF file once to select it, then press the Delete key on your keyboard.

Disable the Preview Pane in File Explorer
Quick Shortcut: Using the Alt + P shortcut is the fastest way to quickly toggle the preview pane on and off without navigating through the ribbon menu.
Free Microsoft Office alternative

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.

Fully compatible with Microsoft Office formats and standard PDF documents.Lightweight architecture ensures quick launching and prevents aggressive file locking.Built-in PDF editor lets you seamlessly view, annotate, merge, and convert documents.Free to download with a highly familiar user interface for zero learning curve.
microsoft office alternative - wps office

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.