How to Fix The Operating System Is Not Configured Error in Excel
Question details
The user is unable to open Excel files from OneDrive using the desktop application due to system configuration and protected view errors.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Opening spreadsheet files directly from OneDrive into the desktop version of Microsoft Excel.
- Observed behavior
- Excel fails to open the file and displays the errors 'The operating system is not configured to run this application' and 'The file could not open in Protected View', although the web version works fine.
Before proceeding with troubleshooting, ensure you have a stable internet connection for OneDrive syncing and temporarily close any other running Microsoft Office applications.
Start Excel in Safe Mode and Disable Add-ins
Running Excel in Safe Mode bypasses third-party add-ins and custom settings that often interfere with opening files in Protected View.
Sometimes, outdated or incompatible COM add-ins can conflict with Excel's ability to launch properly from cloud locations like OneDrive.
Press the Windows key + R simultaneously on your keyboard to open the Run dialog box.
Type 'excel /safe' in the text box and click OK. Excel will now open with a 'Safe Mode' indicator in the title bar.
If Excel opens successfully, click on File > Options > Add-ins. Select 'COM Add-ins' from the Manage drop-down at the bottom, click Go, uncheck all listed add-ins, and click OK.
Check Antivirus and Reinstall Microsoft Office
Aggressive antivirus software or corrupted Office installation files can prevent Excel from validating the operating system environment.
Avoid Complex Configuration Errors with WPS Office
If Microsoft Excel continues to show operating system configuration errors and refuses to open your OneDrive files, consider switching to WPS Office. It provides a lightweight, fast, and completely free alternative for managing all your spreadsheets without deep OS registry dependencies.
- 1. Download and Install: Download WPS Office for free from the official website and run the quick installer.
- 2. Open WPS Spreadsheets: Launch the WPS Office application and click on 'Spreadsheets' from the main dashboard.
- 3. Open Your Excel File: Click 'Open' and select your problematic Excel file from your local drive or OneDrive folder to view and edit it instantly.

Frequently Asked Questions
What causes the 'operating system is not configured to run this application' error in Excel?
This error is typically caused by corrupted Microsoft Office installation files, misconfigured Windows registry keys, conflicting third-party add-ins, or pending Windows updates that disrupt Office's background services.
Why can I open the file in Excel for the web but not on the desktop?
Excel for the web runs entirely in your browser and does not rely on your computer's local operating system configurations, registry keys, or desktop add-ins, which is why it bypasses the desktop application errors.
How can I disable Protected View in Excel manually?
You can manually adjust this by opening Excel (even a blank workbook), navigating to File > Options > Trust Center > Trust Center Settings > Protected View, and unchecking the options for files originating from the internet or potentially unsafe locations.
Will I lose my OneDrive files if I completely uninstall Office?
No, uninstalling Microsoft Office only removes the desktop applications. Your actual Excel files stored securely on OneDrive or your local hard drive will remain completely safe and untouched.




