Robert Peszek
January 11th 07, 10:02 PM
We have a "mission critical" application (not a service) that should run all
the time. I wrote a simple C# service which monitors this application and
restarts it if is not running.
I have always been installing this service as Local System with "Allow
service to interact with desktop" option checked and it always worked
correctly ... until last intallation (on a new computer running Windows XP
Pro SP2).
On this new computer, the service launches application in a way that is not
visible on the screen (possibly in a different WINDOWS STATION). My service
can see the started application, can see its main window and its window
title, but I cannot.
Same service works fine on numerous other computers running on Windows XP
Pro SP2 as well as other versions of window (including 2003 Server editions).
What am I missing? Does anyone know if there where any recent security
updates, etc, which would disable the "Interact with desktop" option for
services?
I am told that Vista no longer supports this option, but was not aware of
Windows XP Pro not supporting it any more.
Thanks for you help.
Robert
the time. I wrote a simple C# service which monitors this application and
restarts it if is not running.
I have always been installing this service as Local System with "Allow
service to interact with desktop" option checked and it always worked
correctly ... until last intallation (on a new computer running Windows XP
Pro SP2).
On this new computer, the service launches application in a way that is not
visible on the screen (possibly in a different WINDOWS STATION). My service
can see the started application, can see its main window and its window
title, but I cannot.
Same service works fine on numerous other computers running on Windows XP
Pro SP2 as well as other versions of window (including 2003 Server editions).
What am I missing? Does anyone know if there where any recent security
updates, etc, which would disable the "Interact with desktop" option for
services?
I am told that Vista no longer supports this option, but was not aware of
Windows XP Pro not supporting it any more.
Thanks for you help.
Robert