AutoSys Workload Automation

 View Only

 The batch file does not create Excel object IDs when it is run from Autosys after the Windows upgrade from 2019 to 2022.

Arunkumar Rathinakumar's profile image
Arunkumar Rathinakumar posted May 14, 2026 05:54 AM

The batch file does not create Excel object IDs when it is run from Autosys after the Windows upgrade from 2019 to 2022. The same batch file creates Excel object IDs when it is run manually on the server.

Saicharan Palagiri's profile image
Broadcom Employee Saicharan Palagiri

@Arunkumar Rathinakumar, 

The reason it works manually is that you are running it in an interactive session (Session 1 or higher) with a desktop heap. Autosys runs it as a background service (Session 0), which by default has no access to the Excel GUI engine or certain user-profile-specific folders.
Windows Server 2022, the security hardening is even more strict.

you can set below attributes:
interactive:y

elevated: y
Make an attempt to test the difference with above parameters. If it is resolving it means a User must be logged on to make it functional.

Run a test and update the results.