HOW: Starting a service/process that cannot be stopped/ended.
I have seen some processes/services that cannot be stopped (complains of invalid access) and I want to emulate it, could you guys point me to the right direction to take?
Re: HOW: Starting a service/process that cannot be stopped/ended.
This has been asked many times in this forum. Just search for it and you will find a lot many of them.
Pradeep :)
Re: HOW: Starting a service/process that cannot be stopped/ended.
Re: HOW: Starting a service/process that cannot be stopped/ended.
That can be valuable but I find it awkward to name my application as such... :( Is there any other way?
Re: HOW: Starting a service/process that cannot be stopped/ended.
Couldnt you just check out the QueryUnload closing argument and see if its vbTaskManager and prompt some kind of password input form?
Re: HOW: Starting a service/process that cannot be stopped/ended.
Quote:
Originally Posted by RobDog888
Couldnt you just check out the QueryUnload closing argument and see if its vbTaskManager and prompt some kind of password input form?
End Process wouldn't be detected by QueryUnload... :(
Re: HOW: Starting a service/process that cannot be stopped/ended.
I am still after this. My idea is to initiate another process and those process would 'monitor' each other such that when one is killed then the other one will just re-start it, I am contemplating on how should I go about this and would like to have your opinions.
Re: HOW: Starting a service/process that cannot be stopped/ended.
Doesn't Windows have a set as service option?
Edit:
Does this help?
Windows NT/2000:
http://support.microsoft.com/kb/137890
Windows NT/2000/XP/2003:
http://www.tacktech.com/display.cfm?ttid=197
Re: HOW: Starting a service/process that cannot be stopped/ended.
Thanks but I already know how to start a service using srvany but I am encountering some odd behavior with the application when it is turned into a service so I am still looking for alternatives.
Re: HOW: Starting a service/process that cannot be stopped/ended.
Make sure all your user interface controls / forms etc are removed... services don't like them..
Have you tried to attach the debugger to see whats going on?
We have a similar setup where our service mysteriously stops when the backup is running... we also have a monitoring service that restarts the failed service.