Launch an application from a service

G

Guest

I need to launch an application that interacts with the desktop from a
service. The catch is I need it to work at the CTRL-ALT-DEL screen when
nobody is logged in. How can I accomplish this?
 
K

Kevin Spencer

You can't. There is no desktop until a user logs in.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"(e-mail address removed)"
 
G

Guest

Its possible in unmanaged world. i am not sure it's duable in .NET Framework.
Ideally it can be. Its complicated. ( Services start in system context, so
is the .NET framework. User does not need to be logged on )

You can launch applications in System context.
Scope of what these applications have access to may be limited. For example
if you want to write to registry hive under a user account.

This article may be a good starting point.
http://msdn.microsoft.com/msdnmag/issues/05/05/SecurityBriefs/
 
G

Guest

Its possible in unmanaged world. i am not sure it's duable in .NET Framework.
Ideally it can be. Its complicated. ( Services start in system context, so
is the .NET framework. User does not need to be logged on )

You can launch applications in System context.
Scope of what these applications have access to may be limited. For example
if you want to write to registry hive under a user account.

This article may be a good starting point.
http://msdn.microsoft.com/msdnmag/issues/05/05/SecurityBriefs/
 

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