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:
- there may no logged in user
- there may multiple logged in users using fast user switching or remote desktop
- the application on user desktop running in user's security context, not service's
Comments
Post a Comment