Note that the FireDaemon Pro installer enables the UI0Detect service plus allows you to switch to the Session 0 desktop via the FireDaemon GUI or CLI.
Also check out the FireDaemon Session 0 Viewer. It supersedes the method of switching to and remaining on Session 0 as outlined below.
Windows Vista introduced us to the concept of Session 0 Isolation. This was in response to the need to isolate highly privileged service applications from malicious
applications running in user space. These malicious applications would attempt to inject arbitrary code via into the service application via the application's
message loop. These attacks are classified as shatter attacks.
The net effect of this is that interactive Windows services are only available on Session o (or the Console session). When you log on to your Vista,
2008 or Windows 7 machine you now no longer login to Session 0 but into Session 1. Session 0 Isolation becomes problematic when attempting
to run applications under FireDaemon as the interactive component (ie. the application's "visible" GUI) is no longer
visible on the currently logged on session. Luckily Microsoft supplies the Interactive Services Detection Service on Windows Vista,
2008 and 7 to allow you access to Session 0 so you can interact with any interactive services (including FireDaemon ones) running on that session.
Enabling the Interactive Service Detection Service (UI0Detect - that's UI "zero" Detect) is completed fastest at the command line. You will need to
be an administrator to do this. Open an elevated command prompt and type:
sc config ui0detect start= auto
sc start ui0detect
Once that is done you will notice the Interactive Services Detection popup in the Task Bar:
This dialog can be annoying and is easily dismissed by clicking on Ask me later. The problem then arises on how to switch to the Session
0 desktop when the Interactive Services Detection popup is not present? There are two undocumented system calls available which allow you to switch
to and from Session 0: WinStationSwitchToServicesSession and WinStationRevertFromServicesSession. These two system calls only work
if the Interactive Services Detection service is running. To switch to Session 0 enter the following at a command prompt:
Windows will switch desktop and you will find yourself on Session 0. You can then revert back to your logged in session by clicking on Return now or entering the following at a command prompt: