473,402 Members | 2,072 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Launch an application from a service

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?
May 29 '07 #1
3 1367
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

"ra****@newsgroups.nospam"
<ra********************@discussions.microsoft.comw rote in message
news:14**********************************@microsof t.com...
>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?

May 29 '07 #2
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/is...ecurityBriefs/

"Kevin Spencer" wrote:
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

"ra****@newsgroups.nospam"
<ra********************@discussions.microsoft.comw rote in message
news:14**********************************@microsof t.com...
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?


May 30 '07 #3

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/is...ecurityBriefs/

"Kevin Spencer" wrote:
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

"ra****@newsgroups.nospam"
<ra********************@discussions.microsoft.comw rote in message
news:14**********************************@microsof t.com...
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?


May 30 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jean-Michel | last post by:
Hi, I'd like to launch a local application with a HTML page without any user popup validation, just a user click. I know that I can do it with a applet, ActiveX or a flash but I'd like manage it...
1
by: Michael Howes | last post by:
I have a c# windows form that talks to a web service on a server that then can talk to multiple "agents" on different machines using web service calls. I want to be able to launch an application...
13
by: Ole Hanson | last post by:
Hi I am in need of a way to launch my WinForms-app (app.exe) just by pressing a keyboard combination like (Ctrl-Alt-P). This functionality should be present "out of the box" after the app...
5
by: GrantS | last post by:
Hi I am trying to use ShellExecute to launch an application to display a certain file. The variation on the theme is that I need to be able to specify the application to launch and not simply...
1
by: pberna | last post by:
Dear all, I possible to create a web service that launch a Windows Graphics .exe application (like notepad.exe, for example) installed on a remote server though a Web Service. If yes, what are...
4
by: Joe | last post by:
I created a CustomAction for this but I don't think I have it in the right place. I tried both Install and Commit but neither allow it to get to the final screen. Are there any examples of this...
1
by: Fabio R. | last post by:
Hi, I have a windows service that do some check every hour, calling a webservice in my app. Now I need to upload my app on a shared hosting and I can't install my windows service, so I need...
7
by: dongarbage | last post by:
Hi there, I'm very new to activex controls and c# programming. I'm writing a c# application and I want it to be invoked when my users click a button on a web page. Its an application with a...
2
by: =?Utf-8?B?Sm9uIEphY29icw==?= | last post by:
Not only does the "solution" have a service app and installer, it has a Tray Icon app that allows a user to send custom commands to the service. The installer launches the service and the tray...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.