Launch an application from a service

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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)"
 
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/
 
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/
 
Back
Top