Question: Is there a way to make a program run with out logging in that doesn’t involve the long painful task of creating a windows service, or is there an easy way to make a simple service?
Info: I’m working on a little project for college which is a simple distributed processing program. I’m going to harness the computers on campus that are currently sitting completely idle and make my own little super computer. but to do this I need the client running on my target machines.
Through a little mucking around on the internet I find that what I need is a service, I also find that this isn’t something quite as simple as making a scheduled task or dropping a .bat file into the start up folder.
I don’t need a lot. if I could just get it to call “python cClient.py” i’m completely set. Is there an easy way to do this? like adding a key in the registry some where? or do I have to go through the whole song and dance ritual that microsoft has made for setting up a service?
If you already have the executable you wish to run as a service you can use “sc” built into the OS already. Microsoft details the procedure here: http://support.microsoft.com/kb/251192