File Cannot Open

Stop a Protected Excel File From Prompting for a Password When Selected

Jason MillerJason Miller Nov 20, 2026 869 views

Question details

The user wants to prevent a password prompt from appearing when a protected Excel file is selected in File Explorer.

Stop a Protected Excel File From Prompting for a Password When Selected
Product
Microsoft Excel and Windows File Explorer
Device & OS
Windows 8 and another Windows computer
Scenario
A password-protected XLSX workbook is selected in File Explorer.
Observed behavior
Selecting the file triggers a password prompt, although the issue does not occur when the file is copied to the desktop.
Before you start

Locate the affected workbook in the folder where the prompt appears. Select it with a single click when testing, rather than opening it with a double-click.

Solution 1Recommended

Turn off File Explorer preview and details panes

Use this first to check whether a File Explorer pane is triggering the password prompt.

1
Open File Explorer

Press Windows+E and navigate to the folder containing the protected workbook.

2
Disable the panes

In Windows 11, select View > Show and turn off Preview pane and Details pane. In Windows 10 or Windows 8, use the View tab to turn off Preview pane and Details pane.

3
Test the workbook

Single-click the XLSX file and check whether the password prompt still appears.

Turn off File Explorer preview and details panes
Password prompts when opening: Turning off the panes does not remove the workbook password. A password prompt is still expected when you intentionally open an encrypted workbook.
Free Microsoft Office alternative

Open Excel Workbooks With WPS Spreadsheets

WPS Office is a free, lightweight alternative with a familiar interface for working with Excel files. Its format compatibility makes moving existing workbooks straightforward, though it does not fix Windows File Explorer preview behavior.

Open and edit Excel workbooks in WPS SpreadsheetsCompatible with Microsoft Excel XLSX and XLS formatsFamiliar spreadsheet interface for an easier transitionFree and lightweight office suite
QA img-9

Frequently Asked Questions

Why does selecting an Excel file trigger a password prompt?

File Explorer may ask a preview handler to read the workbook when it is selected. If the workbook requires a password to open, that preview attempt can trigger a prompt.

Where can I turn off the Preview pane in Windows 11?

Open File Explorer and select View > Show > Preview pane to turn it off. You can also turn off Details pane from the same menu.

Why does the prompt appear in one folder but not on the desktop?

The original folder may be synchronized, network-based, or monitored by a file-preview application. Compare the behavior in both locations and check any services or applications associated with the original folder.

Will disabling preview handlers remove the workbook password?

No. Clearing Show preview handlers in preview pane under Folder Options > View changes preview behavior; it does not change the workbook's protection.

Can I open the protected workbook without using File Explorer?

Yes. In Excel, select File > Open > Browse, choose the workbook, and enter the password if it is required.