Question: My UI application does not show up on endpoint when I run it by Agent. Why?
gravatar for artem
5.0 years ago by
artem50 wrote:

When I start the application with UI on Windows via script in Distribution job, it actually does not show up. Although, checking the process list reveals that the process is running. How can I force Agent to show my app's UI?

webui ui endpoint mc agent • 1.5k views
ADD COMMENTlink modified 5.0 years ago by Resilio Connect ♦♦ 750 • written 5.0 years ago by artem50
gravatar for Resilio Connect
5.0 years ago by
Resilio Connect ♦♦ 750
Pleasanton, USA
Resilio Connect ♦♦ 750 wrote:

Agent launched the app under its own session, which does not interact with logged in user's session. One can use psexec tool to launch the app under the user's session (-i parameter) Once you are launching your app with psexec.ex (or psexec64.exe), ensure that you supply next parameters:

psexec. exe -i <session_id> -nobanner -accepteula

-nobanner ensures that no splashscreen appear

-accepteula ensures that no "Accept EULA" dialog appear

-i <session_id> decides to which user session show the app's UI. Usually, current user session bears the id 1, but in multi-user login it might be different. Use query session command in your script to see which session is active now (if any), parse the output and feed it to psexec.

ADD COMMENTlink written 5.0 years ago by Resilio Connect ♦♦ 750
Please log in to add an answer.




Powered by Biostar 16.09
Bug report
Traffic: 3 users visited in the last hour