I want to create a service that starts an application, everything is installed and starts ok but I don't see the application. I tried just having it start calc.exe and it shows that it is running in the processes but I can't see it otherwise. The service is running under my id, I tried switching this to run under the SYSTEM account but it didn't work either. Any ideas? Thanks. Mark
Mark wrote: > I want to create a service that starts an application, everything is > installed and starts ok but I don't see the application. I tried just > having it start calc.exe and it shows that it is running in the processes > but I can't see it otherwise. The service is running under my id, I tried > switching this to run under the SYSTEM account but it didn't work either. > Any ideas? Thanks. > > Mark Services don't run on the same desktop as the logged on user. In fact the logon desktop itself is separate. Consider terminal services, when many logon, perhaps using the same username, but each has their own desktop. Consider when your service starts this application, will anyone even be logged in? Will there be a place to display your application window?
Open the Services console from the Admin. Tools in control panel. Find your service and double click on it. Set it to run as System, and check the box Allow interaction with desktop. HTH Andy