Re: Make a program unkillalbe

From: Les Pawelczyk (lechp_at_sympatico.ca)
Date: 12/31/03


Date: Wed, 31 Dec 2003 02:29:16 -0500


> Build two applications, LEFT.EXE and RIGHT.EXE.
>
> LEFT and RIGHT monitor for each other, and if the other doesn't exist, it
is
> started.
>
> Have the check happen every 10th of a second or so. It's practically
> impossible to kill two processes in that short of timeframe.

Very devious. You might not be able to stop two processes manually
simultaneously, but there are third party utilities (kill.exe) that can be
put in the batch (BAT) file to kill two applications much faster than in
10th of the second. Also, many people reading this newsgroup are quite
capable of quickly writing their own utility to kill multiple processes at
once. Most of them are able to rename 'left.exe' and 'right.exe' by making
use of 'MoveFileEx' API call that includes MOVEFILE_DELAY_UNTIL_REBOOT in
dwFlags. There is another way: Create a batch file that will rename (or
delete) both 'left.exe' and 'right.exe' into something like 'left.tmp' and
'right.tmp' and create an entry for that batch file in
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce and
then restart the computer.

Les.



Relevant Pages

  • Re: /sigh/ Latops in a domain...
    ... If you want to launch two applications before the logon screen appears, ... applications and make the batch file as Startup scripts. ... >> You may add all laptop users to a Group in AD, ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Unkillable Processes (End Process doesnt work in Task Manager
    ... and also Adobe applications. ... kill, and other command line kill process applications, and nothing will shut ... when you copy data from Internet Explorer and paste it into Word, ... Firefox, on the other hand, does what I ...
    (microsoft.public.windowsxp.general)
  • Re: Stealing from the BBC
    ... If you close iPlayer, the BT service still runs. ... So, what I have is a small batch file that I use to kill iPlayer, rather ... doc and just opens in Word when I click it ... Once this happens you have a working batch file. ...
    (uk.media.tv.misc)
  • Re: /sigh/ Latops in a domain...
    ... >> If you want to launch two applications before the logon screen appears, ... >> applications and make the batch file as Startup scripts. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Unkillable Processes (End Process doesnt work in Task Manager
    ... and also Adobe applications. ... kill, and other command line kill process applications, and nothing will shut ... process that appeared to originate from Norton Internet Security. ... Firefox, on the other hand, does what I ...
    (microsoft.public.windowsxp.general)