How to Fix XLSX File Preview Problems in Windows 10 Explorer
Question details
Users are unable to preview XLSX files in the Windows 10 File Explorer Preview pane, even though CSV previews function correctly, and standard Office repair only provides a temporary fix.

- Product
- Microsoft Office / Windows 10 File Explorer
- Device & OS
- Windows 10
- Scenario
- Attempting to view the contents of an Excel workbook (.xlsx) directly within the File Explorer Preview pane without opening the file.
- Observed behavior
- File Explorer displays a 'This file cannot be previewed' error for XLSX files. Performing an Office repair temporarily resolves it, but the issue returns after a computer restart due to registry or permission resets.
Verify your exact Microsoft Office installation path (e.g., C:\Program Files\Microsoft Office 15) and ensure you have administrative privileges on your Windows 10 account before proceeding.
Fix Preview Permissions via Command Prompt
Use the built-in icacls command to permanently grant the necessary read and execute permissions to the Windows preview handler.
The preview pane failure often happens because specific Windows components lose read/execute permissions to the Microsoft Office folder during startup. Applying these permissions directly via Command Prompt bypasses the temporary nature of the built-in Office Repair tool.
Open File Explorer and navigate to C:\Program Files\ or C:\Program Files (x86)\ to find your Microsoft Office folder. Note the version number (e.g., 'Microsoft Office 15' for Office 2013, or 'Office16' for newer versions).
Click the Start menu, type 'cmd', right-click on 'Command Prompt' from the search results, and select 'Run as administrator'.
Type the following command (adjusting the path to match your specific Office version found in Step 1) and press Enter: icacls "C:\Program Files\Microsoft Office 15" /grant "*S-1-15-2-1:(OI)(CI)RX"
Once the Command Prompt confirms successful processing, restart Windows 10 and open File Explorer to test the XLSX preview.

Perform an Online Repair of Microsoft Office
If adjusting permissions does not work, repairing the Office installation can reinstall missing preview handlers.
Switch to WPS Office for a Flawless Spreadsheet Experience
If Windows 10 registry issues and Microsoft Office permission errors continue to break your file previews, consider using WPS Office. It is a lightweight, fully compatible alternative that avoids heavy system registry footprints while fully supporting your existing XLSX files.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button for Windows.
- 2. Install WPS Office: Run the downloaded executable file and follow the quick setup wizard to install the software.
- 3. Set as Default: During setup, or by right-clicking an XLSX file later, choose WPS Spreadsheet as your default app to open spreadsheets smoothly.

Frequently Asked Questions
Why can Windows preview CSV files but not XLSX files?
CSV files are plain text files, so Windows uses its built-in text previewer to display them. XLSX files require a specific Microsoft Excel Preview Handler to render the spreadsheet grid, which often fails if Office registry keys or folder permissions are altered.
How do I check my Office installation path?
Open Windows File Explorer, go to your C: drive, and check both 'Program Files' and 'Program Files (x86)'. Look for a folder named 'Microsoft Office'. Inside, look for a folder with a number (like Office15 or Office16), which indicates your installation path.
What does the icacls command actually do?
The icacls command is a Windows utility used to modify Access Control Lists. The specific command provided grants read and execute permissions (RX) to a specific system application package identifier (*S-1-15-2-1), allowing the Windows Preview process to safely read the necessary Office files to display your spreadsheet.
Can I disable the Windows 10 Preview pane to prevent freezing?
Yes. If the broken preview handler is causing Windows Explorer to freeze, you can disable the Preview pane by clicking the 'View' tab at the top of File Explorer and deselecting 'Preview pane'.




