Fix Windows 10 Task Scheduler Not Opening Excel Files
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.

- 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.
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.
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.
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'.
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'.
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'.

Configure the Exact Executable Path and Arguments
Separating the application path from the file path in the task action prevents Windows 10 from misinterpreting the command.
Create the Desktop Folder for System Profiles
A common glitch in Windows 10 prevents Office applications from running via Task Scheduler if a specific Desktop folder is missing in the system profile directory.
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. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows.
- 2. Install WPS Office: Run the downloaded file and follow the quick on-screen instructions to install the suite.
- 3. Set as Default Program: Once installed, set WPS Spreadsheet as your default application for opening Excel formats to streamline your automated tasks.

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'.




