Web Connection
Hidden EXE
Gravatar is a globally recognized avatar based on your email address. Hidden EXE
  Luca
  All
  Dec 21, 2016 @ 12:38am

Dear Rick, I run a wwAsyncWebRequest application ("Backup") from Windows 2008 R2 Server scheduler:

The Backup application works right and runs a standard Web Connection application ("Backoffice") with the RUN /n command at end of its procedure.
The Backoffice application is an EXE file-mode and should have the classic console interface:

Instead I find the Backoffice application running hidden on server, like a process without any interface:

Please how to launch the EXE application visible from the wwAsyncWebRequest application?
Thank you very much for support

Gravatar is a globally recognized avatar based on your email address. re: Hidden EXE
  Rick Strahl
  Luca
  Dec 21, 2016 @ 11:27am

Don't know - that should work since the application is running under the same Administrator user context and should have access to the desktop (assuming Administrator is logged in).

There may be something else happening like different settings that might launch the server differently (config.fpw, app.ini settings).

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Hidden EXE
  Luca
  Rick Strahl
  Jan 2, 2017 @ 10:31pm

Dear Rick, just for completeness I solved the problem.
I had to select the Run only when user is logged on option, otherwise tasks will not run interactively:

See explanation at Microsoft Windows Server support

Gravatar is a globally recognized avatar based on your email address. re: Hidden EXE
  Rick Strahl
  Luca
  Jan 2, 2017 @ 11:49pm

As I said that should not be necessary unless you have profile dependencies that depend on a user account being active. This is things like user profile settings, special folders, registry keys etc. as well as UI. If you're bringing up wait windows and other stuff running invisible in System context won't work.

You should always aim to be able to run applications without a login - too difficult to manage servers that are always logged on and a potential security problem.

+++ Rick ---

© 1996-2024