System.Exception: Could not start executor. An error occurred trying to start process 'C:\Program Files\UiPath\Studio\UiPath.Executor.exe' with working directory 'C:\Program Files\UiPath\Studio'. The system cannot find the file specified

Good day,

I’m encountering an issue with one specific unattended automation in UiPath Studio, where running the project results in an error: System.Exception: Could not start executor. This problem only affects this particular bot, while other unattended automations on the same VM run without any issues. Here’s the full breakdown:

  • Environment:
    • All automations are developed and run in UiPath Studio.
    • All of them are unattended automations executed on the same VM.
  • Issue Details:
    • When running this one specific bot, I receive the error System.Exception: Could not start executor.
    • I have re-run the UiPath installer, and this temporarily restores the UiPath.Executor.exe file, allowing the bot to run successfully for all other automations, but like mentioned above once I run this specific bot again it causes the error again.
    • However, the error returns on subsequent attempts to run this bot.
    • Additionally, when this problematic bot is executed first, it causes other unattended automations that were previously running fine on the same VM to break. After this bot fails, the other bots start encountering this same issue as well.
  • Troubleshooting Steps Taken:
  • All automations run correctly when executed directly from Studio, but this one particular bot causes broader issues across the VM, even when running in Studio on the VM.

Has anyone else encountered this issue or know of a more permanent solution? This is an urgent situation, so any assistance would be greatly appreciated.

Thank you in advance for your help!

Hello @jacomien.bekker!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff