Other PDF Issues

How to Fix Cannot Delete PDF Files from Network Drive with Preview Pane Enabled

John WilsonJohn Wilson Nov 3, 2026 869 views

Question details

Users are unable to delete PDF files stored on a network drive when the File Explorer Preview pane is active.

How to Fix Cannot Delete PDF Files from Network Drive with Preview Pane Enabled
Product
Windows File Explorer / PDF Readers
Device & OS
Windows 10
Scenario
Attempting to delete a PDF file located on a network drive using Windows File Explorer with the preview pane turned on.
Observed behavior
Windows prevents the deletion, reporting that the file is open in another program. This locking issue specifically affects PDFs on network drives when the preview handler renders the file, whereas local files and other file types are unaffected.
Before you start

Ensure that no other users on your network currently have the PDF file open, and temporarily close any open PDF reader applications on your computer.

Solution 1Recommended

Disable the Preview Pane in File Explorer

Turning off the Preview pane stops Windows from utilizing the PDF preview handler, instantly releasing the lock on the network file and allowing you to delete it.

The most direct way to resolve the 'file in use' error on network drives is to simply turn off the preview pane before attempting deletion. This bypasses the background process that keeps the PDF file locked.

1
Open File Explorer

Navigate to the network drive and open the specific folder that contains the PDF file you wish to delete.

2
Access the View Tab

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

3
Disable Preview Pane

Click the 'Preview pane' button to toggle it off. Alternatively, you can press the keyboard shortcut 'Alt + P' to quickly enable or disable the pane.

4
Delete the File

Once the preview pane is hidden, select the PDF file and press the 'Delete' key on your keyboard. The file should now be removed without any locking errors.

Disable the Preview Pane in File Explorer
Quick Alternative: If you prefer keeping the Preview pane enabled, simply selecting a different non-PDF file in the same folder first will shift the preview focus, often releasing the lock on the PDF so you can right-click and delete it.
Effortless PDF Management

Use WPS Office to Prevent PDF File Locking Errors

WPS Office offers a built-in, lightweight PDF reader that integrates smoothly with Windows. By setting WPS Office as your default PDF handler, you can preview and manage PDFs on network drives effortlessly without experiencing the persistent file-in-use locking errors common with heavier PDF applications.

  1. 1. Download and Install WPS Office: Visit the official WPS website, download the free WPS Office installer, and complete the quick installation process on your Windows PC.
  2. 2. Set as Your Default PDF Reader: Right-click any PDF file, choose 'Open with' > 'Choose another app', select WPS Office, and check the option to always use this app.
  3. 3. Manage Network PDFs Freely: Open File Explorer with the Preview pane enabled. You can now preview and delete your network PDFs seamlessly without background locking interruptions.
Avoid frustrating 'file in use' errors when deleting or moving PDFs on network drives.Fully compatible with standard Adobe PDF files and Microsoft Office formats.Lightweight architecture ensures fast previewing and opening of documents without freezing.All-in-one suite allows you to easily edit, merge, split, and convert PDFs.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the File Explorer Preview pane prevent deleting PDF files?

When the Preview pane is enabled, Windows utilizes a background process called a preview handler (provided by your default PDF reader) to display the file's contents. Some handlers keep a strict read lock on the file while rendering it, which Windows interprets as the file being 'open in another program,' thereby preventing deletion.

Does this locking issue only affect files on a network drive?

Yes, this specific locking behavior is predominantly reported on mapped network drives, shared folders, or NAS environments. While local files are also previewed, the local file system handles the preview lock release much faster, usually allowing the files to be deleted normally.

Can I keep the Preview pane enabled and still delete the file?

Yes. You can bypass the lock without disabling the pane by simply clicking on a different file (like an image or text file) in the same folder first. This shifts the preview handler's focus away from the PDF, releasing the lock so you can safely delete the PDF file.