Remote desktop and screen

  • Thread starter Thread starter Oleg
  • Start date Start date
O

Oleg

Hello.
I have win2003 Standard Edition server. Desktop
application installed on it. This application works with
screen - capture it, emulates mouse and keyboard events.
I use Remote Desktop connection to start it. Till Remote
Desktop screen visible it works fine. As far I disconnect
or even minimize screen application stop working. I tried
to capture screen and save it to file -
just white rectangle. The same story when I use service to
run my application. Is there some solution of this
problem - run such application remotely without logged to
server?

Thank for advance.
 
Hi Oleg,

The reason you're not seeing anything when you when you disconnect is
because the session stops painting to the desktop device context when you're
not connected. Your application probably captures the desktop region
associated with its main window, which is why it fails.

One solution is to just keep your Remote Desktop Client active, you may need
to check that screen saver is disabled to keep it from failing while you're
not interacting with the session.

Another solution might be to set your server to have auto-logon for the
console & then use a remote execution utility that's session aware to start
your application, provided you can fully automate it. One major downside is
that your machine's console is then always active.

What is your intended application here? Perhaps there's another solution
better suited to your needs.

Drew
 
Back
Top