Stop a Protected Excel File From Prompting for a Password When Selected
Question details
The user wants to prevent a password prompt from appearing when a protected Excel file is selected in File Explorer.

- 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.
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.
Turn off File Explorer preview and details panes
Use this first to check whether a File Explorer pane is triggering the password prompt.
Press Windows+E and navigate to the folder containing the protected workbook.
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.
Single-click the XLSX file and check whether the password prompt still appears.

Disable preview handlers in Folder Options
Try this if turning off the panes does not stop the prompt or if you want to prevent preview handlers from loading.
Compare folder locations and open the workbook from Excel
Use this to investigate a folder-specific trigger and open the workbook without selecting it in File Explorer.
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.

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.




