Windows Integration Errors

Fix Windows 10 Task Scheduler Not Opening Excel Files

Maira MehtabMaira Mehtab Oct 15, 2026 868 views

Question details

The user is attempting to automate the opening of an Excel file using Windows 10 Task Scheduler, but the task fails to execute despite having worked on a previous Windows 7 setup.

How to Fix Windows 10 Task Scheduler Not Opening Excel Files
Product
Microsoft Excel
Device & OS
Windows 10
Scenario
Automating the opening of spreadsheet files via Windows Task Scheduler for background processing or scheduled viewing.
Observed behavior
The scheduled task fails to open the Excel file on Windows 10. The task configuration displays XML version 1.3, which is supported by the OS but mistakenly suspected as the cause.
Before you start

Ensure that you have administrator privileges on your Windows 10 computer and verify the exact, fully qualified file path to both the Excel application and your target spreadsheet.

Solution 1Recommended

Review Task Security and User Logon Settings

Task Scheduler handles interactive desktop applications differently on Windows 10. Modifying the logon settings ensures Excel has permission to render its interface.

By default, Windows 10 runs automated tasks in a restricted background session if the security options are not properly set. If your Excel file requires desktop interaction or prompts, it will silently fail in the background.

1
Open Task Properties

Press the Windows key, type 'Task Scheduler', and press Enter. Locate your scheduled task in the Task Scheduler Library, right-click it, and select 'Properties'.

2
Adjust Logon Settings

Under the 'General' tab, locate the 'Security options' section. If you need Excel to open visibly on your screen, select 'Run only when user is logged on'.

3
Enable Highest Privileges

Check the box next to 'Run with highest privileges' to ensure Excel has the necessary administrative rights to read the file and execute completely, then click 'OK'.

Review Task Security and User Logon Settings
Configuration Tip: If you do not need to see the Excel interface and just want macros or scripts to run, you can keep 'Run whether user is logged on or not', but be aware this limits desktop interaction.
Free Microsoft Office alternative

Switch to WPS Office for Reliable Spreadsheet Automation

If Microsoft Excel continues to cause integration issues or background task failures on Windows 10, consider switching to WPS Office. It provides a lightweight, flexible environment that fully supports .xlsx files without the restrictive background execution limitations common in traditional MS Office setups.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows.
  2. 2. Install WPS Office: Run the downloaded file and follow the quick on-screen instructions to install the suite.
  3. 3. Set as Default Program: Once installed, set WPS Spreadsheet as your default application for opening Excel formats to streamline your automated tasks.
100% compatible with Microsoft Excel formats (.xlsx, .xls, .csv)Significantly lighter system footprint, ideal for background automated environmentsFamiliar user interface requiring zero learning curveFree to download and use for all your daily spreadsheet tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does Task Scheduler display XML version 1.3 for my task?

XML version 1.3 simply refers to the schema structure used by Windows Task Scheduler to save the task's background configuration. Windows 10 fully supports this standard, meaning the XML version itself is not the reason your task is failing to open Excel.

Can I run an Excel macro automatically using Task Scheduler?

Yes, you can schedule a script (such as VBScript or PowerShell) to open the Excel file and trigger the macro externally, or you can place the macro in the 'Workbook_Open' event inside Excel and use Task Scheduler to simply open the file.

Why does Excel show as running in Task Manager but fails to appear on the screen?

If your task is configured with the 'Run whether user is logged on or not' option, Windows 10 executes the application in a non-interactive background session (Session 0). To make the Excel interface visible, you must change the security option to 'Run only when user is logged on'.