Question: My UI application does not show up on endpoint when I run it by Agent. Why?
0
gravatar for artem
17 months ago by
artem50
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 • 281 views
ADD COMMENTlink modified 17 months ago by Resilio Connect ♦♦ 750 • written 17 months ago by artem50
3
gravatar for Resilio Connect
17 months ago by
Resilio Connect ♦♦ 750
San Francisco, 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 17 months ago by Resilio Connect ♦♦ 750
Please log in to add an answer.

Content

Properties

Miscellaneous

Powered by Biostar 16.09
Bug report artem@resilio.com
Traffic: 1 users visited in the last hour