PC Review


Reply
Thread Tools Rate Thread

How can I run console application from within NT service?

 
 
Andreas
Guest
Posts: n/a
 
      8th Dec 2003
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


 
Reply With Quote
 
 
 
 
Martin Stephenson
Guest
Posts: n/a
 
      31st Dec 2003
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

"Andreas" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Service or Console application Krish Microsoft Dot NET 6 19th Dec 2006 02:26 PM
Console Application into a Windows Service kimberly.walker@consultant.com Microsoft C# .NET 1 19th Oct 2006 04:49 AM
Configure a console application to a Windows Service tdavisjr Microsoft C# .NET 1 3rd Mar 2006 12:58 AM
Difference between using service and console application Henry Chen Microsoft Dot NET 1 3rd Jun 2004 10:27 AM
Console vs Service Application William Bartholomew Microsoft Dot NET Framework 4 17th Sep 2003 09:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:01 AM.