AztroBoy Posted February 23, 2010 Report Share Posted February 23, 2010 Hi everyone!I just made a registry entry that runs a .bat file as soon as someone logs into Windows. I made it cause I'm running a Java service that should start everytime the PC starts over from an unexpected shutdown (should be always UP).I would like to know if it's possible to run that same .bat file at the login screen. Let's say as the same way the Apache Server (in WAMP or AppServ) works: when the PC starts and you're at the login screen, Apache is already running!.I've looked for this topic, and as far as I understand the way this works, it looks like I need to run such .bat file as a service. Any ideas?Thanks in advance Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted February 24, 2010 Report Share Posted February 24, 2010 A batch file as a service??? What does it do - start your Java service? Then why not just automatically start your Java application as a service? Quote Link to comment Share on other sites More sharing options...
AztroBoy Posted February 24, 2010 Author Report Share Posted February 24, 2010 A batch file as a service??? What does it do - start your Java service? Then why not just automatically start your Java application as a service?Yes. I guess you're right: if I'm able to start a service, it would be the Java app.Still, how do I run the Java app as a service on the Login Screen? Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted February 25, 2010 Report Share Posted February 25, 2010 I still do not understand - why at the "login screen", and not at Windows startup?What does that Java app do? Quote Link to comment Share on other sites More sharing options...
Brainiac Posted May 7, 2010 Report Share Posted May 7, 2010 Well the only way i could done it ,was using a software Fire Daemon Trinity ,it can place every executable as Service and provides many check features like if Service fails ,start it again or whatever . 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.