Link to home
Start Free TrialLog in
Avatar of YZlat
YZlatFlag for United States of America

asked on

Enable windows service to interact with desktop

What's the best way to ebanle windows service to interact with desktop?

I need to do it programmatically. My windows service needs to open a windows application that has an inteface and the interface needs to be visible to the user
Avatar of ded_ch
ded_ch
Flag of United States of America image

Inside the provperties of a service where you enter the account under which the service runs, is an option "allow service to interact with desktop".
This will hovewer only work with the local system account.

Since this is a registry option that is set for this service, I guess you should be able to set it when installing the service. Use regmon or something to find the specific registry key.
Avatar of YZlat

ASKER

do you know which registry key do I need to set?
ASKER CERTIFIED SOLUTION
Avatar of ded_ch
ded_ch
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial