Application as Service - Desktop interaction in Windows Vista

Windows Vista has several security features that can make using "Interaction with desktop" feature problematic. The problem is that Interactive Services Detection service is disabled by default in Windows Vista. So, interactive services are no longer immediately visible when you install them.

In order to solve this problem, please, enable and start Interactive Services Detection service by typing the following two commands at a command prompt:

sc config UI0Detect start= auto

net start UI0Detect

By the way, you are able to change startup type of UI0Detect service to "Automatic" with the help of our Application as Service using Service tab.

Now when you run interactive services, you will see the Interactive Services Detection dialog popup. If you click on "Show me the message" you will be switched to your application (note, that console applications will not trigger the popup):




After you click on "Show me the message" you will be switched to your application which is launched as service:



Note, that all the procedure of enabling and starting Interactive Services Detection service can be used in Windows Server 2008 as well.