How can I run console application from within NT service?

  • Thread starter Thread starter Andreas
  • Start date Start date
A

Andreas

Hi everybody,

Can anyone help with an advice on how to start console application from
within NT service application that doesn't have access to the user's
desktop? I don't need to wait on termination of this console application,
just to run it. The problem is that because service doesn't have access to
the desktop it can't create console window and hence nothing is started.
However I'm not interested in the output of this application and don't need
this console be created. Any ideas are welcome!

Thanks in advance,
Andreas
 
When writing a service app there is a switch which allows access to desktop.
Have a look at the services properties/Log On tab and see if the 'Allow
service to interact with desktop' checkbox is available for your service.

Happy new year
Martin
 
Back
Top