David2DC Posted March 1, 2006 Report Share Posted March 1, 2006 I am running a web application on a Windows server 2003 Professional. The application normally starts by clicking a .bat file and then there is console window pops up. The application prints some messages (including any error messages) in the console window that I need to know. Now my boss asked me to start this application as a Windows service so that the application gets started automatically each time the machine starts. I created a Windows service by using a tool called Any2Service. Now I start the machine and the application indeed gets started. However, I cannot see the application messages because there is no pop-up console window. My question is: How can I enable such a pop-up console window for the application? Or where can I find the messages from this application on the machine. I checked out Event Viewer but it is not helpful.Thanks!-David Quote Link to comment Share on other sites More sharing options...
David2DC Posted March 1, 2006 Author Report Share Posted March 1, 2006 I found one. Go to the service's Properties window. Select Log On tab. Check allow service to interact with desktop. The a windows console pops up each time the service get started.It is that simple. Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted March 2, 2006 Report Share Posted March 2, 2006 Hello, and welcome to the Windows Forum!And thank you for the feedback on your own question - I didn't know that, so I learned something new today :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.