How can I launch an application using kScripting?
05/04/2015 1162 views
I have a VBS script to perform various post AutoDesk 2015 tasks such as install Autotable, move shortcuts, etc. The script is pushed via KAce Scripting. Part of that script I would like to have Revit.exe and ACA.exe launch. I would then login to the PC and visually verify several items in those applications. I want the script to launch the applications so I don't have to spend 5-10 min doing it manually. This process must execute on 70+ machines, the more I can automate certain steps, the lower my risk for re work is.
The problem is the script appears to be launching revit.exe and aca.exe in another user's session. Maybe SYSTEM, not sure how to tell. I know this because when I push the script from Kace, and while logged into the targeted machine as a user with read/write access to C:\, I see an Interactive Services Detection (IDS) prompt. I click the IDS prompt and click to view the message. I am then moved to what appears to be another user's session where revit.exe and aca.exe are both open and running. I have to click on the IDS prompt in that user's session to return to my normal session, where I can see the desktop icons etc. that I am normally used to seeing.
How can I use VBS to launch an application in a specific user's session? (the admin in this case) Can Kace launch an application in s a specific user's session?
Any other suggestions and/or observations are greatly appreciated.