Remote desktop and screen

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.
 
D

Drew Hammond [MSFT]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top