Visual Basic Script Job issue after Windows upgrade

Document ID : KB000103587
Last Modified Date : 27/06/2018
Show Technical Document Details
Issue:
We have a command job to run a Visual Basic Script (VBS) macro.

The job ran and completed successfully on Windows 2003.

But since the Agent node upgrade from Windows 2003 to Windows 2012 R2,
when we launch our VBS macro by WAAE AutoSys, it goes in the background.
 
Environment:
WAAE 11.3.6 SP4 on Linux

WA Agent 11.3 SP4 on Windows
Resolution:
The encountered problem is related to changes between Win 2003 and Win 20012 R2.

The recommended solution is to add the following attribute to the job definition:

interactive: y  

Example:

insert_job: jobname
job_type: CMD
command: D:/app12/batch.vbs
machine: machine-name
interactive: y    < =======

Problem resolved by applying the solution.