Running an exe from windows service that interacts the the user's desktop -


i've created windows service in c# , windows server 2003. service able run exe file windows forms application. when start service - runs other application cannot see it. when open task manager - can see application running cannot see it. have checked "allow service interact desktop" nothing happens. please help. possible run , exe within windows service , see exe running in widnows server 2003?

showing ui windows service problematic because service may running on different desktop user (and on vista/server 2008 in fact run on different desktop).

the easiest solution run ui not directly service application running on user's desktop (maybe set run @ login) communicate service somehow.

just remember:

  1. there may no logged in user
  2. there may multiple logged in users using fast user switching or remote desktop
  3. the application on user desktop running in user's security context, not service's

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -