Jump to content

prevent the script/process from being killed or deleted..?


 Share

Recommended Posts

Is there anyway to prevent your script/process from being killed or deleted at all..??

so when the process is running it cant be killed or deleted at all..

Is anything like that possible at all using AutoIt..??

huh , do you ask for a script delete it self ..?? watch there .

http://www.autoitscript.com/forum/index.php?showtopic=37289

>>>>>Q12. How can I have the script delete itself?

Edited by Xav
Link to comment
Share on other sites

No hes obviously trying to make a malicious autoit script wich isn't allowed here.

ohh well that's bad! :)

Brefft , The host is off...

You are all making assumptions. Let the OP talk before you start making accusations...

Cheers,

Brett

Link to comment
Share on other sites

My opinion:

Whether he is using this for a malicious script or not, if he doesn't find the answer for what he needs on these forums, he'll find them somewhere else anyway.

If you want to try and cloak the process or something, your best bet would be to write a system driver to do it I believe.

Or, you could try a simpler, less effect method such as:

Run 2 scripts.

In the main loop of each script, check if the other script is running.

E.g Script1.exe

;Main loop
While 1
      If Not ProcessExists(Script2.exe) Then Run (Script2.exe)
Wend

E.g Script2.exe

;Main loop
While 1
      If Not ProcessExists(Script1.exe) Then Run (Script1.exe)
Wend

This can still be bypassed with TaskKill, but If you're only using the script for basic purposes / non-malicious , I doubt that would matter.

Edited by Dampe
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...