Skip to main content

Desktop Automation - "Open" step gets "Error Executing Command: Error Creating Excel Instance: Unknown Error 0x800A03EC"



We are trying to make a robot which have a Desktop Automation step.
In the Desktop Automation step, we are using local machine instance and trying to open Excel file.
When we started Robot in Design Studio we had a good result, but if we started the robot in Management Console, we got error bellow.

Device Issue. Error executing command: Error creating excel instance: Unknown error 0x800A03EC. Location: "Open on local"


This error is caused by an Excel's headless mode behavioral feature.
To resolve the error, perform the following:

1. Create two empty folders (if they don't exist yet):

  • C:\Windows\system32\config\systemprofile\Desktop
  • C:\Windows\SysWow64\config\systemprofile\Desktop

2. Make sure the user of Windows service has access rights to these folders. These folders allow Excel to be started from a service. 

Applies to:  

Product Version
RPA 10.x