PDF Opening Issues

Fix PDF Preview Errors in Windows File Explorer Caused by a Hash Symbol

Natalie TaylorNatalie Taylor Nov 19, 2026 868 views

Question details

The user needs to preview a PDF whose filename contains a hash symbol in Windows File Explorer.

Fix PDF Preview Errors in Windows File Explorer Caused by a Hash Symbol
Product
Windows File Explorer
Device & OS
Windows
Scenario
Previewing a PDF with a hash symbol in its filename or opening it through a file association.
Observed behavior
File Explorer may display a preview error or encounter a file-association error when handling the PDF path.
Before you start

Locate the PDF in File Explorer and check whether its filename contains a hash symbol (#). Make sure the Preview pane is enabled so you can test the file after making changes.

Solution 1Recommended

Rename the PDF Without the Hash Symbol

Use this workaround when the PDF filename contains a hash symbol and fails to preview or open.

1
Find the PDF

Open File Explorer and navigate to the folder containing the affected PDF.

2
Rename the file

Select the PDF and press F2, or right-click it and choose Rename. Replace # with a letter, number, hyphen, or underscore, and keep the .pdf extension unchanged.

3
Test the preview

Select the renamed PDF in File Explorer and check the Preview pane. If the pane is hidden, enable it from the View menu.

Free Microsoft Office alternative

Open PDFs and Office Files With WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening PDFs and working with Office files. Its format compatibility makes it easy to migrate existing documents, although it does not fix Windows File Explorer preview issues.

Open and read PDFs in WPS OfficeWork with Microsoft Office formats, including DOCX, XLSX, and PPTXNavigate documents with a familiar office-style interfaceUse a lightweight office suite with free tools
microsoft office alternative - wps office

Frequently Asked Questions

Why might a hash symbol cause a PDF preview error?

A hash symbol can be interpreted differently by Windows or an application handling the file path. Renaming the file without # is a practical way to test whether the character is involved.

How do I turn on the Preview pane in File Explorer?

Open File Explorer and use the View menu to enable Preview pane. In Windows 11, look under View > Show > Preview pane.

Will changing my default PDF app fix the File Explorer preview?

It may help with opening PDFs, but the Preview pane can use a separate preview handler. Check the .pdf association under Settings > Apps > Default apps, then test both opening and previewing the file.

What should I do if the renamed PDF still will not preview?

Check the default PDF app in Windows Settings and try opening the file directly. If the preview error remains, contact Microsoft Support with the error message and details of the apps you tested.