Keep software running

  • Thread starter Thread starter cbrown
  • Start date Start date
C

cbrown

I am looking for a method (maybe even a commercially available piece of
software) to watch a program and ensure that it is always running. If
it is killed in task manager, it will automatically start it up again,
etc, etc.
 
I am looking for a method (maybe even a commercially available piece of
software) to watch a program and ensure that it is always running. If
it is killed in task manager, it will automatically start it up again,
etc, etc.

\\\
Do
Dim p As Process = Process.Start("C:\foo.exe")
p.WaitForExit();
Loop While True
///
 
I am looking for a method (maybe even a commercially available piece of
software) to watch a program and ensure that it is always running. If
it is killed in task manager, it will automatically start it up again,
etc, etc.

Yeah... I had some spyware that did exactly that. Basically, a "helper" app
monitored the list of processes and the Run registry key. If that junk
spyware was removed from either place, that helper would re-create the reg
entry and restart the spyware... Plus, the spyware monitored the helper app
so it was protected in the same way.... argghhhh. Getting rid of the whole
mess took a while and if you add this functionality to your app, hopefully,
you'll be kind enough to warn people about it. At least, that way they can
say "Nah... not for me" or "Cool.. glad its protected".
 
Actually its for a Magnetic Card reading application where users only
have access to reboot the system, which would be a pain if the reader
crashed for any reason. So I need to monitor it to keep it running.

I am with you on the spyware though. Waste of programming and talent.
 
Actually its for a Magnetic Card reading application where users only
have access to reboot the system, which would be a pain if the reader
crashed for any reason. So I need to monitor it to keep it running.

I am with you on the spyware though. Waste of programming and talent.

Boy... you're right about that <g> One of the worst messes I've seen at here
work was on the owners PC (figures... it's just a web enabled type-writer to
him)... what it did was change the registry association for exe's to some
invalid setting. Needless to say, no exe's would run... not even Windows.
That was a barrel of laughs to fix (without losing data), I tell ya'
 
If you don't want to build an app, I think you can do some of this if your
watching a service.... check out the "recovery" tab in service manager.
 
Ken,

Actually I have helped this week somebody to get rid of that.

I saw that virus/trojan for the first time, it is awful.

While it is pointing to existing websites.

I don't understand why those owners of those websites are not prosecuted.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top