aquasw
asked on
Unable to execute external GUI program from Windows service
Hi,
I have a Java server application that should run on a remote computer and receive control messages from a client. When the message is received, server should execute an external command like opening a notepad. In general the application is used for testing and all GUI operations will be done through the Autoit3 application.
I have converted my server application into a windows service using Java Service Wrapper by http://wrapper.tanukisoftware.org.
After running successfully the service I can communicate with it from the remote client, the commands are being executed but all GUI related operations (like opening notepad) are not happening. When I am running this on a local machine everything works fine. The machine that runs the server is logged using user that has administrator rights. For the windows service I have set the "allow service to interact with desktop" option, so this is not the problem here.
--
Thanks in advance for the help
I have a Java server application that should run on a remote computer and receive control messages from a client. When the message is received, server should execute an external command like opening a notepad. In general the application is used for testing and all GUI operations will be done through the Autoit3 application.
I have converted my server application into a windows service using Java Service Wrapper by http://wrapper.tanukisoftware.org.
After running successfully the service I can communicate with it from the remote client, the commands are being executed but all GUI related operations (like opening notepad) are not happening. When I am running this on a local machine everything works fine. The machine that runs the server is logged using user that has administrator rights. For the windows service I have set the "allow service to interact with desktop" option, so this is not the problem here.
--
Thanks in advance for the help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.