wrapper.ntservice.interactive

Compatibility :3.0.0
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSX (Not Supported)Linux (Not Supported)IBM AIX (Not Supported)FreeBSD (Not Supported)HP-UX (Not Supported)Solaris (Not Supported)IBM z/OS (Not Supported)IBM z/Linux (Not Supported)

WARNING

DO NOT modify the value of this property while an application using the configuration file has been installed as a Windows Service. Please uninstall the existing service BEFORE modifying this property. The service with the new value can then be safely reinstalled later.

This property is only used on Windows platforms.

Setting this property to TRUE will make it possible for the service to display a GUI and have access to the desktop when run as a service. The default value is "FALSE", or "a non-interactive service".

Example:
wrapper.ntservice.interactive=FALSE

WARNING

Prior to Java version 1.4.0:

Java Service Wrapper version 3.4.x or later support JVM version 1.4.x and above.

Due to the way versions of Java prior to 1.4.0 handle the displaying of Windows, their GUI may not be visible when running as a Windows Service with this interactive property set. To enable the GUI on these JVMs, you will also need to set the wrapper.ntservice.hide_console property to TRUE. Please review the wrapper.ntservice.hide_console documentation before setting it.

NOTE

Starting with Windows Vista and Server 2008, Microsoft changed the way services are allowed to interact with the desktop. They decided that for security reasons, services are now only allowed to show their GUI on a special desktop that only the service can interact with. Unfortunately, this makes interactive features pretty much useless. We are looking into ways to display a GUI in a different way. Stay tuned.

If you do a search on the Internet with keywords of "Interactive services dialog Vista", you will find a number of references to the way Windows will display a dialog on the user desktop whenever a service has updated into GUI on the services desktop.

There are some important security reasons why this was disabled in Windows. But if you really need to reenable this functionality, it is possible to do so by editing the Windows Registry and setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows\NoInteractiveServices to 0. Always be very careful editing the registry as you can easily mess up your system by changing the wrong values.

NOTE

On Windows XP, it is possible for multiple users to be logged in locally at the same time. Windows Services only have access to the desktop of the first user.

Desktops created with the Remote Desktop tool do not appear to ever be accessible by interactive services. Other tools which are actually mirroring the local desktop will have access as Windows thinks it is rendering the local desktop.

NOTE

This property must be set to FALSE if the service is configured to run using a specific account in the wrapper.ntservice.account property.

NOTE

Changes on this property will not take effect until the Windows Service is reinstalled.

Reference: Account

Reference: Console